bug-gnulib
[Top][All Lists]
Advanced

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

Re: latest gcc vs lib/timespec.h:85


From: Paul Eggert
Subject: Re: latest gcc vs lib/timespec.h:85
Date: Sun, 29 Oct 2017 16:27:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

Jim Meyering wrote:
Here's a proposed patch:

I prefer 'assume' to 'assure' here, since it's a low-level time-comparison primitive and lots of other code in the module already silently assumes that the timestamps are valid. Also, while I was in the neighborhood I noticed that the cast is no longer needed, since the module provokes -Wconversion warnings in several other places now (and I expect nobody notices because nobody looks at those warnings any more). So I installed the attached followup.

Attachment: 0001-timespec-prefer-assume-to-assure.txt
Description: Text document


reply via email to

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