SOURCES: klibc-ksh-syntax.patch (NEW) - fix undefined ksh behaviou...
pluto
pluto at pld-linux.org
Fri Sep 30 21:51:07 CEST 2005
Author: pluto Date: Fri Sep 30 19:51:07 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix undefined ksh behaviour -> test with >= 4 arguments.
http://www.opengroup.org/onlinepubs/009695399/utilities/test.html
catched error: ./mkbuiltins[122]: [: #: unexpected operator/operand
---- Files affected:
SOURCES:
klibc-ksh-syntax.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/klibc-ksh-syntax.patch
diff -u /dev/null SOURCES/klibc-ksh-syntax.patch:1.1
--- /dev/null Fri Sep 30 21:51:07 2005
+++ SOURCES/klibc-ksh-syntax.patch Fri Sep 30 21:51:02 2005
@@ -0,0 +1,16 @@
+This patch fixes undefined ksh behaviour -> test with >= 4 arguments.
+( http://www.opengroup.org/onlinepubs/009695399/utilities/test.html )
+
+catched error: ./mkbuiltins[122]: [: #: unexpected operator/operand
+
+--- klibc-1.1.1/ash/mkbuiltins.orig 2005-09-06 22:49:34.000000000 +0200
++++ klibc-1.1.1/ash/mkbuiltins 2005-09-30 21:41:07.909992750 +0200
+@@ -108,7 +108,7 @@
+ }
+ echo 'int '"$func"'(int, char **);' >&4
+ while
+- [ $# != 0 -a "$1" != '#' ]
++ [ $# != 0 ] && [ "$1" != '#' ]
+ do
+ [ "$1" = '-s' ] && {
+ specials="$specials $2 $func"
================================================================
More information about the pld-cvs-commit
mailing list