summaryrefslogtreecommitdiff
path: root/bin/ksh/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/edit.c')
-rw-r--r--bin/ksh/edit.c4
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;
}