diff options
author | Bruno Haible <bruno@clisp.org> | 2008-05-27 00:03:44 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:15:43 +0200 |
commit | 506c01d77ecdbc7c461becd0bd87ec508e90e874 (patch) | |
tree | cb510d61229f6fa9aeb2f28547b15557a671dde0 /gettext-tools | |
parent | 0ab345ef1d8d31d1ab13940679648a18a3420898 (diff) | |
download | external_gettext-506c01d77ecdbc7c461becd0bd87ec508e90e874.zip external_gettext-506c01d77ecdbc7c461becd0bd87ec508e90e874.tar.gz external_gettext-506c01d77ecdbc7c461becd0bd87ec508e90e874.tar.bz2 |
gettext-8 must be a script, not an executable.
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/tests/ChangeLog | 6 | ||||
-rw-r--r-- | gettext-tools/tests/Makefile.am | 6 | ||||
-rwxr-xr-x | gettext-tools/tests/gettext-8 | 5 |
3 files changed, 14 insertions, 3 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index d08119e..b9c3c66 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,9 @@ +2008-05-26 Bruno Haible <bruno@clisp.org> + + * gettext-8: New file. + * Makefile.am (noinst_PROGRAMS): Add gettext-8-prg, remove gettext-8. + (gettext_8_prg_*): Renamed from gettext_8_*. + 2008-05-12 Bruno Haible <bruno@clisp.org> * msgcat-17: Change test so that it works with newer line-breaking diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index f5b3c19..4320f21 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -201,7 +201,7 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ LDADD = $(LDADD_@USE_INCLUDED_LIBINTL@) @INTL_MACOSX_LIBS@ LDADD_yes = ../intl/libintl.la @LTLIBTHREAD@ LDADD_no = ../intl/libgnuintl.la @LTLIBTHREAD@ @LTLIBINTL@ -noinst_PROGRAMS = tstgettext tstngettext testlocale gettext-3-prg gettext-4-prg gettext-5-prg gettext-6-prg gettext-7-prg gettext-8 cake fc3 fc4 fc5 +noinst_PROGRAMS = tstgettext tstngettext testlocale gettext-3-prg gettext-4-prg gettext-5-prg gettext-6-prg gettext-7-prg gettext-8-prg cake fc3 fc4 fc5 tstgettext_SOURCES = tstgettext.c setlocale.c tstgettext_CFLAGS = -DINSTALLDIR=\".\" tstgettext_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) @@ -225,8 +225,8 @@ gettext_7_prg_CFLAGS = $(gettext_7_prg_CFLAGS_@GLIBC2@) gettext_7_prg_CFLAGS_yes = -DUSE_POSIX_THREADS gettext_7_prg_LDADD = $(gettext_7_prg_LDADD_@GLIBC2@) gettext_7_prg_LDADD_yes = ../gnulib-lib/libgettextlib.la $(LDADD) -lpthread -gettext_8_SOURCES = gettext-8-prg.c -gettext_8_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) +gettext_8_prg_SOURCES = gettext-8-prg.c +gettext_8_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) cake_SOURCES = plural-1-prg.c setlocale.c cake_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) fc3_SOURCES = format-c-3-prg.c setlocale.c diff --git a/gettext-tools/tests/gettext-8 b/gettext-tools/tests/gettext-8 new file mode 100755 index 0000000..114922d --- /dev/null +++ b/gettext-tools/tests/gettext-8 @@ -0,0 +1,5 @@ +#! /bin/sh + +# Test that gettext() does not crash by stack overflow when msgid is very long. + +./gettext-8-prg |