]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Apply this change from gnulib:
authorJim Meyering <jim@meyering.net>
Sat, 10 Jun 2006 09:10:12 +0000 (09:10 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 10 Jun 2006 09:10:12 +0000 (09:10 +0000)
2006-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
    Bruno Haible  <bruno@clisp.org>

* strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.

lib/ChangeLog
lib/strndup.c

index 42c19cbe32b1881a3272f7c1432e02d296d14e5c..a87c9a1d197f88aea7fd514151dfa87eb44baf73 100644 (file)
@@ -1,3 +1,12 @@
+2006-06-10  Jim Meyering  <jim@meyering.net>
+
+       Apply this change from gnulib:
+
+       2006-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+                   Bruno Haible  <bruno@clisp.org>
+
+       * strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
+
 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
 
        * regexec.c (group_nodes_into_DFAstates): Fix a buffer overrun
index 932a83e4c72d0a956f0a52c407566783fd29e393..2626373f263a2fe5c113a344993b14c6a924e8ce 100644 (file)
@@ -36,7 +36,9 @@
 #endif
 
 #undef __strndup
-#undef strndup
+#if _LIBC
+# undef strndup
+#endif
 
 #ifndef weak_alias
 # define __strndup strndup