mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-17 02:51:01 +02:00
34091: typo with "whence -s" expansions
This commit is contained in:
parent
aa622e0801
commit
f9cba834cd
2 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue