bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/23153] gas: distinct input and output files are not properly de


From: pexu at sourceware dot mail.kapsi.fi
Subject: [Bug gas/23153] gas: distinct input and output files are not properly detected on not-fully-emulated POSIX platforms
Date: Mon, 14 May 2018 11:39:16 +0000

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.


reply via email to

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