[PATCH] fix dirent/dirent.h redirect
Jakub Jelinek
jakub@redhat.com
Tue Jan 18 08:38:00 GMT 2000
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)
___________________________________________________________________
More information about the Libc-hacker
mailing list