From: Ulrich Drepper Date: Mon, 9 Feb 2004 07:39:42 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/fedora-base~851 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e59d9cbd2572856bfaabaaa69ef0d06d7dd49c1;p=platform%2Fupstream%2Fglibc.git Update. Make stream locking operations really work. * misc/Makefile (CFLAGS-mntent_r.c): Define. * shadow/Makefile (CFLAGS-fgetspent_r.c): Define. (CFLAGS-putspent.c): Define. * grp/Makefile (CFLAGS-fgetgrent_r.c): Define. (CFLAGS-putgrent.c): Define. * pwd/Makefile (CFLAGS-fgetpwent_r.c): Define. Reported by Shunichi Sagawa . --- diff --git a/ChangeLog b/ChangeLog index 39a310a..3fd0b32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2004-02-08 Ulrich Drepper + Make stream locking operations really work. + * misc/Makefile (CFLAGS-mntent_r.c): Define. + * shadow/Makefile (CFLAGS-fgetspent_r.c): Define. + (CFLAGS-putspent.c): Define. + * grp/Makefile (CFLAGS-fgetgrent_r.c): Define. + (CFLAGS-putgrent.c): Define. + * pwd/Makefile (CFLAGS-fgetpwent_r.c): Define. + Reported by Shunichi Sagawa . + * elf/dl-load.c (lose): Use noinline attribute instead of silly alloca to prevent inlining. * elf/dl-runtime.c (fixup): Likewise. diff --git a/grp/Makefile b/grp/Makefile index 1d666d0..54e8639 100644 --- a/grp/Makefile +++ b/grp/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991,92,96,97,98,99,2000,2003 Free Software Foundation, Inc. +# Copyright (C) 1991,1992,1996-2000,2003,2004 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 @@ -52,8 +52,8 @@ CFLAGS-getgrnam_r.c = -DUSE_NSCD=1 -fexceptions CFLAGS-getgrent_r.c = -fexceptions CFLAGS-getgrent.c = -fexceptions CFLAGS-fgetgrent.c = -fexceptions -CFLAGS-fgetgrent_r.c = -fexceptions -CFLAGS-putgrent.c = -fexceptions +CFLAGS-fgetgrent_r.c = -fexceptions -D_IO_MTSAFE_IO +CFLAGS-putgrent.c = -fexceptions -D_IO_MTSAFE_IO CFLAGS-initgroups.c = -fexceptions CFLAGS-getgrgid.c = -fexceptions diff --git a/misc/Makefile b/misc/Makefile index ad57434..862eb1b 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 1991-2002, 2003, 2004 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 @@ -90,6 +90,7 @@ CFLAGS-getsysstats.c = -fexceptions CFLAGS-getusershell.c = -fexceptions CFLAGS-err.c = -fexceptions CFLAGS-tst-tsearch.c = $(stack-align-test-flags) +CFLAGS-mntent_r.c = -D_IO_MTSAFE_IO include ../Rules diff --git a/pwd/Makefile b/pwd/Makefile index 5b30536..83fb565 100644 --- a/pwd/Makefile +++ b/pwd/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991,1996,1997,1998,1999,2003 Free Software Foundation, Inc. +# Copyright (C) 1991,1996-1999,2003,2004 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 @@ -37,6 +37,7 @@ CFLAGS-getpwnam_r.c = -DUSE_NSCD=1 CFLAGS-getpwent_r.c = -fexceptions CFLAGS-getpwent.c = -fexceptions CFLAGS-getpw.c = -fexceptions +CFLAGS-fgetpwent_r.c = -D_IO_MTSAFE_IO endif diff --git a/shadow/Makefile b/shadow/Makefile index c52c59d..cc0efaf 100644 --- a/shadow/Makefile +++ b/shadow/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1996, 2003 Free Software Foundation, Inc. +# Copyright (C) 1996, 2003, 2004 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,8 +29,8 @@ routines = getspent getspnam sgetspent fgetspent putspent \ CFLAGS-getspent_r.c = -fexceptions CFLAGS-getspent.c = -fexceptions CFLAGS-fgetspent.c = -fexceptions -CFLAGS-fgetspent_r.c = -fexceptions -CFLAGS-putspent.c = -fexceptions +CFLAGS-fgetspent_r.c = -fexceptions -D_IO_MTSAFE_IO +CFLAGS-putspent.c = -fexceptions -D_IO_MTSAFE_IO CFLAGS-getspnam.c = -fexceptions CFLAGS-getspnam_r.c = -fexceptions