more searchpath-related changes
diff --git a/man/man1/0intro.1 b/man/man1/0intro.1
index bbcbc6e..2712fab 100644
--- a/man/man1/0intro.1
+++ b/man/man1/0intro.1
@@ -331,6 +331,7 @@
.IR notify (3),
.IR post9pservice (3),
.IR rfork (3),
+.IR searchpath (3),
.IR sendfd (3),
.IR udpread (3),
.IR wait (3),
diff --git a/src/cmd/rc/rc.h b/src/cmd/rc/rc.h
index b7edbac..0996eec 100644
--- a/src/cmd/rc/rc.h
+++ b/src/cmd/rc/rc.h
@@ -28,6 +28,7 @@
#endif
#undef pipe /* so that /dev/fd works */
+#define searchpath rcsearchpath /* avoid new libc function */
typedef struct tree tree;
typedef struct word word;
diff --git a/src/cmd/rc/simple.c b/src/cmd/rc/simple.c
index a65bec2..6ac02d5 100644
--- a/src/cmd/rc/simple.c
+++ b/src/cmd/rc/simple.c
@@ -100,7 +100,7 @@
word *searchpath(char *w){
word *path;
if(strncmp(w, "/", 1)==0
- || strncmp(w, "#", 1)==0
+/* || strncmp(w, "#", 1)==0 */
|| strncmp(w, "./", 2)==0
|| strncmp(w, "../", 3)==0
|| (path=vlook("path")->val)==0)