summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2017-11-19 17:55:59 -0800
committerPeter Stephenson <pws@zsh.org>2017-11-20 09:59:51 +0000
commit487489c5225aee671077bc0ea257e5c460e675ef (patch)
tree85b8797dee1536261c37bfba9752c46debad6ce7 /Src
parente2f793e7df7214cc3d80e2fcfe961ed087c860ab (diff)
downloadzsh-487489c5225aee671077bc0ea257e5c460e675ef.tar.gz
zsh-487489c5225aee671077bc0ea257e5c460e675ef.tar.xz
zsh-487489c5225aee671077bc0ea257e5c460e675ef.zip
stat() for glob qualifiers lost information in corner case
Diffstat (limited to 'Src')
-rw-r--r--Src/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c
index c9ec97e0e..66a95329f 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -387,7 +387,7 @@ insert(char *s, int checked)
 	    qn = qn->next;
 	}
     } else if (!checked) {
-	if (statfullpath(s, NULL, 1)) {
+	if (statfullpath(s, &buf, 1)) {
 	    unqueue_signals();
 	    return;
 	}