diff options
author | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2001-02-19 19:32:14 +0000 |
---|---|---|
committer | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2001-02-19 19:32:14 +0000 |
commit | dcb334b09cab3e5fbb6b818bc8524121d50369af (patch) | |
tree | 5b0d711079640e24ea78165e4870b751affe8c7c /bin | |
parent | 5c3051c512df31e1aa340c8e918a83c02fc17d5e (diff) |
forgot to remove debugging #if 0
messed up completion on e.g. / and ./
Diffstat (limited to 'bin')
-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; } |