diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-25 07:10:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-25 07:10:05 +0000 |
commit | 3e8b4aad709c4694a87b92ee4ac6d865c9cef4e9 (patch) | |
tree | a8e9a44e5e6fecd5fe461afee6d579d07c85795b /games/banner | |
parent | 5dde3390038a7376039732dce96630661d6cd1aa (diff) |
Stat source path at the top of do_move() and return an error if
this fails. Previously, "mv nonexistent file_with_no_write_perms"
would prompt whether or not to overwrite the file w/o write perms
even though 'nonexistent' would fail to lstat() later on.
Diffstat (limited to 'games/banner')
0 files changed, 0 insertions, 0 deletions