diff options
author | Tony Cook <tony@develop-help.com> | 2016-05-19 15:22:32 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2017-09-11 10:59:43 +1000 |
commit | 67ba8be6f9246c5a224a6f514360d48b605c44f5 (patch) | |
tree | 4994637feaf03f8cddd29c1fb78ac409348399df /perl.c | |
parent | e0d4aead3c87ba953fb1d70678a77a45e0c9f111 (diff) | |
download | perl-67ba8be6f9246c5a224a6f514360d48b605c44f5.tar.gz |
(perl #127663) all platforms no longer require a backup file
Platforms that disallow deleting an open file, like Win32, Cygwin,
previously required a backup extension (defaulted for Cygwin), but
since we now write to a work file that's no longer necessary (but
might still be desirable.)
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -3378,12 +3378,6 @@ Perl_moreswitches(pTHX_ const char *s) case 'i': Safefree(PL_inplace); -#if defined(__CYGWIN__) /* do backup extension automagically */ - if (*(s+1) == '\0') { - PL_inplace = savepvs(".bak"); - return s+1; - } -#endif /* __CYGWIN__ */ { const char * const start = ++s; while (*s && !isSPACE(*s)) |