From nobody@FreeBSD.org  Sat Nov  3 10:00:14 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3994237B417
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Nov 2001 10:00:14 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id fA3I0En58712;
	Sat, 3 Nov 2001 10:00:14 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200111031800.fA3I0En58712@freefall.freebsd.org>
Date: Sat, 3 Nov 2001 10:00:14 -0800 (PST)
From: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add dummy nl_langinfo() to 4-STABLE libc without <langinfo.h>
X-Send-Pr-Version: www-1.0

>Number:         31735
>Category:       bin
>Synopsis:       Add dummy nl_langinfo() to 4-STABLE libc without <langinfo.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 03 10:10:00 PST 2001
>Closed-Date:    Sat Nov 10 09:48:20 PST 2001
>Last-Modified:  Sat Nov 10 09:49:05 PST 2001
>Originator:     Naohiko Tsuji
>Release:        FreeBSD 4.4-STABLE 2001-11-03
>Organization:
>Environment:
>Description:
Add dummy nl_langinfo() to 4-STABLE libc at 2001-11-02.
But missing <langinfo.h>.

GCC 3.0.2 gcc/java/jcf-parse.c
  ...
  #ifdef HAVE_NL_LANGINFO
  #include <langinfo.h>
  #endif
  ...

>How-To-Repeat:

>Fix:
1. Remove dummy nl_langinfo() from 4-STABLE libc.
2. Add <langinfo.h> to 4-STABLE include from CURRENT.

1 or 2
>Release-Note:
>Audit-Trail:

From: "Naohiko Tsuji" <naohikotsuji@ybb.ne.jp>
To: <freebsd-gnats-submit@FreeBSD.org>, <yakisoba@f2.dion.ne.jp>
Cc:  
Subject: Re: bin/31735: Add dummy nl_langinfo() to 4-STABLE libc without <langinfo.h>
Date: Sat, 10 Nov 2001 01:26:57 +0900

 Thank you.
 
 > ache        2001/11/06 20:50:33 PST
 >
 >   Modified files:        (Branch: RELENG_4)
 >     lib/libc/locale      Makefile.inc 
 >   Removed files:         (Branch: RELENG_4)
 >     lib/libc/locale      nl_langinfo.c 
 >   Log:
 >   Back out fake nl_langinfo() stub addition, it breaks configure for
 ports
 >   programs badly. Better way is to merge its full variant and as
 result
 >   full locale from -current.
 >
 >   Revision  Changes    Path
 >   1.16.2.3  +1 -1      src/lib/libc/locale/Makefile.inc
 >   1.13.2.2  +0 -37     src/lib/libc/locale/nl_langinfo.c (dead)
 
 GCC 3.0.2 can build.
 
 Same PR bin/31806 is closed.
 This PR can be closed, too.
 
 
State-Changed-From-To: open->closed 
State-Changed-By: bmah 
State-Changed-When: Sat Nov 10 09:48:20 PST 2001 
State-Changed-Why:  
Problem resolved, closed by request of submitter. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31735 
>Unformatted:
