linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* this adds lseek64 to klibc
@ 2004-07-15  9:09 Harald Hoyer
  2004-07-15 15:50 ` H. Peter Anvin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Harald Hoyer @ 2004-07-15  9:09 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 24 bytes --]

+#define lseek64 llseek

[-- Attachment #2: udev-029-lseek64.patch --]
[-- Type: text/x-patch, Size: 492 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: this adds lseek64 to klibc
  2004-07-15  9:09 this adds lseek64 to klibc Harald Hoyer
@ 2004-07-15 15:50 ` H. Peter Anvin
  2004-07-15 17:37 ` Harald Hoyer
  2004-07-15 17:41 ` H. Peter Anvin
  2 siblings, 0 replies; 4+ messages in thread
From: H. Peter Anvin @ 2004-07-15 15:50 UTC (permalink / raw)
  To: linux-hotplug

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_id\x10040&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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: this adds lseek64 to klibc
  2004-07-15  9:09 this adds lseek64 to klibc Harald Hoyer
  2004-07-15 15:50 ` H. Peter Anvin
@ 2004-07-15 17:37 ` Harald Hoyer
  2004-07-15 17:41 ` H. Peter Anvin
  2 siblings, 0 replies; 4+ messages in thread
From: Harald Hoyer @ 2004-07-15 17:37 UTC (permalink / raw)
  To: linux-hotplug

H. Peter Anvin wrote:
 > Harald Hoyer wrote:
 >
 >> +#define lseek64 llseek
 >
 > 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
 >

Sorry, this was just a quickfix to compile one of the udev "extras" utilities... a grep will show 
which one and maybe the app should be fixed...


-------------------------------------------------------
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_id\x10040&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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: this adds lseek64 to klibc
  2004-07-15  9:09 this adds lseek64 to klibc Harald Hoyer
  2004-07-15 15:50 ` H. Peter Anvin
  2004-07-15 17:37 ` Harald Hoyer
@ 2004-07-15 17:41 ` H. Peter Anvin
  2 siblings, 0 replies; 4+ messages in thread
From: H. Peter Anvin @ 2004-07-15 17:41 UTC (permalink / raw)
  To: linux-hotplug

Harald Hoyer wrote:
> H. Peter Anvin wrote:
>  > Harald Hoyer wrote:
>  >
>  >> +#define lseek64 llseek
>  >
>  > 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
>  >
> 
> Sorry, this was just a quickfix to compile one of the udev "extras" 
> utilities... a grep will show which one and maybe the app should be 
> fixed...

Probably; after all you presumably are compiling with 
-D_FILE_OFFSET_BITSd anyway, right?

	-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_id\x10040&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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-15 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15  9:09 this adds lseek64 to klibc Harald Hoyer
2004-07-15 15:50 ` H. Peter Anvin
2004-07-15 17:37 ` Harald Hoyer
2004-07-15 17:41 ` H. Peter Anvin

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 NNTP newsgroup(s).