diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-08-01 13:58:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-08-01 13:58:04 +0000 |
commit | b8ffc8df1a4e893e9c7d77b64a6fae8af5801974 (patch) | |
tree | 664b3279897c4f1ff6dafd1f0bcd75de34f68ed1 /doio.c | |
parent | 4d0523d6c78866412e93a18e8d5034cac4b49d90 (diff) | |
download | perl-b8ffc8df1a4e893e9c7d77b64a6fae8af5801974.tar.gz |
Various patches by John E. Malmberg to fix data
corruption issues on VMS. Back out change 25218 and
the parts of change 25217 that affect pp_ctl.c and
pp_sys.c.
p4raw-id: //depot/perl@25257
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1835,14 +1835,14 @@ nothing in the core. s = SvPV_nolen_const(*mark); APPLY_TAINT_PROPER(); if (PL_euid || PL_unsafe) { - if (UNLINK((char *)s)) + if (UNLINK(s)) tot--; } else { /* don't let root wipe out directories without -U */ if (PerlLIO_lstat(s,&PL_statbuf) < 0 || S_ISDIR(PL_statbuf.st_mode)) tot--; else { - if (UNLINK((char *)s)) + if (UNLINK(s)) tot--; } } |