This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

2.2 compile error


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]