eliminate need for "print" definition
By having space automatically classified as "print" type, we can eliminate the print section from ctype src files completely (they are just "graph" plus "<space>". Obtained from: Dragonfly
This commit is contained in:
parent
f5dde0166d
commit
8833f5e9c2
@ -338,6 +338,8 @@ dump_ctype(void)
|
||||
ctn->ctype |= _ISXDIGIT;
|
||||
if (strchr(" \t", (char)wc))
|
||||
ctn->ctype |= _ISBLANK;
|
||||
if (wc == ' ')
|
||||
ctn->ctype |= _ISPRINT;
|
||||
|
||||
/*
|
||||
* Technically these settings are only
|
||||
|
Loading…
Reference in New Issue
Block a user