bug-gzip
[Top][All Lists]
Advanced

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

bug#74196: maint: assume proper behavior of tolower


From: Simon Josefsson
Subject: bug#74196: maint: assume proper behavior of tolower
Date: Tue, 05 Nov 2024 10:01:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Collin Funk <collin.funk1@gmail.com> writes:

> -#  define casemap(c) tolow(c) /* Force file names to lower case */

This is for MSDOS/OS2/WIN32/ATARI only as far as I can tell -- do we
know that tolower() works as expected on these architectures?  What
problem is caused by the current behaviour?  I think it would be nice to
establish that first.

> @@ -228,7 +228,7 @@ strlwr (char *s)
...
> -      *t = tolow ((unsigned char) *t);
> +      *t = tolower ((unsigned char) *t);

This changes strlwr(), it would be good to audit all usages of it to
understand impact of a change.

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

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