diff options
author | 2001-02-19 19:32:13 +0000 | |
---|---|---|
committer | 2001-02-19 19:32:13 +0000 | |
commit | 1452a88ccf8575a280830ef7a6cccc1ab52754d8 (patch) | |
tree | 1cd2c54afa5f0e5f08ef309fe830bc08e23c55c1 | |
parent | Zap some unnecessary defines. (diff) | |
download | wireguard-openbsd-1452a88ccf8575a280830ef7a6cccc1ab52754d8.tar.xz wireguard-openbsd-1452a88ccf8575a280830ef7a6cccc1ab52754d8.zip |
forgot to remove debugging #if 0
messed up completion on e.g. / and ./
-rw-r--r-- | bin/ksh/edit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index 8754d863721..98722a7f91a 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.12 2001/02/19 09:49:51 camield Exp $ */ +/* $OpenBSD: edit.c,v 1.13 2001/02/19 19:32:13 camield Exp $ */ /* * Command line editing - common code @@ -781,7 +781,6 @@ x_locate_word(buf, buflen, pos, startp, is_commandp) for (p = start - 1; p >= 0 && isspace(buf[p]); p--) ; iscmd = p < 0 || strchr(";|&()`", buf[p]); -#if 0 if (iscmd) { /* If command has a /, path, etc. is not searched; * only current directory is searched, which is just @@ -792,7 +791,6 @@ x_locate_word(buf, buflen, pos, startp, is_commandp) break; iscmd = p == end; } -#endif *is_commandp = iscmd; } |