From owner-cvs-include Wed Sep 24 13:43:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA25858 for cvs-include-outgoing; Wed, 24 Sep 1997 13:43:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA25800; Wed, 24 Sep 1997 13:42:55 -0700 (PDT) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id NAA29837; Wed, 24 Sep 1997 13:38:12 -0700 (PDT) Date: Wed, 24 Sep 1997 13:38:12 -0700 (PDT) Message-Id: <199709242038.NAA29837@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/include ctype.h src/lib/libc/db/man Makefile.inc src/lib/libc/locale mskanji.c Makefile.inc isctype.c setrunelocale.c src/usr.bin/mklocale/data ja_JP.SJIS.src Makefile Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 1997/09/24 13:38:12 PDT Modified files: include ctype.h lib/libc/db/man Makefile.inc lib/libc/locale Makefile.inc isctype.c setrunelocale.c usr.bin/mklocale/data Makefile Added files: lib/libc/locale mskanji.c usr.bin/mklocale/data ja_JP.SJIS.src Log: Submitted by: Sin'ichiro MIYATANI / Phase One, Inc Basic support for the Shift JIS encoding of japanese. (and one tiny typo fixed in a comment) Revision Changes Path 1.9 +10 -1 src/include/ctype.h 1.5 +1 -1 src/lib/libc/db/man/Makefile.inc 1.9 +2 -2 src/lib/libc/locale/Makefile.inc 1.3 +8 -0 src/lib/libc/locale/isctype.c 1.11 +3 -0 src/lib/libc/locale/setrunelocale.c 1.10 +2 -1 src/usr.bin/mklocale/data/Makefile From owner-cvs-include Wed Sep 24 14:57:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA00996 for cvs-include-outgoing; Wed, 24 Sep 1997 14:57:36 -0700 (PDT) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA00950; Wed, 24 Sep 1997 14:57:13 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id BAA25139; Thu, 25 Sep 1997 01:57:10 +0400 (MSD) Date: Thu, 25 Sep 1997 01:57:10 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Julian Elischer cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/include ctype.h src/lib/libc/db/man Makefile.inc src/lib/libc/locale mskanji.c Makefile.inc isctype.c setrunelocale.c src/usr.bin/mklocale/data ja_JP.SJIS.src Makefile In-Reply-To: <199709242038.NAA29837@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 24 Sep 1997, Julian Elischer wrote: > lib/libc/locale Makefile.inc isctype.c setrunelocale.c MSKanji should be moved under XPG4 define (like EUC) since our libc is not yet 16bit clean. Setting LANG to MSKanji will cause great damage for all non-X11 programs - it was the reason why separate library was created - only for programs which are 16bit aware, not for standard 8bit programs. Please fix or let me. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ From owner-cvs-include Wed Sep 24 19:20:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA17004 for cvs-include-outgoing; Wed, 24 Sep 1997 19:20:51 -0700 (PDT) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA16959; Wed, 24 Sep 1997 19:20:36 -0700 (PDT) Received: from spinner.netplex.com.au (localhost.dialix.com.au [127.0.0.1]) by spinner.netplex.com.au with ESMTP id KAA01317; Thu, 25 Sep 1997 10:20:09 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199709250220.KAA01317@spinner.netplex.com.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: Julian Elischer , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/include ctype.h src/lib/libc/db/man Makefile.inc src/lib/libc/locale mskanji.c Makefile.inc isctype.c setrunelocale.c src/usr.bin/mklocale/data ja_JP.SJIS.src Makefile In-reply-to: Your message of "Thu, 25 Sep 1997 01:57:10 +0400." Date: Thu, 25 Sep 1997 10:20:08 +0800 From: Peter Wemm Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote: > On Wed, 24 Sep 1997, Julian Elischer wrote: > > > lib/libc/locale Makefile.inc isctype.c setrunelocale.c > > MSKanji should be moved under XPG4 define (like EUC) since our libc is not > yet 16bit clean. Setting LANG to MSKanji will cause great damage for all > non-X11 programs - it was the reason why separate library was created - > only for programs which are 16bit aware, not for standard 8bit programs. > Please fix or let me. Not only that, but this commit breaks the build!! After rebuilding includes (and triple checking), the ctype.h file preprocesses as: static __inline int __maskrune(_BSD_RUNE_T_ c, unsigned long f) { return(((c & (~((1 <<8 ) - 1)) ) ? ___runetype(c) : _CurrentRuneLocale->runetype[c]) & f); } from (at least) usr.bin/systat/cmds.c. cmds.c #includes the following in this order: #include #include #include #include I suspect this happens because of: #ifdef _BSD_RUNE_T_ typedef _BSD_RUNE_T_ rune_t; #undef _BSD_RUNE_T_ ^^^^^^^^^^^^^^^^^^^^ #endif #endif and _BSD_RUNE_T_ is used explicitly in ctype.h.. It was #defined once in but won't be redefined again a second time due to the multiple include protection. Cheers, -Peter -- Peter Wemm Netplex Consulting From owner-cvs-include Wed Sep 24 20:11:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA19668 for cvs-include-outgoing; Wed, 24 Sep 1997 20:11:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA19641; Wed, 24 Sep 1997 20:11:05 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id UAA03867; Wed, 24 Sep 1997 20:06:20 -0700 (PDT) Date: Wed, 24 Sep 1997 20:06:20 -0700 (PDT) Message-Id: <199709250306.UAA03867@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG Subject: cvs commit: src/include ctype.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/09/24 20:06:20 PDT Modified files: include ctype.h Log: Bandaid for the build-breaking reference to _BSD_RUNE_T_. I'm not sure that this is right, but the old reference defaintely was not. Revision Changes Path 1.10 +3 -3 src/include/ctype.h From owner-cvs-include Wed Sep 24 20:16:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA19880 for cvs-include-outgoing; Wed, 24 Sep 1997 20:16:44 -0700 (PDT) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA19865; Wed, 24 Sep 1997 20:16:23 -0700 (PDT) Received: from spinner.netplex.com.au (localhost.dialix.com.au [127.0.0.1]) by spinner.netplex.com.au with ESMTP id LAA01917; Thu, 25 Sep 1997 11:16:15 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199709250316.LAA01917@spinner.netplex.com.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Peter Wemm cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG Subject: Re: cvs commit: src/include ctype.h In-reply-to: Your message of "Wed, 24 Sep 1997 20:06:20 MST." <199709250306.UAA03867@freefall.freebsd.org> Date: Thu, 25 Sep 1997 11:16:14 +0800 From: Peter Wemm Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > peter 1997/09/24 20:06:20 PDT > > Modified files: > include ctype.h > Log: > Bandaid for the build-breaking reference to _BSD_RUNE_T_. I'm not sure > that this is right, but the old reference defaintely was not. ^^^^^^^^^^ Urk, I definately need more coffee.. :-) Cheers, -Peter -- Peter Wemm Netplex Consulting From owner-cvs-include Thu Sep 25 15:33:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA18270 for cvs-include-outgoing; Thu, 25 Sep 1997 15:33:55 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA18212; Thu, 25 Sep 1997 15:32:40 -0700 (PDT) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA23326; Thu, 25 Sep 1997 15:27:47 -0700 (PDT) Date: Thu, 25 Sep 1997 15:27:47 -0700 (PDT) Message-Id: <199709252227.PAA23326@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG Subject: cvs commit: src/include ctype.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/09/25 15:27:47 PDT Modified files: include ctype.h Log: Fix digittoint broken long ago Redesign to allow digittoint work for runes too __maskrune removed, __istype become a macro, __runeflags added Revision Changes Path 1.11 +8 -14 src/include/ctype.h From owner-cvs-include Thu Sep 25 15:50:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA19200 for cvs-include-outgoing; Thu, 25 Sep 1997 15:50:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA19075; Thu, 25 Sep 1997 15:49:17 -0700 (PDT) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA23393; Thu, 25 Sep 1997 15:44:25 -0700 (PDT) Date: Thu, 25 Sep 1997 15:44:25 -0700 (PDT) Message-Id: <199709252244.PAA23393@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG Subject: cvs commit: src/include ctype.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/09/25 15:44:25 PDT Modified files: include ctype.h Log: Oops, wrong version of digittoint fix was commited, step back to v1.8 instead just remove '!!' to make digittoint() work and re-arrange things a little Revision Changes Path 1.12 +6 -8 src/include/ctype.h From owner-cvs-include Fri Sep 26 21:29:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA23120 for cvs-include-outgoing; Fri, 26 Sep 1997 21:29:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA22936; Fri, 26 Sep 1997 21:27:51 -0700 (PDT) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA23039; Fri, 26 Sep 1997 21:22:49 -0700 (PDT) Date: Fri, 26 Sep 1997 21:22:49 -0700 (PDT) Message-Id: <199709270422.VAA23039@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG Subject: cvs commit: src/include ctype.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/09/26 21:22:49 PDT Modified files: include ctype.h Log: 1) Bring '!!' back since we wan't overflow even a char 2) Revive __maskrune, just return mask now 3) Express __istype via !!__maskrune 4) Use __maskrune in digittoint Revision Changes Path 1.13 +19 -17 src/include/ctype.h From owner-cvs-include Fri Sep 26 21:36:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA23700 for cvs-include-outgoing; Fri, 26 Sep 1997 21:36:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA23613; Fri, 26 Sep 1997 21:35:54 -0700 (PDT) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA23076; Fri, 26 Sep 1997 21:30:52 -0700 (PDT) Date: Fri, 26 Sep 1997 21:30:52 -0700 (PDT) Message-Id: <199709270430.VAA23076@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG Subject: cvs commit: src/include ctype.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/09/26 21:30:51 PDT Modified files: include ctype.h Log: Oops, fix typo in istype definition Revision Changes Path 1.14 +1 -1 src/include/ctype.h