summaryrefslogtreecommitdiff
path: root/gettext-tools
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/tests/ChangeLog6
-rwxr-xr-xgettext-tools/tests/lang-php2
2 files changed, 7 insertions, 1 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog
index 9b435b42e..7ceb15485 100644
--- a/gettext-tools/tests/ChangeLog
+++ b/gettext-tools/tests/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-19 Bruno Haible <bruno@clisp.org>
+
+ * lang-php: Use <?php instead of <?, since the latter does not work
+ when php is configured with short_open_tag = off.
+ Patch by Jens Petersen <petersen@redhat.com>.
+
2007-03-17 Bruno Haible <bruno@clisp.org>
* xgettext-php-1: Test that strings [ ] are not extracted for an outer
diff --git a/gettext-tools/tests/lang-php b/gettext-tools/tests/lang-php
index 992c19200..9460680aa 100755
--- a/gettext-tools/tests/lang-php
+++ b/gettext-tools/tests/lang-php
@@ -9,7 +9,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles prog.php"
cat <<\EOF > prog.php
-<?
+<?php
setlocale (LC_ALL, "");
textdomain ("prog");
bindtextdomain ("prog", ".");