https://sourceware.org/bugzilla/show_bug.cgi?id=23153

--- Comment #4 from Pekka Seppänen <pexu at sourceware dot mail.kapsi.fi> ---
(In reply to Nick Clifton from comment #3)
> Hi Pekka,
> 
> Can you confirm that MingW always returns 0 for the st_dev field as well ?
> (I assume that it does, but I would like to make sure).  If so then I
> will apply the patch modified as you suggest.
> 

No, MinGW populates the st_dev field with some apparently non-random value
(i.e. might be zero or not, but it's not always zero). I didn't check from what
it acquires or derives that value, but it's neither always zero nor the same
what Cygwin's stat() will return.

Only the st_ino is always zero, which is indeed a bit shame.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to