bug-diffutils
[Top][All Lists]
Advanced

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

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


From: Gisle Vanem
Subject: [bug-diffutils] bug#64811: Win-version now broken
Date: Tue, 27 Feb 2024 12:02:00 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Bruno Haible wrote (at 25.07.2023 15:45):

The fix is to not define _FORTIFY_SOURCE on this platform. Done in
configure.ac.

I found another issue with gnu-diff from master;
if I do a (recursive) comparison of e.g.
  f:\Cygwin64 -- the backed-up physical tree
and:
  h:\Cygwin64 -- a mounted VDMK image (by AShampoo Backup)

'diff.exe' doesn't do anything! But a "VDMK image" seems
unimportant. A 'c:\Cygwin64' against 'f:\Cygwin64' would
probably behave the same.

It doesn't do anything possibly since the 'last_component()'
function returns equal strings for both "f:\\Cygwin64" and
"h:\\Cygwin64". Or some issue with these new '*at()' functions?

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

then nothing more.

But diff 3.10 from Git-for-Windows works fine.
Since no '*at()' functions are used AFAICS.

--
--gv




reply via email to

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