GNU bug report logs -
#50204
"Success" seen in failed copy message
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Wed, 25 Aug 2021 19:28:01 UTC
Severity: minor
Tags: notabug
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
>> I did
>> $ ln -s ~/mapping/aiyongxian/aiyongxian.kml /tmp/
>>
>> Then in emacs I did
>> C ;; dired-do-copy
>> Overwrite ‘/tmp/aiyongxian.kml’? [Type yn!q or C-h] y
>> Copy: ‘/home/jidanni/mapping/aiyongxian/aiyongxian.kml’ to ‘/tmp/aiyongxian.kml’ failed:
>> (file-error Input and output files are the same Success /home/jidanni/mapping/aiyongxian/aiyongxian.kml /tmp/aiyongxian.kml)
>>
>> OK, but why the word "Success"?!
EZ> Because that's not really a "failure": the file was already there.
OK, but, the shell says 1, not 0:
$ ln -s ~/mln -s ~/mapping/aiyongxian/aiyongxian.kml /tmp/
$ cp ~/mapping/aiyongxian/aiyongxian.kml /tmp/; echo $?
cp: '/home/jidanni/mapping/aiyongxian/aiyongxian.kml' and '/tmp/aiyongxian.kml' are the same file
1
Also
>> (file-error Input and output files are the same Success /home/jidanni/mapping/aiyongxian/aiyongxian.kml /tmp/aiyongxian.kml)
should be
>> (file-error Input and output files are the same. Success. /home/jidanni/mapping/aiyongxian/aiyongxian.kml /tmp/aiyongxian.kml)
But that doesn't make sense either.
Obviously the word Success has been stuck in the middle, and should be
moved to the front or back. And in fact changed to Failure.
This bug report was last modified 3 years and 238 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.