2.2 compile error

Philip Blundell Philip.Blundell@pobox.com
Sun Jan 23 12:19:00 GMT 2000


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




More information about the Libc-hacker mailing list