diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-25 08:28:57 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-25 08:28:57 +0000 |
commit | 9423c6fcd41d6bc971cab01e8cdfbf515a9aaaea (patch) | |
tree | 16f263e03a5819380adcd3555d14855fbf85e32e /doio.c | |
parent | 7c2ea1c74a297a6e4f5e99f73e5cadca30825f36 (diff) | |
download | perl-9423c6fcd41d6bc971cab01e8cdfbf515a9aaaea.tar.gz |
assorted tweaks
p4raw-id: //depot/perl@3472
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1004,11 +1004,7 @@ my_lstat(ARGSproto) sv = POPs; PUTBACK; sv_setpv(PL_statname,SvPV(sv, n_a)); -#ifdef HAS_LSTAT PL_laststatval = PerlLIO_lstat(SvPV(sv, n_a),&PL_statcache); -#else - PL_laststatval = PerlLIO_stat(SvPV(sv, n_a),&PL_statcache); -#endif if (PL_laststatval < 0 && ckWARN(WARN_NEWLINE) && strchr(SvPV(sv, n_a), '\n')) warner(WARN_NEWLINE, PL_warn_nl, "lstat"); return PL_laststatval; @@ -1317,11 +1313,7 @@ nothing in the core. tot--; } else { /* don't let root wipe out directories without -U */ -#ifdef HAS_LSTAT if (PerlLIO_lstat(s,&PL_statbuf) < 0 || S_ISDIR(PL_statbuf.st_mode)) -#else - if (PerlLIO_stat(s,&PL_statbuf) < 0 || S_ISDIR(PL_statbuf.st_mode)) -#endif tot--; else { if (UNLINK(s)) |