Paul Eggert wrote:
On 2023-08-01 02:59, Gisle Vanem via bug-diffutils via All diffutils
discussion. wrote:
What does this tell you guys about the 'diff --recursive'
behaviour on Windows?
Not being a MS-Windows person, it doesn't tell me much. You may have to delve further into the details, to see what is
going wrong and why, so that you can suggest concrete fixes.
I've finally managed GNU-diff (tip of master) to work on
Windows. It was a hellish issue with how an 'open(".",O_RDONLY)'
failed. Even 'getcwd(NULL,0)' could fail!
But 'diff.exe' now works except for this trailing '\' issue:
'diff -r . sub-dir' does work
'diff -r . sub-dir/' does work
'diff -r . sub-dir\' does not work
Any clue on that?
--
--gv