GNU bug report logs - #29092
Bug related to 64-bit inodes

Previous Next

Package: idutils;

Reported by: Curt McDowell <csm <at> purestorage.com>

Date: Tue, 31 Oct 2017 19:20:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 29092 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Curt McDowell <csm <at> purestorage.com>
Cc: 29092 <at> debbugs.gnu.org
Subject: Re: [bug-idutils] bug#29092: bug#29092: bug#29092: Bug related to
 64-bit inodes
Date: Sat, 6 Jan 2018 16:56:29 -0800
On Fri, Jan 5, 2018 at 8:27 PM, Jim Meyering <jim <at> meyering.net> wrote:
> On Mon, Dec 18, 2017 at 8:36 PM, Jim Meyering <jim <at> meyering.net> wrote:
>> On Mon, Dec 18, 2017 at 3:31 PM, Curt McDowell <csm <at> purestorage.com> wrote:
>>> Jim,
>>>
>>> Thanks for getting to this. I applied the patch and was surprised to see it
>>> still has the same bug! There is another comparison function that needs
>>> fixing. I verified that 64-bit inodes work properly with this additional
>>> change:
>>>
>>> static int
>>> dev_ino_hash_compare (void const *x, void const *y)
>>> {
>>>   int result;
>>>   result = memcmp(&((struct dev_ino const *) x)->di_ino,
>>>                   &((struct dev_ino const *) y)->di_ino, sizeof (ino_t));
>>>   if (result)
>>>     return result;
>>>   result = memcmp(&((struct dev_ino const *) x)->di_dev,
>>>                   &((struct dev_ino const *) y)->di_dev, sizeof (ino_t));
>>>   return result;
>>> }
>>
>> Thank you for the quick testing and patch.
>>
>> I've simplified that but left it in your name. However, since it's
>> still in your name, yet modified, I'll wait for your ACK before
>> pushing (check both author-name+email and wording of the commit log as
>> well as the actual patch, since we treat master-pushed commits as
>> immutable):
>
> Ping?

Pushed, in spite of no reply.




This bug report was last modified 7 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.