Skip to content

Commit 2993880

Browse files
Pull up following revision(s) (requested by wiz in ticket #42):
external/gpl2/texinfo/dist/info/display.c: revision 1.2 info(1): fix ctype(3) usage to avoid coredump
1 parent 786b884 commit 2993880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external/gpl2/texinfo/dist/info/display.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: display.c,v 1.1.1.1 2016/01/14 00:11:29 christos Exp $ */
1+
/* $NetBSD: display.c,v 1.1.1.1.30.1 2025/10/01 17:08:00 martin Exp $ */
22

33
/* display.c -- How to display Info windows.
44
Id: display.c,v 1.7 2004/04/11 17:56:45 karl Exp
@@ -166,7 +166,7 @@ display_update_one_window (WINDOW *win)
166166
char *rep = NULL, *rep_carried_over, rep_temp[2];
167167
int replen;
168168

169-
if (isprint (*nodetext))
169+
if (isprint ((unsigned char)*nodetext))
170170
{
171171
rep_temp[0] = *nodetext;
172172
replen = 1;

0 commit comments

Comments
 (0)