>         * lib/read.c (read_nothrow): New function.

Oops, that was slightly wrong.


2011-09-24  Bruno Haible  <br...@clisp.org>

        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:28 2011
@@ -34,10 +34,10 @@
 # undef read
 
 # if HAVE_MSVC_INVALID_PARAMETER_HANDLER
-static inline int
+static inline ssize_t
 read_nothrow (int fd, void *buf, size_t count)
 {
-  int result;
+  ssize_t result;
 
   TRY_MSVC_INVAL
     {

-- 
In memoriam Sara Harpman 
<http://www.genealogieonline.nl/en/stamboom-harpman/I399.php>

Reply via email to