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
commitbb16914a1b288b55cfa63f9fac29d11db6d49b56 (patch)
treeb655cc8c73b39ac5dbf2b13827ac5b8145fc4aec /doio.c
parentdb7c437609ef3fd7055f95bb15b6547455cee3a7 (diff)
downloadperl-bb16914a1b288b55cfa63f9fac29d11db6d49b56.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))