This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gold: save file mtime in .gnu_incremental_inputs


Mikolaj Zalewski <mikolajz@google.com> writes:

> On Tue, Jun 23, 2009 at 12:06 AM, Ian Lance Taylor<iant@google.com> wrote:
>> Mikolaj Zalewski <mikolajz@google.com> writes:
>>> Â I'm not know too much portability - is st_mtim generic enough so
>>> that I can use it, or does it require a configure check? I've also
>>> fixed some members references without this-> that I let slip in the
>>> previous patch.
>>
>> st_mtim is not portable, and not very many systems support it. Âst_mtime
>> is portable.
>   st_mtime doesn't give information about nanoseconds part. Can I just
> ignore it for now?

For now, sure.  Eventually we do should indeed do a configure test for
it.  One-second resolution is not sufficiently precise on a modern
system.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]