Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2023 04:46:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274032] Regression after stable/12: grep: trailing backslash (\)
Message-ID:  <bug-274032-227-dK4Lr5qxKg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274032-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274032

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch releng/14.0 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=408daf2caa9273b1cbdc8223a3da6e179e922fc2

commit 408daf2caa9273b1cbdc8223a3da6e179e922fc2
Author:     Christos Zoulas <christos@NetBSD.org>
AuthorDate: 2023-08-30 20:37:24 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-10-01 04:46:02 +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)
    Approved by:    re (gjb)
    Obtained from:  NetBSD

    (cherry picked from commit 3fb80f1476c7776f04ba7ef6d08397cef6abcfb0)
    (cherry picked from commit 56b09feb23d98fcd0c4aed8d4f907a5a2f6b5ea9)

 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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274032-227-dK4Lr5qxKg>