rmdir: improvement for emptiness check

2017-08-06 Thread Simon
Dear list, when deleting a directory, cygwin checks if the directory is empty. When doing so, it skipped every second file found in that directory (note the repetition of the line "pfni = ...NextEntryOffset"). This is a problem when, e.g., there are two files in that directory and the first one

Define sigsetjmp/siglongjmp only if __POSIX_VISIBLE

2017-08-06 Thread Ken Brown
The attached patch fixes the issue reported here: https://cygwin.com/ml/cygwin/2017-08/msg00060.html I'm not sure if I was correct in including RTEMS or if this should have been Cygwin only. If the former, I probably should have sent this to the Newlib list. Ken From

Re: Define sigsetjmp/siglongjmp only if __POSIX_VISIBLE

2017-08-06 Thread Ken Brown
On 8/6/2017 5:46 PM, Ken Brown wrote: The attached patch fixes the issue reported here: https://cygwin.com/ml/cygwin/2017-08/msg00060.html I'm not sure if I was correct in including RTEMS or if this should have been Cygwin only. If the former, I probably should have sent this to the