Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH v3] Make zpty module work in the cygwin and msys2
- X-seq: zsh-workers 47843
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Peiyuan Song <squallatf@xxxxxxxxx>
- Subject: Re: [PATCH v3] Make zpty module work in the cygwin and msys2
- Date: Mon, 18 Jan 2021 19:56:51 +0900
- Archived-at: <https://zsh.org/workers/47843>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-01/471C3A77-A559-48F9-B552-1F5C8463FD20%40kba.biglobe.ne.jp>
- In-reply-to: <CAH+w=7a7HaB=5M_=tWwJt7L0ak+Mimb0iL0XoJ9Hxuh_W7yM7w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAE0YKFtwinQfxxnY1x=YGPg+cxzjA0=d+W0OW8S6SQH6mYqgjQ@mail.gmail.com> <5444AEBC-5A8F-438E-89C6-21EB5741E22D@kba.biglobe.ne.jp> <CAH+w=7a7HaB=5M_=tWwJt7L0ak+Mimb0iL0XoJ9Hxuh_W7yM7w@mail.gmail.com>
> 2021/01/18 16:17, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Sun, Jan 17, 2021 at 9:43 PM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>>
>> As you can see, 'sortnobslash/foo' (instead of 'sortnobslash/\foo') is created
>> by the touch command.
>> I guess '\' is not allowed in a filename on Cygwin.
>
> Forward slash and backslash are equivalent as directory separators in
> Cygwin, I believe.
Yep, thanks.
So we can just skip the test on cygwin.
BTW, the title '[PATCH v3] Make zpty module work in the cygwin and msys2'
suggests that the patch will also work on msys2. Is this true?
I guess __CYGWIN__ is also #defined in gcc on msys2, but CYGWIN_VERSION_DLL_MAJOR
may not be defined (I haven't yet tested on msys2).
Is movefd() on msys2 broken or not?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author