This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] fix dirent/dirent.h redirect


Hi!

This patch is IMHO needed for both 2.1 and main trunk.
It is not as urgent as sys/mman.h fix was but anyway.
(I came to this by getting bitten by the mmap bug which Andreas already
fixed - I don't update my /usr/include every week).

2000-01-18  Jakub Jelinek  <jakub@redhat.com>

	* dirent/dirent.h (getdentries): Correct prototype to use __off64_t.

--- libc/dirent/dirent.h.jj	Fri Aug 20 17:20:44 1999
+++ libc/dirent/dirent.h	Tue Jan 18 17:01:33 2000
@@ -282,7 +282,7 @@ extern __ssize_t getdirentries __P ((int
 extern __ssize_t __REDIRECT (getdirentries,
 			     __P ((int __fd, char *__restrict __buf,
 				   size_t __nbytes,
-				   __off_t *__restrict __basep)),
+				   __off64_t *__restrict __basep)),
 			     getdirentries64);
 #  else
 #   define getdirentries getdirentries64

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.39 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]