Module Name: src
Committed By: tron
Date: Wed Nov 6 21:44:44 UTC 2013
Modified Files:
src/gnu/dist/gettext/gettext-tools/lib: stpcpy.h
Log Message:
Fix build problem caused by definition of SSP version of stpcpy(3).
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/gnu/dist/gettext/gettext-tools/lib/stpcpy.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/gnu/dist/gettext/gettext-tools/lib/stpcpy.h
diff -u src/gnu/dist/gettext/gettext-tools/lib/stpcpy.h:1.1.1.1 src/gnu/dist/gettext/gettext-tools/lib/stpcpy.h:1.2
--- src/gnu/dist/gettext/gettext-tools/lib/stpcpy.h:1.1.1.1 Fri Apr 29 15:02:52 2005
+++ src/gnu/dist/gettext/gettext-tools/lib/stpcpy.h Wed Nov 6 21:44:44 2013
@@ -29,6 +29,10 @@
extern "C" {
#endif
+#ifdef _FORTIFY_SOURCE
+#undef stpcpy
+#endif
+
/* Copy SRC to DST, returning the address of the terminating '\0' in DST. */
extern char *stpcpy (char *dst, const char *src);