[Bug 274032] Regression after stable/12: grep: trailing backslash (\)
Date: Sat, 30 Sep 2023 02:53:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274032
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=25307d6c927934dd44628e06cbc7047415fb6931
commit 25307d6c927934dd44628e06cbc7047415fb6931
Author: Christos Zoulas <christos@NetBSD.org>
AuthorDate: 2023-08-30 20:37:24 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-09-30 01:41:57 +0000
regcomp: use unsigned char when testing for escapes
- cast GETNEXT to unsigned where it is being promoted to int to prevent
sign-extension (really it would have been better for PEEK*() and
GETNEXT() to return unsigned char; this would have removed a ton of
(uch) casts, but it is too intrusive for now).
- fix an isalpha that should have been iswalpha
PR: 264275, 274032
Reviewed by: kevans, eugen (previous version)
Obtained from: NetBSD
(cherry picked from commit 3fb80f1476c7776f04ba7ef6d08397cef6abcfb0)
lib/libc/regex/regcomp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.