[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Windows same_file macro not reliable/usable when using Visual Stdudi
RE: Windows same_file macro not reliable/usable when using Visual Stdudio
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
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.