From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Date: Thu, 15 Jul 2004 15:50:09 +0000 Subject: Re: this adds lseek64 to klibc Message-Id: <40F6A7B1.20401@zytor.com> List-Id: References: <40F649B0.6020201@redhat.com> In-Reply-To: <40F649B0.6020201@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Harald Hoyer wrote: > +#define lseek64 llseek > > > ------------------------------------------------------------------------ > > diff -ur udev-029/klibc/klibc/include/unistd.h udev-029.new/klibc/klibc/include/unistd.h > --- udev-029/klibc/klibc/include/unistd.h 2004-07-02 20:17:03.000000000 +0200 > +++ udev-029.new/klibc/klibc/include/unistd.h 2004-07-06 15:11:05.144770448 +0200 > @@ -83,6 +83,7 @@ > __extern int close(int); > __extern off_t lseek(int, off_t, int); > __extern loff_t llseek(int, loff_t, int); > +#define lseek64 llseek > __extern int dup(int); > __extern int dup2(int, int); > __extern int fcntl(int, int, long); > What is this for? I'm not supporting the rest of the *64() functions, or rather, they're implicit as if you compiled with -D_FILE_OFFSET_BITSd on glibc; adding just one (and as a define, too!) is ugly. -hpa ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel