2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
authorRoland McGrath <roland@gnu.org>
Tue, 20 Dec 2005 07:31:14 +0000 (07:31 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 20 Dec 2005 07:31:14 +0000 (07:31 +0000)
* io/xmknodat.c: Include <stddef.h>.
* misc/futimesat.c: Remove weak_alias and correct stub_warning.
* stdio-common/renameat.c (renameat): Fix typo.

io/xmknodat.c
misc/futimesat.c
stdio-common/renameat.c

index 56d88c7..48dc1b2 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <stddef.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 
index 74ccd87..bf16ce8 100644 (file)
@@ -42,7 +42,5 @@ futimesat (fd, file, tvp)
   return -1;
 }
 
-weak_alias (__utimes, utimes)
-
-stub_warning (utimes)
+stub_warning (futimesat)
 #include <stub-tag.h>
index e862909..e09c593 100644 (file)
@@ -29,7 +29,7 @@ renameat (oldfd, old, newfd, new)
      int newfd;
      const char *new;
 {
-  if ((oldfd < 0 & oldfd !_ AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD))
+  if ((oldfd < 0 & oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD))
     {
       __set_errno (EBADF);
       return -1;