summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2018-01-05 13:54:35 -0600
committerCraig A. Berry <craigberry@mac.com>2018-01-05 13:54:35 -0600
commita33b278ed39a785690da6bce866fc02aa63eaaaf (patch)
tree3ab729d0ba9ad63c233091e56562ece3d1196565 /doio.c
parentb3b7afb8cd9c814f3140e18d1148b7e9f7373f63 (diff)
downloadperl-a33b278ed39a785690da6bce866fc02aa63eaaaf.tar.gz
Alternate backup file rename test for VMS.
The existing test that made a directory called foo.bak and then made sure the rename of a backup file from in-place edit failed to overwrite the directory doesn't work on VMS because there is no conflict between a file named foo.bak and directory named [foo^.bak] in directory syntax or foo^.bak.DIR in filename syntax. The .DIR extension is always there, and other dots in the name are escaped with caret because dot is the directory delimiter. So just make version 32767 of foo.bak and when the rename tries to make the next higher version it will fail. We're testing what happens when the rename fails not why it fails, so we accomplish the same goal via a different mechanism.
Diffstat (limited to 'doio.c')
0 files changed, 0 insertions, 0 deletions