Bug #5238
iswgraph(L'a') returns 0, but iswctype(L'a', wctype("graph")) nonzero
Start date:
2014-10-16
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Description
Happens on OmniOS r151012 and OI hipster (illumos-f8554bb), but not on OmniOS r151006, so seems to be a regression.
History
Updated by Garrett D'Amore about 5 years ago
Regression introduced with 2964.
Bug is in iswctype.c:
DEFN_ISWTYPE(graph, _CTYPE_D)
That should read
DEFN_ISWTYPE(graph, _CTYPE_G)
Updated by Lauri Tirkkonen about 5 years ago
- Status changed from New to In Progress
- Assignee set to Lauri Tirkkonen
I'll look into writing some tests for the classifications of the portable character set as part of this.
Updated by Electric Monk about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit 81cc999477f2f5f0896ee349f6ec8fc2f804ece3
commit 81cc999477f2f5f0896ee349f6ec8fc2f804ece3 Author: Lauri Tirkkonen <lotheac@iki.fi> Date: 2014-10-24T14:41:34.000Z 5238 iswgraph(L'a') returns 0, but iswctype(L'a', wctype("graph")) nonzero Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: David Höppner <0xffea@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>