summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorPrymmer/Kahn <pvhp@best.com>2001-06-04 15:11:02 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-05 11:02:13 +0000
commita87ab2ebad5f814f5d93f568156eb348cfb1a1a3 (patch)
tree17ab4fcaad5d2b7395ab5951963d01795bc3d2ad /util.c
parent24ccb310370d2d934ea2569785a03a1d691a25e4 (diff)
downloadperl-a87ab2ebad5f814f5d93f568156eb348cfb1a1a3.tar.gz
Re: Not OK: perl@10439 on win32
Message-ID: <Pine.BSF.4.21.0106042136410.26316-100000@shell8.ba.best.com> p4raw-id: //depot/perl@10443
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index ae718af05b..f40f5b9612 100644
--- a/util.c
+++ b/util.c
@@ -4636,7 +4636,7 @@ Perl_sv_getcwd(pTHX_ register SV *sv)
#else
if (PerlLIO_lstat(".", &statbuf) < 0) {
- CWDXS_RETURN_SVUNDEF(sv);
+ SV_CWD_RETURN_UNDEF;
}
orig_cdev = statbuf.st_dev;
@@ -4672,7 +4672,7 @@ Perl_sv_getcwd(pTHX_ register SV *sv)
namelen = strlen(dp->d_name);
#endif
/* skip . and .. */
- if (SV_CWD_ISDOT(dp)) {dp->d_name[0] == '.'
+ if (SV_CWD_ISDOT(dp)) {
continue;
}