diff options
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index 98722a7f91a..6dfc5ba7ec7 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.13 2001/02/19 19:32:13 camield Exp $ */ +/* $OpenBSD: edit.c,v 1.14 2002/02/16 17:18:08 millert Exp $ */ /* * Command line editing - common code @@ -1058,7 +1058,7 @@ x_escape(s, len, putbuf_func) int rval=0; for (add = 0, wlen = len; wlen - add > 0; add++) { - if (strchr("\\$(){}*&;|<>\"'", s[add]) || strchr(ifs, s[add])) { + if (strchr("\\$(){}*&;#|<>\"'", s[add]) || strchr(ifs, s[add])) { if (putbuf_func(s, add) != 0) { rval = -1; break; |