public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] fix dirent/dirent.h redirect
@ 2000-01-18  8:38 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2000-01-18  8:38 UTC (permalink / raw)
  To: libc-hacker

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)
___________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-18  8:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-18  8:38 [PATCH] fix dirent/dirent.h redirect Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).