SOURCES: horde-translation.patch (NEW) - proper exit codes

baggins baggins at pld-linux.org
Mon Oct 27 16:08:07 CET 2008


Author: baggins                      Date: Mon Oct 27 15:08:06 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- proper exit codes

---- Files affected:
SOURCES:
   horde-translation.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/horde-translation.patch
diff -u /dev/null SOURCES/horde-translation.patch:1.1
--- /dev/null	Mon Oct 27 16:08:07 2008
+++ SOURCES/horde-translation.patch	Mon Oct 27 16:08:01 2008
@@ -0,0 +1,27 @@
+diff -ur horde-3.3/po/translation.php horde-3.3-trans/po/translation.php
+--- horde-3.3/po/translation.php	2008-07-29 08:55:09.000000000 +0200
++++ horde-3.3-trans/po/translation.php	2008-10-27 14:57:15.000000000 +0100
+@@ -9,7 +9,7 @@
+  * $Horde: horde/po/translation.php,v 1.91.2.25 2008/07/29 06:55:09 jan Exp $
+  */
+ 
+-function footer()
++function footer($error = 1)
+ {
+     global $c, $curdir;
+ 
+@@ -17,7 +17,7 @@
+     $c->writeln('Please report any bugs to i18n at lists.horde.org.');
+ 
+     chdir($curdir);
+-    exit;
++    exit($error);
+ }
+ 
+ function usage()
+@@ -1616,4 +1616,4 @@
+     footer();
+ }
+ 
+-footer();
++footer(0);
================================================================


More information about the pld-cvs-commit mailing list