]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define
authorUlrich Drepper <drepper@redhat.com>
Mon, 28 May 2007 16:43:59 +0000 (16:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 28 May 2007 16:43:59 +0000 (16:43 +0000)
if __NR_utimensat is not defined.

ChangeLog
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c
sysdeps/unix/sysv/linux/futimes.c

index b7586ef06f71771213bbc39e6a2072804d28e34e..5f17fd5014995003421de135612bc1cf1a58f01e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define
+       if __NR_utimensat is not defined.
+
 2007-05-26  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>.
index beb5ae2448ea893de18ead1c666b66b146a53d18..e2a18504fafca86ada0be3b91c5413166c8dfed9 100644 (file)
@@ -1,5 +1,8 @@
 2007-05-28  Jakub Jelinek  <jakub@redhat.com>
 
+       * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: Include
+       unistd.h.
+
        * sysdeps/i386/tls.h (THREAD_GSCOPE_RESET_FLAG): Use explicit
        insn suffix.
        (THREAD_GSCOPE_GET_FLAG): Remove.
index 9472dd17eff0e1dd64c1f24e2383f892bf8d1982..6fedac1b33515d739e6348c5a4fe7be01729b1fd 100644 (file)
@@ -1,3 +1,4 @@
+#include <unistd.h>    /* For __getpagesize.  */
 #define NEW_VERNUM GLIBC_2_6
 #define STACKSIZE_ADJUST \
   do {                                                                       \
index 610f1deb295a14e779da2e46e78aaa383164b883..272b83eb05ce28e163cb74594d6863db9140b002 100644 (file)
@@ -1,5 +1,5 @@
 /* futimes -- change access and modification times of open file.  Linux version.
-   Copyright (C) 2002,2003,2005,2006 Free Software Foundation, Inc.
+   Copyright (C) 2002,2003,2005,2006,2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@
 #include <kernel-features.h>
 
 
-#ifndef __ASSUME_UTIMENSAT
+#if defined __NR_utimensat && !defined __ASSUME_UTIMENSAT
 static int miss_utimensat;
 #endif