GNU bug report logs - #74196
maint: assume proper behavior of tolower

Previous Next

Package: gzip;

Reported by: Collin Funk <collin.funk1 <at> gmail.com>

Date: Sun, 3 Nov 2024 23:48:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Collin Funk <collin.funk1 <at> gmail.com>
To: bug-gzip <at> gnu.org
Subject: maint: assume proper behavior of tolower
Date: Sun, 03 Nov 2024 15:47:22 -0800
[Message part 1 (text/plain, inline)]
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

[0001-maint-assume-proper-behavior-of-tolower.patch (text/x-patch, attachment)]

This bug report was last modified 214 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.