bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#64811: bug#64811: Win-version now broken


From: Paul Eggert
Subject: [bug-diffutils] bug#64811: bug#64811: Win-version now broken
Date: Fri, 1 Mar 2024 14:43:22 -0800
User-agent: Mozilla Thunderbird

On 2024-03-01 09:29, Gisle Vanem wrote:
Some added trace shows:
   diff.c(844): &noparent: 0x00007FF6A9438478
   diff.c(1548): file[0].name: 'h:\Cygwin64', st_mode: S_ISDIR, size: -1, toplevel: 1    diff.c(1548): file[1].name: 'f:\Cygwin64', st_mode: S_ISDIR, size: -1, toplevel: 1

My guess is that 'diff' infers that the two strings name the same directory,
because st_dev and st_ino are identical
which means same_file (which uses SAME_INODE) thinks they're the same file.

In 'stat_size()' you mean?

Although diffutils uses stat_size, I don't think that's the specific problem here. I think it's more in diffutils's same_file function, which uses SAME_INODE and a bunch of other stuff.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]