diff options
-rw-r--r-- | ChangeLog.txt | 3 | ||||
-rw-r--r-- | pseudo_client.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index fa05d18..5643e1f 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2011-03-25: + * (seebs) don't try to search path when you don't have one + 2011-03-24: * (seebs) more work on OS X port. * (seebs) include errno in the verbose debug output diff --git a/pseudo_client.c b/pseudo_client.c index 7ac96dd..b53ee25 100644 --- a/pseudo_client.c +++ b/pseudo_client.c @@ -1378,7 +1378,7 @@ pseudo_exec_path(const char *filename, int search_path) { return candidate; } - if (!search_path) { + if (!search_path || !path_segs) { candidate = pseudo_fix_path(pseudo_cwd, filename, 0, pseudo_cwd_len, NULL, 0); /* executable or not, it's the only thing we can try */ pseudo_magic(); |