the issue little more complex for me because iam using diff from git-windows package where git/diff compiled with mingw cygwin depend dll and doest use stat from diff
today iam post to cygwin maillist and seems guys dont want to fix this, they decide the problem more complex and has many corners so will be nice to improve diff for windows without touch "stat" call may be will possible change some logic into diff for windows 2021-04-29 20:00 GMT+03:00, Paul Eggert <egg...@cs.ucla.edu>: > On 4/29/21 8:16 AM, drever...@gmail.com wrote: >> so i propose little fix for this >> just edit at the file diffutils-3.7\lib\stat-w32.c >> >> to "buf->st_dev" after assign "VolumeSerialNumber" >> add disk drive letter > > Thanks for the suggestion. Although I don't use MS-Windows I will cc > this email to someone who knows how stat-w32.c works. Bruno, you can see > the thread here: > > https://bugs.gnu.org/48081 >