This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] |
On 05/10/2018 04:04 AM, Paul Eggert wrote:
On 05/08/2018 07:29 AM, Florian Weimer wrote:Ah. I'm dropping the check of BYTE_ORDER.Thanks, this looks good to me. One minor suggestion. This line: i = (transitions[num_transitions - 1] - timer) / 15778476;is now trickier than it used to be. Although the code still works since it's just computing a guess, this new behavior might be worth a comment, something along the lines "If size_t is 32 bits the assignment to I could in theory overflow and wrap around, but this is harmless."
Thanks, I added a comment and pushed thechange. Florian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |