* lib/perror.c: Don't include intprops.h, verify.h, strerror-impl.h.
Undefine fprintf, not sprintf.
* modules/perror (Depends-on): Remove intprops, verify.
+2011-06-04 Bruno Haible <bruno@clisp.org>
+
+ perror: Fix compilation error.
+ * lib/perror.c: Don't include intprops.h, verify.h, strerror-impl.h.
+ Undefine fprintf, not sprintf.
+ * modules/perror (Depends-on): Remove intprops, verify.
+
2011-06-04 Bruno Haible <bruno@clisp.org>
setlocale: Enable replacement on Cygwin 1.5.
#include <stdlib.h>
#include <string.h>
-#include "intprops.h"
-#include "verify.h"
-
/* Use the system functions, not the gnulib overrides in this file. */
-#undef sprintf
-
-/* my_strerror (errnum) is equivalent to strerror (errnum).
- But it uses its own buffer, not the one from strerror(). */
-#define STATIC static
-#undef strerror
-#define strerror my_strerror
-#include "strerror-impl.h"
+#undef fprintf
void
perror (const char *string)
Depends-on:
stdio
errno [test $REPLACE_PERROR = 1]
-intprops [test $REPLACE_PERROR = 1]
-verify [test $REPLACE_PERROR = 1]
strerror_r-posix [test $REPLACE_PERROR = 1]
configure.ac: