Subject: Re: bug#58446: 28.2; file-attribute-device-number returns a cons cell instead of an integer
From: Michael Albinus <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked], Lars Ingebrigtsen <[email-masked]>, [email-masked]
Date: Thu, 13 Oct 2022 21:16:48 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 29.1

Eli Zaretskii <[email-masked]> writes:

>> But if we haven't needed that until now, we're probably not going to
>> need it going forward, and we should just document the current status
>> quo.
>>
>> > And perhaps we could even add a helper function to extract the
>> > information for a file's uniqueness:
>> >
>> > (defsubst file-attribute-file-number (attributes)
>> >   "The inode and device numbers in ATTRIBUTES returned by `file-attributes'.
>> > It can be used to determine whether two files are identical."
>> >   (nthcdr 10 attributes))
>> >
>> > WDYT?
>>
>> Makes sense to me.
>
> Agreed.

Pushed to master. Closing the bug.

Best regards, Michael.