From: Ulrich Drepper Date: Mon, 28 May 2007 16:43:59 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define X-Git-Tag: upstream/2.20~7954 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40f57573d02e98db90f7d9e1dae6c3422d150d7b;p=platform%2Fupstream%2Flinaro-glibc.git * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define if __NR_utimensat is not defined. --- diff --git a/ChangeLog b/ChangeLog index b7586ef..5f17fd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-28 Jakub Jelinek + + * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define + if __NR_utimensat is not defined. + 2007-05-26 Ulrich Drepper * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include . diff --git a/nptl/ChangeLog b/nptl/ChangeLog index beb5ae2..e2a1850 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,8 @@ 2007-05-28 Jakub Jelinek + * 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. diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c b/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c index 9472dd1..6fedac1 100644 --- a/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c +++ b/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c @@ -1,3 +1,4 @@ +#include /* For __getpagesize. */ #define NEW_VERNUM GLIBC_2_6 #define STACKSIZE_ADJUST \ do { \ diff --git a/sysdeps/unix/sysv/linux/futimes.c b/sysdeps/unix/sysv/linux/futimes.c index 610f1de..272b83e 100644 --- a/sysdeps/unix/sysv/linux/futimes.c +++ b/sysdeps/unix/sysv/linux/futimes.c @@ -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 -#ifndef __ASSUME_UTIMENSAT +#if defined __NR_utimensat && !defined __ASSUME_UTIMENSAT static int miss_utimensat; #endif