summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-20 02:12:09 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:43 +0200
commitc7d1d8f7be8bb9eb5414b633408b0b8f9a34c075 (patch)
treeb0e37b933fb14438cc07ad43a7d1e256e011daa5 /gettext-tools/tests
parentcf6d918ea62a07df52b68bd806e8071c6ab8e07e (diff)
downloadexternal_gettext-c7d1d8f7be8bb9eb5414b633408b0b8f9a34c075.zip
external_gettext-c7d1d8f7be8bb9eb5414b633408b0b8f9a34c075.tar.gz
external_gettext-c7d1d8f7be8bb9eb5414b633408b0b8f9a34c075.tar.bz2
Make it work regardless of the php configuration.
Diffstat (limited to 'gettext-tools/tests')
-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 9b435b4..7ceb154 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 992c192..9460680 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", ".");