diff options
author | Prymmer/Kahn <pvhp@best.com> | 2001-06-04 15:11:02 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-05 11:02:13 +0000 |
commit | a87ab2ebad5f814f5d93f568156eb348cfb1a1a3 (patch) | |
tree | 17ab4fcaad5d2b7395ab5951963d01795bc3d2ad /util.c | |
parent | 24ccb310370d2d934ea2569785a03a1d691a25e4 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |