summaryrefslogtreecommitdiff
path: root/system/ksh-openbsd/patches/09-escape_colon.diff
blob: 77145e1505e58625d3f42d71dc34c5333492563f (plain)
1
2
3
4
5
6
7
8
9
10
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;