From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 21 12:20:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 511C616A4D9 for ; Thu, 21 Aug 2003 12:20:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CF1B43FFD for ; Thu, 21 Aug 2003 12:20:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7LJKGUp078006 for ; Thu, 21 Aug 2003 12:20:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7LJKGPP078005; Thu, 21 Aug 2003 12:20:16 -0700 (PDT) Resent-Date: Thu, 21 Aug 2003 12:20:16 -0700 (PDT) Resent-Message-Id: <200308211920.h7LJKGPP078005@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, liukange@263.net Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A077E16A4BF for ; Thu, 21 Aug 2003 12:14:59 -0700 (PDT) Received: from bjpu.edu.cn (solaris.bjpu.edu.cn [202.112.78.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF67843F75 for ; Thu, 21 Aug 2003 12:14:57 -0700 (PDT) (envelope-from liukang@bjpu.edu.cn) Received: (eyou send program); Thu, 21 Aug 2003 21:17:27 +0800 Received: from 202.112.78.224 by mail.bjpu.edu.cn with HTTP; Thu, 21 Aug 2003 21:17:27 +0800 Message-Id: <20030821191457.DF67843F75@mx1.FreeBSD.org> Date: Thu, 21 Aug 2003 21:17:27 +0800 From: "Liu Kang" To: FreeBSD-gnats-submit@FreeBSD.org cc: ache@FreeBSD.org Subject: misc/55853: [patch]Fix ascii compatible problem in zh_CN.GB18030.src X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: liukange@263.net List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 19:20:23 -0000 >Number: 55853 >Category: misc >Synopsis: [patch]Fix ascii compatible problem in zh_CN.GB18030.src >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 21 12:20:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kang Liu >Release: FreeBSD 5.1-CURRENT i386 >Organization: Beijing University of Technology >Environment: System: FreeBSD 5.1-CURRENT Shell: csh >Description: There might be something wrong in src/share/mklocale/zh_CN.GB18030.src. When set "LC_ALL=zh_CN.GB18030", some general commands may broken. This problem is noticed by: bfdream.bbs@smth.org >How-To-Repeat: set "LC_ALL=zh_CN.GB18030" run "man gb18030","cd -" and so on, you would probably get the following result: # man gb18030 There is no -E option ("less --help" for help) Error executing formatting or display command. system command exited with status 256 There is no -E option ("less --help" for help) Error executing formatting or display command. system command exited with status 256 No manual entry for gb18030 # >Fix: --- zh_CN.GB18030.src.orig Thu Aug 21 18:54:03 2003 +++ zh_CN.GB18030.src Thu Aug 21 20:40:34 2003 @@ -37,22 +37,21 @@ /* * ASCII compatible */ -ALPHA 0x41 - 0x5a 0x61 - 0x7a -BLANK 0x9 0xb 0x20 -CONTROL 0x0 - 0x1f 0x7f -DIGIT 0x30 - 0x39 -LOWER 0x61 - 0x7a -MAPLOWER < 0x61 - 0x7a : 0x41 > -MAPUPPER < 0x41 - 0x5a : 0x61 > -PRINT 0x20 +ALPHA 'A' - 'Z' 'a' - 'z' +BLANK ' ' '\t' '\v' +CONTROL 0x00 - 0x1f 0x7f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e +LOWER 'a' - 'z' +MAPLOWER < 'A' - 'Z' : 'a' > < 'a' - 'z' : 'a' > +MAPUPPER < 'A' - 'Z' : 'A' > < 'a' - 'z' : 'A' > +PRINT 0x20 - 0x7e PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e -SPACE 0x9 - 0xd 0x20 -TODIGIT < 0x30 - 0x39 : 0x0000 > -TODIGIT < 0x41 - 0x46 : 10 > -TODIGIT < 0x61 - 0x66 : 10 > -UPPER 0x41 - 0x5a -XDIGIT 0x30 - 0x39 0x41 - 0x46 0x61 - 0x66 - +SPACE 0x09 - 0x0d 0x20 +TODIGIT < '0' - '9' : 0 > +TODIGIT < 'A' - 'F' : 10 > < 'a' - 'f' : 10 > +UPPER 'A' - 'Z' +XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F' /* * GBK compatible */ >Release-Note: >Audit-Trail: >Unformatted: