From nobody@FreeBSD.ORG  Wed Sep 27 09:47:42 2000
Return-Path: <nobody@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
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: In Message Catalog System, message "currupt file" is wrong.
X-Send-Pr-Version: www-1.0

>Number:         21596
>Category:       misc
>Synopsis:       In Message Catalog System, message "currupt file" is wrong.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    phantom
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 27 09:50:00 PDT 2000
>Closed-Date:    Wed Sep 27 11:25:51 PDT 2000
>Last-Modified:  Wed Sep 27 11:26:41 PDT 2000
>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:
State-Changed-From-To: open->closed 
State-Changed-By: phantom 
State-Changed-When: Wed Sep 27 11:25:51 PDT 2000 
State-Changed-Why:  
Fixed. Thanks! 


Responsible-Changed-From-To: freebsd-bugs->phantom 
Responsible-Changed-By: phantom 
Responsible-Changed-When: Wed Sep 27 11:25:51 PDT 2000 
Responsible-Changed-Why:  
my fault :( 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21596 
>Unformatted:
