diff options
author | ache <ache@FreeBSD.org> | 1996-08-11 11:42:03 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-08-11 11:42:03 +0000 |
commit | bef006b8fce691d9a1efce1ebaab499612c07e0f (patch) | |
tree | 56af5c05e41691870a87802f8747246bbf879fad /lib/libc/regex/engine.c | |
parent | 286a76bdee0819fa63a83d2e2088c601183e7cb7 (diff) | |
download | FreeBSD-src-bef006b8fce691d9a1efce1ebaab499612c07e0f.zip FreeBSD-src-bef006b8fce691d9a1efce1ebaab499612c07e0f.tar.gz |
Use locale for character classes instead of hardcoded values
Misc 8bit cleanup
Diffstat (limited to 'lib/libc/regex/engine.c')
-rw-r--r-- | lib/libc/regex/engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/engine.c b/lib/libc/regex/engine.c index e7917b9..be569b1 100644 --- a/lib/libc/regex/engine.c +++ b/lib/libc/regex/engine.c @@ -1072,7 +1072,7 @@ int ch; { static char pbuf[10]; - if (isprint(ch) || ch == ' ') + if (isprint((uch)ch) || ch == ' ') sprintf(pbuf, "%c", ch); else sprintf(pbuf, "\\%o", ch); |