Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH v3] Make zpty module work in the cygwin and msys2



> 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