diff options
Diffstat (limited to 'system/ksh-openbsd/patches/09-escape_colon.diff')
-rw-r--r-- | system/ksh-openbsd/patches/09-escape_colon.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ksh-openbsd/patches/09-escape_colon.diff b/system/ksh-openbsd/patches/09-escape_colon.diff new file mode 100644 index 0000000000..77145e1505 --- /dev/null +++ b/system/ksh-openbsd/patches/09-escape_colon.diff @@ -0,0 +1,11 @@ +--- edit.c.orig 2012-10-31 19:21:31.742319303 +0100 ++++ edit.c 2012-10-31 19:21:44.031181937 +0100 +@@ -809,7 +809,7 @@ + int rval = 0; + + for (add = 0, wlen = len; wlen - add > 0; add++) { +- if (strchr("\"#$&'()*;<=>?[\\]`{|}", s[add]) || ++ if (strchr("\"#$&'()*:;<=>?[\\]`{|}", s[add]) || + strchr(ifs, s[add])) { + if (putbuf_func(s, add) != 0) { + rval = -1; |