GNU bug report logs -
#56673
26.3; Doc of `file-equal-p'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Wed, 20 Jul 2022 20:43:01 UTC
Severity: minor
Found in version 26.3
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 56673-done <at> debbugs.gnu.org (full text, mbox):
> From: Drew Adams <drew.adams <at> oracle.com>
> Date: Wed, 20 Jul 2022 20:41:45 +0000
>
> 1. I don't understand this part of the doc (in both doc string and
> manual):
>
> If FILE1 or FILE2 does not exist, the return value is unspecified.
>
> What's that about?
It means the result could be anything: nil or non-nil, and you
shouldn't expect anything specific. IOW, don't call this function
unless both files exist.
> In what case(s) is the result unspecified because one or both file
> doesn't exist?
All of them. There was a long discussion of this in bug#10489, and
I'm not interested in reopening it.
> 2. How about adding this sentence from the manual to the doc string
> (also)?
>
> This is similar to comparing their truenames, except that remote file
> names are also handled in an appropriate manner.
The doc string already says that, albeit with different words.
Closing.
This bug report was last modified 2 years and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.