Make the redefinitions to error-provoking symbols conditional.
[pspp] / ChangeLog
index ec527f6eb01ea1b9af5040433bcc63e05844e0e7..394e68e8872dc1be6a7c8515a0f3b6ee24354ce5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2007-02-02  Bruno Haible  <bruno@clisp.org>
+
+       * lib/string_.h (memmem, mempcpy, memrchr, stpcpy, stpncpy, strchrnul,
+       strdup, strndup, strnlen, strpbrk, strsep, strtok_r): Provoke a link
+       error only if GNULIB_POSIXCHECK is defined. Needed to avoid artificial
+       portability problems if one of these functions is only used on specific
+       platforms.
+       Reported by Paul Eggert.
+
 2007-02-02  Paul Eggert  <eggert@cs.ucla.edu>
 
        Avoid mempcpy in the regex code, as the string.h mempcpy stuff