Catch up with ctype.h.
[dragonfly.git] / gnu / lib / gcc34 / libstdc++ / ctype_base.h.patch
CommitLineData
baf6276e 1$DragonFly: src/gnu/lib/gcc34/libstdc++/ctype_base.h.patch,v 1.2 2005/05/08 16:10:37 joerg Exp $
431eb98c
JS
2
3Index: ctype_base.h
4===================================================================
5RCS file: /cvs/src/contrib/gcc-3.4/libstdc++-v3/config/os/bsd/netbsd/ctype_base.h,v
6retrieving revision 1.3
7diff -u -r1.3 ctype_base.h
8--- config/os/bsd/netbsd/ctype_base.h 2 Mar 2005 00:56:21 -0000 1.3
9+++ config/os/bsd/netbsd/ctype_base.h 7 Mar 2005 17:38:44 -0000
baf6276e 10@@ -43,16 +43,16 @@
431eb98c
JS
11
12 // NB: Offsets into ctype<char>::_M_table force a particular size
13 // on the mask type. Because of this, we don't use an enum.
14- typedef unsigned char mask;
15+ typedef uint16_t mask;
16 static const mask upper = _U;
17 static const mask lower = _L;
baf6276e
JS
18- static const mask alpha = _U | _L;
19- static const mask digit = _N;
20- static const mask xdigit = _N | _X;
21+ static const mask alpha = _A;
22+ static const mask digit = _D;
23+ static const mask xdigit = _X;
24 static const mask space = _S;
25- static const mask print = _P | _U | _L | _N | _B;
26- static const mask graph = _P | _U | _L | _N;
27+ static const mask print = _R;
28+ static const mask graph = _G;
29 static const mask cntrl = _C;
30 static const mask punct = _P;
31- static const mask alnum = _U | _L | _N;
32+ static const mask alnum = _A | _D;
33 };