Page MenuHomeFreeBSD

D41947.1775615696.diff
No OneTemporary

Size
571 B
Referenced Files
None
Subscribers
None

D41947.1775615696.diff

diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c
--- a/lib/libc/regex/regcomp.c
+++ b/lib/libc/regex/regcomp.c
@@ -828,7 +828,7 @@
handled = false;
assert(MORE()); /* caller should have ensured this */
- c = GETNEXT();
+ c = (uch)GETNEXT();
if (c == '\\') {
(void)REQUIRE(MORE(), REG_EESCAPE);
cc = GETNEXT();
@@ -1302,7 +1302,7 @@
if ((p->pflags & PFLAG_LEGACY_ESC) != 0)
return (true);
- if (isalpha(ch) || ch == '\'' || ch == '`')
+ if (iswalpha(ch) || ch == '\'' || ch == '`')
return (false);
return (true);
#ifdef NOTYET

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 8, 2:34 AM (6 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28297385
Default Alt Text
D41947.1775615696.diff (571 B)

Event Timeline