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
