On 2024-02-27 03:02, Gisle Vanem via bug-diffutils via All diffutils discussion. 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. But that's just a guess, and someone who can debug the MS-Windows code would have to verify it.



Reply via email to