This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for PR libc/1553



Ulrich, please apply the appended patch for glibc 2.1.3 and 2.2.

Thanks,
Andreas

2000-01-23  Andreas Jaeger  <aj@suse.de>

	* string/bits/string2.h: Fix macro: check for __USE_GNU not
	__GNU_SOURCE.
	Reported by David Madore <david.madore@ens.fr>, closes PR libc/1553.

============================================================
Index: string/bits/string2.h
--- string/bits/string2.h	2000/01/03 16:58:39	1.46
+++ string/bits/string2.h	2000/01/23 18:08:10
@@ -1225,7 +1225,7 @@
 			  __retval; }))					      \
 		  : __strndup ((s), (n))))
 
-#  ifdef __GNU_SOURCE
+#  ifdef __USE_GNU
 #   define strndup(s, n) __strndup ((s), (n))
 #  endif
 # endif

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]