bug#74196: maint: assume proper behavior of tolower

2024-11-03 Thread Collin Funk
Some pre-standard C implementations of tolower had undefined behavior if the character passed to it was not an uppercase character. This patch removes the isupper check before calling tolower since any reasonable platform will behave correctly. Collin >From 118dba90c89a97c4343bbf6afd19c2c9291948

bug#74192: [PATCH] build: update gnulib to latest, to enable faster crc

2024-11-03 Thread Sam Russell
perfect, no rush, just wanted to confirm that I have a local build from head that works On Sun, Nov 3, 2024, 20:57 Paul Eggert wrote: > On 2024-11-03 01:52, Sam Russell wrote: > > * lib/striconv.c (str_iconv): Remove glibc-2.1 bug workaround. > > * lib/striconveh.c (iconveh_open): Like

bug#74192: [PATCH] build: update gnulib to latest, to enable faster crc

2024-11-03 Thread Paul Eggert
On 2024-11-03 01:52, Sam Russell wrote: * lib/striconv.c (str_iconv): Remove glibc-2.1 bug workaround. * lib/striconveh.c (iconveh_open): Likewise. Not sure if that means glibc 2.1 is deprected, I think it does, but we don't need to worry about that. Thanks for the heads-up. I have

bug#74192: [PATCH] build: update gnulib to latest, to enable faster crc

2024-11-03 Thread Sam Russell
Hi, This patch updates to the latest version of gnulib and speeds up gzip by about ~35%: $ time ./gzip_old -c -d -k large_file.gz > /dev/null real0m0.502s user0m0.473s sys 0m0.030s $ time ./gzip_new -c -d -k large_file.gz > /dev/null real0m0.318s user0m0.303s sys 0m0.010