NetBSD-Bugs archive

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

Re: toolchain/59549: gdb is not ctype(3) safe



The following reply was made to PR toolchain/59549; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/59549: gdb is not ctype(3) safe
Date: Fri, 25 Jul 2025 11:42:22 +0200

 All the ctype usage in that source file looks wrong to me.
 
 Other parts of gdb carefully use ISLOWER() and simmilar macros (locale
 independent?) - not sure if that would be a good idea here.
 
 All the isupper(), islower(), isdigit() calls require a (unsigned char) cast.
 
 This should be reported upstream.
 
 Martin
 


Home | Main Index | Thread Index | Old Index