X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fread.c;h=d125b51a5e39584f11c845656b82e3a9a5ed9bc9;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=98b78012dcbbb07aae61f23e22a4542c2df66b9b;hpb=7bad64eadf0456e71707c843b2c83a44951683f2;p=gnulib.git diff --git a/lib/read.c b/lib/read.c index 98b78012d..d125b51a5 100644 --- a/lib/read.c +++ b/lib/read.c @@ -1,5 +1,5 @@ /* POSIX compatible read() function. - Copyright (C) 2008-2011 Free Software Foundation, Inc. + Copyright (C) 2008-2014 Free Software Foundation, Inc. Written by Bruno Haible , 2011. This program is free software: you can redistribute it and/or modify @@ -34,10 +34,10 @@ # undef read # if HAVE_MSVC_INVALID_PARAMETER_HANDLER -static inline int +static ssize_t read_nothrow (int fd, void *buf, size_t count) { - int result; + ssize_t result; TRY_MSVC_INVAL {