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:
Baptiste Daroussin 2015-10-13 20:45:29 +00:00
parent f5dde0166d
commit 8833f5e9c2

View File

@ -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