]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: speed up converting strings to uuint
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Jul 2025 17:36:04 +0000 (10:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 00:12:40 +0000 (17:12 -0700)
commitbbca1c106ce5728cfabff04d32055c2122489457
tree5680cdb64a8d08a87b2707d3e1e4e333739e820d
parent035b837146ec972d2a0603d6429727863f9b6a41
factor: speed up converting strings to uuint

* src/factor.c: Do not include c-ctype.h.
(strtouuint): Don’t bother generating a number on
error; just return a strtol_error value other than LONGINT_OK.
Speed up overflow checking.
src/factor.c