diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/utils.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index d8918acb3..ca5d401ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-01-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 34091: Src/utils.c: typo with "whence -s" expansions. + * users/19682: Doc/Zsh/builtins.yo: document recommended use of whence. diff --git a/Src/utils.c b/Src/utils.c index 2b2a815a8..959df9ab7 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -795,12 +795,12 @@ xsymlinks(char *s, int full) } if (*xbuf3 == '/') { strcpy(xbuf, ""); - if (xsymlinks(xbuf3 + 1, 0) < 0) + if (xsymlinks(xbuf3 + 1, 1) < 0) ret = -1; else xbuflen = strlen(xbuf); } else - if (xsymlinks(xbuf3, 0) < 0) + if (xsymlinks(xbuf3, 1) < 0) ret = -1; else xbuflen = strlen(xbuf); |