PR/58282 CVS commit: src/lib/libcurses

"Brett Lymn" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR lib/58282; it has been noted by GNATS.

From: "Brett Lymn" <[email protected]>
To: [email protected]
Cc: 
Subject: PR/58282 CVS commit: src/lib/libcurses
Date: Mon, 29 Jun 2026 06:01:44 +0000

 Module Name:	src
 Committed By:	blymn
 Date:		Mon Jun 29 06:01:44 UTC 2026
 
 Modified Files:
 	src/lib/libcurses: cur_hash.c curses_private.h
 
 Log Message:
 Part of fix for PR lib/58282
 
 Force the type of the hash to be an unsigned int, the PJW hash was
 written expecting 32bit integers so ensure this is so.
 
 Also, don't hash NULL bytes, they mess up the hashing which, in turn,
 messes up quickch().
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.15 src/lib/libcurses/cur_hash.c
 cvs rdiff -u -r1.82 -r1.83 src/lib/libcurses/curses_private.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.