GNU bug report logs - #48081
diff on windows doest work with same path but different drives

Previous Next

Package: diffutils;

Reported by: dreverser <at> gmail.com

Date: Wed, 28 Apr 2021 14:23:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: dreverser <at> gmail.com
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 48081 <at> debbugs.gnu.org, Bruno Haible <bruno <at> clisp.org>
Subject: bug#48081: [bug-diffutils] bug#48081: Acknowledgement (diff on windows doest work with same path but different drives)
Date: Thu, 29 Apr 2021 22:57:15 +0300
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 <eggert <at> cs.ucla.edu>:
> On 4/29/21 8:16 AM, dreverser <at> 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
>




This bug report was last modified 4 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.