]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 9 Feb 2004 07:39:42 +0000 (07:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 9 Feb 2004 07:39:42 +0000 (07:39 +0000)
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 <s-sagawa@jp.fujitsu.com>.

ChangeLog
grp/Makefile
misc/Makefile
pwd/Makefile
shadow/Makefile

index 39a310a3eda45b899e6eba8e93d22bb0c300ba68..3fd0b32956915f0a8df361d52050d336197e148e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2004-02-08  Ulrich Drepper  <drepper@redhat.com>
 
+       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 <s-sagawa@jp.fujitsu.com>.
+
        * elf/dl-load.c (lose): Use noinline attribute instead of silly
        alloca to prevent inlining.
        * elf/dl-runtime.c (fixup): Likewise.
index 1d666d0c5e03b61d048833a0e2c03e8a30e6d2fb..54e86394ba62cd7326f961521b75cfd4ac4210d3 100644 (file)
@@ -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
 
index ad57434f26ec27721d0bd4646101b40a393531e2..862eb1b800de39ca97802976ef4d0c5561c89832 100644 (file)
@@ -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
 
index 5b3053676ea339d7d9b109a557537797580b3feb..83fb565c57ec00288f2f0c61d519c23eae4a5433 100644 (file)
@@ -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
 
index c52c59db54da8aa2380462544a690522675c9b31..cc0efaff6c64b857caf50fd3f783383c369bf590 100644 (file)
@@ -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