From owner-freebsd-bugs Wed Sep 27 9:50: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1442937B423 for ; Wed, 27 Sep 2000 09:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA75181; Wed, 27 Sep 2000 09:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id D60B937B43C; Wed, 27 Sep 2000 09:47:42 -0700 (PDT) Message-Id: <20000927164742.D60B937B43C@hub.freebsd.org> Date: Wed, 27 Sep 2000 09:47:42 -0700 (PDT) From: toga@puyo.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/21596: In Message Catalog System, message "currupt file" is wrong. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21596 >Category: misc >Synopsis: In Message Catalog System, message "currupt file" is wrong. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 27 09:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: TOGAWA Satoshi >Release: 4-STABLE >Organization: Tohoku UNIV. >Environment: FreeBSD cel.sd.puyo.org 4.1.1-STABLE FreeBSD 4.1.1-STABLE #7: Thu Sep 28 00:57:42 JST 2000 root@:/usr/src/sys/compile/CEL i386 >Description: In /usr/src/lib/libc/nls/msgcat.c , There is a wrong message "%s: currupt file." in macro CORRUPT(). I think it will be "%s: corrupt file." . >How-To-Repeat: >Fix: *** /usr/src/lib/libc/nls/msgcat.c Tue Sep 26 17:04:28 2000 --- ./msgcat.c Thu Sep 28 01:31:38 2000 *************** *** 303,309 **** /* Note that only malloc failures are allowed to return an error */ static char* _errowner = "Message Catalog System";; #define CORRUPT() { \ ! fprintf(stderr, "%s: currupt file.", _errowner); \ free(cat); \ NLRETERR(EINVAL); \ } --- 303,309 ---- /* Note that only malloc failures are allowed to return an error */ static char* _errowner = "Message Catalog System";; #define CORRUPT() { \ ! fprintf(stderr, "%s: corrupt file.", _errowner); \ free(cat); \ NLRETERR(EINVAL); \ } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message