Bug 31735

Summary: Add dummy nl_langinfo() to 4-STABLE libc without <langinfo.h>
Product: Base System Reporter: yakisoba <yakisoba>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   

Description yakisoba 2001-11-03 18:10:00 UTC
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
  ...

Fix: 

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

1 or 2
Comment 1 Naohiko Tsuji 2001-11-09 16:26:57 UTC
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.
Comment 2 Bruce A. Mah freebsd_committer freebsd_triage 2001-11-10 17:48:20 UTC
State Changed
From-To: open->closed

Problem resolved, closed by request of submitter.