summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-05-14 00:11:02 +0000
committerache <ache@FreeBSD.org>1997-05-14 00:11:02 +0000
commit07d84668b5a2a07896b87f9386a782c2c17834f9 (patch)
tree388d034f97293e931a8f8f2378db2f97c286ed38 /lib
parent045a1cc0a4dd1c96f52e16bc54fe53f9c8b0fe3f (diff)
downloadFreeBSD-src-07d84668b5a2a07896b87f9386a782c2c17834f9.zip
FreeBSD-src-07d84668b5a2a07896b87f9386a782c2c17834f9.tar.gz
Completely remove #ifdefed out 8859-1 extension, I found it break
POSIX, C locale definition, see LC_CTYPE pre-defined table there
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/table.c40
1 files changed, 1 insertions, 39 deletions
diff --git a/lib/libc/locale/table.c b/lib/libc/locale/table.c
index dbcc3e9..00f80d7 100644
--- a/lib/libc/locale/table.c
+++ b/lib/libc/locale/table.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: table.c,v 1.9 1997/02/22 14:59:57 peter Exp $
+ * $Id: table.c,v 1.10 1997/05/13 11:19:26 ache Exp $
*/
#if defined(LIBC_SCCS) && !defined(lint)
@@ -86,44 +86,6 @@ _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,
-
-#ifdef C_LOCALE_EXTEND_TO_8859_1 /* can broke some programs */
-
-/* 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,
-#endif /* C_LOCALE_EXTEND_TO_8859_1 */
},
{ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
OpenPOWER on IntegriCloud