NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/58282 CVS commit: src/lib/libcurses
The following reply was made to PR lib/58282; it has been noted by GNATS.
From: "Brett Lymn" <blymn%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
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.
Home |
Main Index |
Thread Index |
Old Index