[PATCH] cygwin: export wmempcpy

2017-11-29 Thread Yaakov Selkowitz
Signed-off-by: Yaakov Selkowitz --- Obviously this depends on the newlib implementation patch. winsup/cygwin/common.din | 1 + winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/doc/posix.xml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a

Re: [PATCH 1/2] cygwin: add Object Size Checking to sys/poll.h

2017-11-29 Thread Corinna Vinschen
On Nov 29 11:45, Yaakov Selkowitz wrote: > Signed-off-by: Yaakov Selkowitz > --- > winsup/cygwin/include/ssp/poll.h | 26 ++ > winsup/cygwin/include/sys/poll.h | 4 > 2 files changed, 30 insertions(+) > create mode 100644 winsup/cygwin/include/ssp/poll.h > > diff -

[PATCH 2/2] cygwin: add Object Size Checking to sys/socket.h

2017-11-29 Thread Yaakov Selkowitz
Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/include/ssp/socket.h | 20 winsup/cygwin/include/sys/socket.h | 4 2 files changed, 24 insertions(+) create mode 100644 winsup/cygwin/include/ssp/socket.h diff --git a/winsup/cygwin/include/ssp/socket.h b/winsup/cygwi

[PATCH 1/2] cygwin: add Object Size Checking to sys/poll.h

2017-11-29 Thread Yaakov Selkowitz
Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/include/ssp/poll.h | 26 ++ winsup/cygwin/include/sys/poll.h | 4 2 files changed, 30 insertions(+) create mode 100644 winsup/cygwin/include/ssp/poll.h diff --git a/winsup/cygwin/include/ssp/poll.h b/winsup/cygwin/i

Re: [PATCH] Initialize IO_STATUS_BLOCK for pread, pwrite

2017-11-29 Thread Corinna Vinschen
On Nov 29 13:36, Corinna Vinschen wrote: > On Nov 29 13:04, Corinna Vinschen wrote: > > - If you do async IO, you have to handle STATUS_PENDING gracefully: > > > > - The IO_STATUS_BLOCK given to NtWriteFile *must* exist for the > > entire time the operation takes after NtWriteFile returned >

Re: [PATCH] Initialize IO_STATUS_BLOCK for pread, pwrite

2017-11-29 Thread Corinna Vinschen
On Nov 29 13:04, Corinna Vinschen wrote: > - If you do async IO, you have to handle STATUS_PENDING gracefully: > > - The IO_STATUS_BLOCK given to NtWriteFile *must* exist for the > entire time the operation takes after NtWriteFile returned > STATUS_PENDING. An IO_STATUS_BLOCK fhandler m

Re: [PATCH] Initialize IO_STATUS_BLOCK for pread, pwrite

2017-11-29 Thread Corinna Vinschen
On Nov 29 03:27, Mark Geisert wrote: > On Wed, 29 Nov 2017, I wrote: > > I added the printf()s and, what do you know, it shows all the NtWriteFile()s > > That's an American English idiom and is not meant to be taken literally. > It's like "How about tha

Re: [PATCH] Initialize IO_STATUS_BLOCK for pread, pwrite

2017-11-29 Thread Corinna Vinschen
On Nov 29 02:25, Mark Geisert wrote: > Corinna Vinschen wrote: > > On Nov 28 02:28, Mark Geisert wrote: > > > Corinna Vinschen wrote: > > > > On Nov 28 00:03, Mark Geisert wrote: > > > > > Oops, I neglected to include an explanatory comment. Issuing > > > > > simultaneous > > > > > pwrite(s) on on

Re: [PATCH] Initialize IO_STATUS_BLOCK for pread, pwrite

2017-11-29 Thread Mark Geisert
On Wed, 29 Nov 2017, I wrote: I added the printf()s and, what do you know, it shows all the NtWriteFile()s That's an American English idiom and is not meant to be taken literally. It's like "How about that?" or "Can you believe it?". Perhaps y'all k

Re: [PATCH] Initialize IO_STATUS_BLOCK for pread, pwrite

2017-11-29 Thread Mark Geisert
Corinna Vinschen wrote: On Nov 28 02:28, Mark Geisert wrote: Corinna Vinschen wrote: On Nov 28 00:03, Mark Geisert wrote: Mark Geisert wrote: --- winsup/cygwin/fhandler_disk_file.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/fhandler_disk_file.cc b