summaryrefslogtreecommitdiff
path: root/system/ksh-openbsd/patches/09-escape_colon.diff
diff options
context:
space:
mode:
authorDaniel LEVAI <leva@ecentrum.hu>2012-11-19 14:26:37 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-11-19 16:52:08 -0600
commitf5e7485b6c8bfe3ea57ba4f5334fb963353e91d7 (patch)
treefde24af9290c0c090ef2af186340b63ba4161985 /system/ksh-openbsd/patches/09-escape_colon.diff
parentfb80020f10a2063b7273ffe8e4d18a1caed70028 (diff)
downloadslackbuilds-f5e7485b6c8bfe3ea57ba4f5334fb963353e91d7.tar.gz
system/ksh-openbsd: Added (OpenBSD's pdksh ported to Linux)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd/patches/09-escape_colon.diff')
-rw-r--r--system/ksh-openbsd/patches/09-escape_colon.diff11
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;