diff options
Diffstat (limited to 'lib/libc/locale/table.c')
-rw-r--r-- | lib/libc/locale/table.c | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/lib/libc/locale/table.c b/lib/libc/locale/table.c index fb7344e..a24bbb7 100644 --- a/lib/libc/locale/table.c +++ b/lib/libc/locale/table.c @@ -32,14 +32,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * $Id$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/27/93"; #endif /* LIBC_SCCS and not lint */ -#include <sys/types.h> - #include <ctype.h> #include <rune.h> @@ -86,6 +86,41 @@ _RuneLocale _DefaultRuneLocale = { _L|_R|_G|_A, _L|_R|_G|_A, _L|_R|_G|_A, _L|_R|_G|_A, /*78*/ _L|_R|_G|_A, _L|_R|_G|_A, _L|_R|_G|_A, _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, _C, + +/* Populated from ISO 8859-1, attempt to not violate POSIX/ANSI */ + + /*80*/ _C, _C, _C, _C, + _C, _C, _C, _C, + /*88*/ _C, _C, _C, _C, + _C, _C, _C, _C, + /*90*/ _C, _C, _C, _C, + _C, _C, _C, _C, + /*98*/ _C, _C, _C, _C, + _C, _C, _C, _C, + /*A0*/ _B|_R, _P|_R|_G, _P|_R|_G, _P|_R|_G, + _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, + /*A8*/ _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, + _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, + /*B0*/ _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, + _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, + /*B8*/ _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, + _P|_R|_G, _P|_R|_G, _P|_R|_G, _P|_R|_G, + /*C0*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _R|_G, + /*C8*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _R|_G, + /*D0*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _P|_R|_G, + /*D8*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _R|_G, + /*E0*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _R|_G, + /*E8*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _R|_G, + /*F0*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _P|_R|_G, + /*F8*/ _R|_G, _R|_G, _R|_G, _R|_G, + _R|_G, _R|_G, _R|_G, _R|_G, }, { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, @@ -158,3 +193,5 @@ _RuneLocale _DefaultRuneLocale = { _RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale; int __mb_cur_max = 1; + +char *_PathLocale; |