Re: read on MSVC

2011-09-24 Thread Bruno Haible
> * lib/read.c (read_nothrow): New function. Oops, that was slightly wrong. 2011-09-24 Bruno Haible read: Fix last commit. * lib/read.c (read_nothrow): Change return type to 'ssize_t'. --- lib/read.c.orig Sat Sep 24 16:43:04 2011 +++ lib/read.c Sat Sep 24 16:36:

read on MSVC

2011-09-23 Thread Bruno Haible
The read() function is also affected by the invalid parameter handler on MSVC 9. The workaround comes here: 2011-09-23 Bruno Haible read: Support for MSVC 9. * lib/unistd.in.h (read): Replace also when GNULIB_UNISTD_H_NONBLOCKING is not 1. * lib/read.c (read_no