Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2000 09:47:42 -0700 (PDT)
From:      toga@puyo.org
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/21596: In Message Catalog System, message "currupt file" is wrong.
Message-ID:  <20000927164742.D60B937B43C@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000927164742.D60B937B43C>