[Glibc-bsd-commits] r2033 - trunk/glibc-ports/kfreebsd

ps-guest at alioth.debian.org ps-guest at alioth.debian.org
Fri Nov 16 20:51:32 UTC 2007


Author: ps-guest
Date: 2007-11-16 20:51:32 +0000 (Fri, 16 Nov 2007)
New Revision: 2033

Modified:
   trunk/glibc-ports/kfreebsd/open.c
Log:
* one more plt entry down



Modified: trunk/glibc-ports/kfreebsd/open.c
===================================================================
--- trunk/glibc-ports/kfreebsd/open.c	2007-11-16 18:50:55 UTC (rev 2032)
+++ trunk/glibc-ports/kfreebsd/open.c	2007-11-16 20:51:32 UTC (rev 2033)
@@ -25,8 +25,6 @@
 #include <sys/time.h>
 #include <sysdep-cancel.h>
 
-extern int futimes (int fd, const struct timeval tvp[2]);
-
 int
 __libc_open (const char *file, int oflag, ...)
 {
@@ -67,7 +65,11 @@
 	      tv[0].tv_sec = statbuf.st_atime;
 	      tv[0].tv_usec = 0;
 
+#ifdef NOT_IN_libc
 	      futimes (fd, tv);
+#else
+	      __futimes (fd, tv);
+#endif
 	    }
 	}
       __set_errno (saved_errno);




More information about the Glibc-bsd-commits mailing list