[PATCH] cygwin: export strverscmp, add versionsort

2017-06-14 Thread Yaakov Selkowitz
Signed-off-by: Yaakov Selkowitz --- This depends on the newlib strverscmp patch. winsup/cygwin/common.din | 2 ++ winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/include/sys/dirent.h | 1 + winsup/cygwin/release/2.8.1| 2 ++ winsup/cygwin/scandir.cc

[PATCH] Compatibility improvement to reparse point handling, v3

2017-06-14 Thread Joe Lowe
3rd pass at reparse point handling patch. Changes to this version of the patch. 1. Refactored, smaller, less code impact. 2. readdir() and stat() consistency changes now also handle native file (non-directory) symbolic links. readir() returns DT_REG to match lstat() indicating a normal file.

Re: [PATCH] Export XSI sigpause

2017-06-14 Thread Corinna Vinschen
On Jun 14 10:45, Yaakov Selkowitz wrote: > There are two common sigpause variants, both of which take an int argument. > If you request _XOPEN_SOURCE or _GNU_SOURCE, you get the System V version, > which removes the given signal from the process's signal mask; otherwise > you get the BSD version, w

[PATCH] Export XSI sigpause

2017-06-14 Thread Yaakov Selkowitz
There are two common sigpause variants, both of which take an int argument. If you request _XOPEN_SOURCE or _GNU_SOURCE, you get the System V version, which removes the given signal from the process's signal mask; otherwise you get the BSD version, which sets the process's signal mask to the given

Re: [PATCH] readdir() with mount point dentry, return mount point INO

2017-06-14 Thread Corinna Vinschen
On Jun 13 11:12, Joe Lowe wrote: > > This patch fixes a minor compatibility issue w/ cygwin mount point handling > in readdir(), compared to equivalent behavior of Linux and MacOS. > dentry.d_ino should indicate the INO of the mount point itself, not the > target volume root folder. > > Changed r

Re: [PATCH] Feature test macros overhaul: Cygwin signal.h

2017-06-14 Thread Corinna Vinschen
On Jun 13 15:01, Yaakov Selkowitz wrote: > This should match newlib's . > > Signed-off-by: Yaakov Selkowitz > --- > winsup/cygwin/include/cygwin/signal.h | 26 +- > 1 file changed, 25 insertions(+), 1 deletion(-) ACK Thanks, Corinna -- Corinna Vinschen