summaryrefslogtreecommitdiff
path: root/shadow
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 /shadow
parenta481b13cc296a354f9349ed41839881bbcbdf9cc (diff)
downloadglibc-9e59d9cbd2572856bfaabaaa69ef0d06d7dd49c1.tar.gz
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 'shadow')
-rw-r--r--shadow/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/shadow/Makefile b/shadow/Makefile
index c52c59db54..cc0efaff6c 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