about summary refs log tree commit diff
path: root/pwd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-09 07:39:42 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-09 07:39:42 +0000
commit9e59d9cbd2572856bfaabaaa69ef0d06d7dd49c1 (patch)
tree63863ef56f40e4102f09e5088c1cac6a69e1d974 /pwd
parenta481b13cc296a354f9349ed41839881bbcbdf9cc (diff)
downloadglibc-9e59d9cbd2572856bfaabaaa69ef0d06d7dd49c1.tar.gz
glibc-9e59d9cbd2572856bfaabaaa69ef0d06d7dd49c1.tar.xz
glibc-9e59d9cbd2572856bfaabaaa69ef0d06d7dd49c1.zip
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 <s-sagawa@jp.fujitsu.com>.
Diffstat (limited to 'pwd')
-rw-r--r--pwd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/pwd/Makefile b/pwd/Makefile
index 5b3053676e..83fb565c57 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