| From | Sent On | Attachments |
|---|---|---|
| to...@puyo.org | Sep 27, 2000 9:47 am | |
| phan...@FreeBSD.org | Sep 27, 2000 11:26 am |
| Subject: | misc/21596: In Message Catalog System, message "currupt file" is wrong. | |
|---|---|---|
| From: | to...@puyo.org (to...@puyo.org) | |
| Date: | Sep 27, 2000 9:47:20 am | |
| List: | org.freebsd.freebsd-bugs | |
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 majo...@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message





