public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* 2.2 compile error
@ 2000-01-23 12:19 Philip Blundell
  0 siblings, 0 replies; only message in thread
From: Philip Blundell @ 2000-01-23 12:19 UTC (permalink / raw)
  To: libc-hacker

The current code in CVS does not compile for me.  I think a patch along these 
lines is needed:

Index: fxstat.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/fxstat.c,v
retrieving revision 1.1
diff -u -r1.1 fxstat.c
--- fxstat.c	2000/01/19 03:51:05	1.1
+++ fxstat.c	2000/01/23 20:19:20
@@ -53,7 +53,7 @@
       return INLINE_SYSCALL (fstat, 2, fd, (struct kernel_stat *) buf);
     }
 #if __ASSUME_STAT64_SYSCALL > 0
-  result = INLINE_SYSCALL (fstat64, 2, name, &buf64);
+  result = INLINE_SYSCALL (fstat64, 2, fd, &buf64);
   if (result == 0)
     result = xstat32_conv (vers, &buf64, buf);
   return result;
@@ -66,7 +66,7 @@
     {
       struct stat64 buf64;
 
-      result = INLINE_SYSCALL (fstat64, 2, name, &buf64);
+      result = INLINE_SYSCALL (fstat64, 2, fd, &buf64);
 
       if (result == 0)
 	result = xstat32_conv (vers, &buf64, buf);


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

only message in thread, other threads:[~2000-01-23 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-23 12:19 2.2 compile error Philip Blundell

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