Try this patch.  I haven't stress-tested it, but it
does at least address the original complaint.

   - Larry

--- a/src/exec.c        2007-07-13 01:26:43.000000000 -0700
+++ b/src/exec.c        2008-07-23 12:46:04.000000000 -0700
@@ -752,7 +752,7 @@
        struct cmdentry entry;
        struct tblentry *cmdp;
        const struct alias *ap;
-       const char *path = pathval();
+       const char *path = bltinlookup("PATH");
 
        if (verbose) {
                outstr(command, out);



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to