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

Petr Salinger ps-guest at alioth.debian.org
Fri Jun 26 07:48:16 UTC 2009


Author: ps-guest
Date: 2009-06-26 07:48:15 +0000 (Fri, 26 Jun 2009)
New Revision: 2609

Modified:
   trunk/glibc-ports/kfreebsd/renameat.c
Log:
rename is generated from syscalls.list, there is no __rename



Modified: trunk/glibc-ports/kfreebsd/renameat.c
===================================================================
--- trunk/glibc-ports/kfreebsd/renameat.c	2009-06-25 20:53:26 UTC (rev 2608)
+++ trunk/glibc-ports/kfreebsd/renameat.c	2009-06-26 07:48:15 UTC (rev 2609)
@@ -29,6 +29,8 @@
 #include <sys/user.h>
 #include <kernel-features.h>
 
+libc_hidden_proto (rename)
+
 extern int __syscall_renameat (int oldfd, const char *old, int newfd,
 			       const char *new);
 libc_hidden_proto (__syscall_renameat)
@@ -155,7 +157,8 @@
 	    }
 	}
     }
-  
+
+#define __rename rename /* there is no __rename */
   return __rename (old, new);
 #endif
 }




More information about the Glibc-bsd-commits mailing list