Date: 25 Oct 1998 09:10:35 +0900 From: sada@e-mail.ne.jp To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/8437: libc/locale/ansi.c problem Message-ID: <19981025001035.11336.qmail@sada.e-mail.ne.jp>
next in thread | raw e-mail | index | archive | help
>Number: 8437 >Category: bin >Synopsis: libc/locale/ansi.c problem >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 24 17:20:01 PDT 1998 >Last-Modified: >Originator: SADA Kenji >Organization: Nagoya.Aichi.Japan >Release: FreeBSD 3.0-CURRENT >Environment: FreeBSD 3.0-CURRENT #0: Sun Oct 25 05:38:45 JST 1998 XFree86 3.3.2.3 >Description: The file `/usr/src/lib/libc/locale/ansi.c' seems to have a bug and couse problems on treating Japanese locale functions. >How-To-Repeat: Go <URL:http://www.bres.tsukuba.ac.jp/~yohta/netscape/>, see FreeBSD relating pages, and try the method: "How to set 'libxpg4.so.2.0' on LD_PRELOAD environment variable" >Fix: --- ansi.c.orig Thu Apr 18 16:01:46 1996 +++ ansi.c Sat Oct 24 05:18:11 1998 @@ -132,7 +132,7 @@ if (!pwcs || !s) return (-1); - while (n > 0) { + while ((signed int)n > 0) { if (*pwcs == 0) { *s = 0; break; >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?19981025001035.11336.qmail>