Apparently, as described in the PR, characters from those ranges are widely used as "printable", mark as them as "graph" as well (as some of those were previously).
Details
Details
Using the reproducer from the PR.
Pre:
$ ./c alnum:0x400100, cntrl:0x200, ideogram:0x80000, print:0x40000, space:0x4000, xdigit:0x10000, alpha:0x100, digit:0x400, low er:0x1000, punct:0x2000, special:0x100000, blank:0x20000, graph:0x800, phonogram:0x200000, rune:0xffffff00, upper:0x8000, Default Locale is: C Character d 0x64 is in classes: alnum print xdigit alpha lower graph rune in C locale, iswprint(0x64) = 1 in en_US.UTF-8 locale, iswprint(0x64) = 1 in ja_JP.UTF-8 locale, iswprint(0x64) = 1 Character 0xe0b1 is in classes: cntrl rune in C locale, iswprint(0xe0b1) = 0 in en_US.UTF-8 locale, iswprint(0xe0b1) = 0 in ja_JP.UTF-8 locale, iswprint(0xe0b1) = 0 Character 0xe0b2 is in classes: cntrl rune in C locale, iswprint(0xe0b2) = 0 in en_US.UTF-8 locale, iswprint(0xe0b2) = 0 in ja_JP.UTF-8 locale, iswprint(0xe0b2) = 0 Character 0xe0b3 is in classes: cntrl rune in C locale, iswprint(0xe0b3) = 0 in en_US.UTF-8 locale, iswprint(0xe0b3) = 0 in ja_JP.UTF-8 locale, iswprint(0xe0b3) = 0 Character 0xe0b0 is in classes: cntrl rune in C locale, iswprint(0xe0b0) = 0 in en_US.UTF-8 locale, iswprint(0xe0b0) = 0 in ja_JP.UTF-8 locale, iswprint(0xe0b0) = 0
Post:
$ ./c alnum:0x400100, cntrl:0x200, ideogram:0x80000, print:0x40000, space:0x4000, xdigit:0x10000, alpha:0x100, digit:0x400, low er:0x1000, punct:0x2000, special:0x100000, blank:0x20000, graph:0x800, phonogram:0x200000, rune:0xffffff00, upper:0x8000, Default Locale is: C Character d 0x64 is in classes: alnum print xdigit alpha lower graph rune in C locale, iswprint(0x64) = 1 in en_US.UTF-8 locale, iswprint(0x64) = 1 in ja_JP.UTF-8 locale, iswprint(0x64) = 1 Character 0xe0b1 is in classes: print graph rune in C locale, iswprint(0xe0b1) = 0 in en_US.UTF-8 locale, iswprint(0xe0b1) = 1 in ja_JP.UTF-8 locale, iswprint(0xe0b1) = 1 Character 0xe0b2 is in classes: print graph rune in C locale, iswprint(0xe0b2) = 0 in en_US.UTF-8 locale, iswprint(0xe0b2) = 1 in ja_JP.UTF-8 locale, iswprint(0xe0b2) = 1 Character 0xe0b3 is in classes: print graph rune in C locale, iswprint(0xe0b3) = 0 in en_US.UTF-8 locale, iswprint(0xe0b3) = 1 in ja_JP.UTF-8 locale, iswprint(0xe0b3) = 1 Character 0xe0b0 is in classes: print graph rune in C locale, iswprint(0xe0b0) = 0 in en_US.UTF-8 locale, iswprint(0xe0b0) = 1 in ja_JP.UTF-8 locale, iswprint(0xe0b0) = 1
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped