[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] globsort: handle int overflow in cmp functions
From: |
Chet Ramey |
Subject: |
Re: [PATCH] globsort: handle int overflow in cmp functions |
Date: |
Mon, 20 May 2024 10:27:19 -0400 |
User-agent: |
Mozilla Thunderbird |
On 5/20/24 10:07 AM, alex xmb sw ratchev wrote:
> FWIW, I was copying the approach from coreutils[1] and gnulib[2]:
Sure. I'm going to stick with code clarity and uniformity over micro
optimizations here. Maybe I could hide it in a macro.
an if overflow sounds like an important thing to code , an overall one
We're talking about different ways to avoid it.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
Re: [PATCH] globsort: handle int overflow in cmp functions, Andreas Schwab, 2024/05/20