bug-gnulib
[Top][All Lists]
Advanced

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

RE: Windows same_file macro not reliable/usable when using Visual Stdudi


From: Kees Dekker
Subject: RE: Windows same_file macro not reliable/usable when using Visual Stdudio
Date: Mon, 27 Feb 2017 07:38:38 +0000

>A simpler solution would be to return zero from same_file if both
>files have inode values of zero.  I think such values are impossible
>on Posix systems, but if they are, then this could be a Windows
>specific definition of the macro (system.h in Diffutils is already
>prepared to support a build which defines a non-default macro).

>There's no such easy solution for same_file_attributes, but AFAICT
>that macro is only called by Diffutils if same_file returns non-zero,
>so taking care of the latter will also resolve the problem with the
>former.

That's exactly what I did. If I have time, I will try to create (for me for the 
first time) a gitthub change (it is on my TODO list), but it will take time.





reply via email to

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