summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-05-25 04:08:50 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-05-25 04:08:50 +0000
commit43384a1a9c6320de369fa102476500bf74eac977 (patch)
tree009ae0ec8a026a2f164dbf932f0dae27252f122f /pp_hot.c
parentec889f3a4d67ceb8b9b54693ed4a5449d224fe29 (diff)
downloadperl-43384a1a9c6320de369fa102476500bf74eac977.tar.gz
fix glob() bug that resulted in missing symlinks that don't point
anywhere p4raw-id: //depot/perl@3467
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 7709c53628..76e5e53845 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1358,7 +1358,7 @@ do_readline(void)
if (!isALPHA(*tmps) && !isDIGIT(*tmps) &&
strchr("$&*(){}[]'\";\\|?<>~`", *tmps))
break;
- if (*tmps && PerlLIO_stat(SvPVX(sv), &PL_statbuf) < 0) {
+ if (*tmps && PerlLIO_lstat(SvPVX(sv), &PL_statbuf) < 0) {
(void)POPs; /* Unmatched wildcard? Chuck it... */
continue;
}