summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorGerrit P. Haase <gp@familiehaase.de>2002-05-03 22:30:25 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-05-03 20:14:07 +0000
commit5fa3e15a06b670ec7005cd136f82fce93876ad18 (patch)
treeb655cc8c73b39ac5dbf2b13827ac5b8145fc4aec /doio.c
parent4e7d2ce6d9feeb9ea04d991f4a1264dab24e0165 (diff)
downloadperl-5fa3e15a06b670ec7005cd136f82fce93876ad18.tar.gz
perl -i clobbers files on Cygwin
From: "Gerrit P. Haase" <gerrit@familiehaase.de> Message-ID: <190109228332.20020503203025@familiehaase.de> p4raw-id: //depot/perl@16382
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index 102f34f641..fdcef27c91 100644
--- a/doio.c
+++ b/doio.c
@@ -790,7 +790,7 @@ Perl_nextargv(pTHX_ register GV *gv)
#endif
}
else {
-#if !defined(DOSISH) && !defined(AMIGAOS)
+#if !defined(DOSISH) && !defined(AMIGAOS) && !defined(__CYGWIN__)
# ifndef VMS /* Don't delete; use automatic file versioning */
if (UNLINK(PL_oldname) < 0) {
if (ckWARN_d(WARN_INPLACE))