about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-01-04 19:05:39 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-01-04 19:05:39 +0000
commitf9cba834cdcd5f35d21768b6412577236adc5ed2 (patch)
treec26add38f43da0510aaad6b4899ea4be3b119aef /Src
parentaa622e08014744c54e585e34613c2572a27f0f4b (diff)
downloadzsh-f9cba834cdcd5f35d21768b6412577236adc5ed2.tar.gz
zsh-f9cba834cdcd5f35d21768b6412577236adc5ed2.tar.xz
zsh-f9cba834cdcd5f35d21768b6412577236adc5ed2.zip
34091: typo with "whence -s" expansions
Diffstat (limited to 'Src')
-rw-r--r--Src/utils.c4
1 files changed, 2 insertions, 2 deletions
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);