diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2012-08-28 11:33:00 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2012-08-28 18:29:12 +0100 |
commit | 39b80fd98d49815a504e4c2feeb5d6ae5ee1555e (patch) | |
tree | 09f1f16a5fcee7afdc77d1a131eb72ee476d79df /lib/DB.t | |
parent | a0084943302ae84253561a08e28aecf602611ac4 (diff) | |
download | perl-39b80fd98d49815a504e4c2feeb5d6ae5ee1555e.tar.gz |
Revert File::Copy::copy() to fail when copying a file onto itself
Copying a file onto itself was made a fatal error by 96a91e0163.
This was changed in 754f2cd0b9 from an undesirable croak() to return 1,
but the documentation was never changed from it being a fatal error.
It should probably have remained an error as per the documentation (but
updated not to say fatal) for consistency with cases of copying a file
onto itself via symbolic links or hard links.
Diffstat (limited to 'lib/DB.t')
0 files changed, 0 insertions, 0 deletions