bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pread, yet another tweak


From: Jim Meyering
Subject: pread, yet another tweak
Date: Wed, 25 Nov 2009 17:44:57 +0100

Hi Rich,

I'll push this shortly:

diff --git a/lib/pread.c b/lib/pread.c
index 632b914..7094ea7 100644
--- a/lib/pread.c
+++ b/lib/pread.c
@@ -23,6 +23,7 @@

 #define __libc_lseek(f,o,w) lseek (f, o, w)
 #define __set_errno(Val) errno = (Val)
+#define __libc_read(f,b,n) read (f, b, n)

 /* pread substitute for systems that the function, such as mingw32 and BeOS.  
*/
 /* The following is identical to the function from glibc's




reply via email to

[Prev in Thread] Current Thread [Next in Thread]