implements macro version of isblank(3) and increase _ctype_ table 8bit -> 16bit.

Issue #18 closed
Takehiko NOZAKI repo owner created an issue

https://mail-index.netbsd.org/tech-userlevel/2011/03/21/msg004737.html

our ctype.h doesn't supply macro version of isblankI(3). because ctype table is 8bit, it can not afford to reserve a bit for blank character. (isblank is frequently called from shell, editor and so on, providing macro version is important, i think)

Comments (5)

  1. Takehiko NOZAKI reporter

    beware, this change is not MFC(merge from -current), why difference? because:

    • ctype_bits.h rev1.2 change(Prefix ctype bitmask macros with _CTYPE) is stupid change that breaks build of vanila libstdc++, so i revert it.
    • make _CTYPE prefix is only for new 16 bit table's bit.
    • the change from BUILDCOLD to BUILD_LEGACY Makefile knob in -current is completely stupid change.
    • BUILDCOLD trick aims to build libc.so.12 and libc.so.13 from same source tree.
    • but BULD_LEGACY is only deletion mark after bumping libc.so.13.
  2. Log in to comment