• Show log

    Commit

  • Hash : bc2d70ee
    Author : Bruno Haible
    Date : 2025-02-14T15:24:54

    newlocale: Work around macOS, NetBSD, Solaris 11 OpenIndiana bug.
    
    * m4/newlocale.m4 (gl_FUNC_NEWLOCALE): Test for the "null base" bug.
    Set REPLACE_NEWLOCALE to 1 if it has the bug.
    * lib/newlocale.c (newlocale): Add alternative implementation that uses
    the system's newlocale().
    * modules/newlocale (configure.ac): Consider REPLACE_NEWLOCALE.
    * tests/test-newlocale.c: Include <langinfo.h>.
    (main): Verify fix for the "null base" bug.
    * modules/newlocale-tests (configure.ac): Test for nl_langinfo_l.
    * doc/posix-functions/newlocale.texi: Mention the "null base" bug.
    

  • README

  • Please create and read the docs with
    
      $ cd doc
      $ make gnulib.html
      $ xdg-open gnulib.html
    
    or read the online manual at
    
      https://www.gnu.org/software/gnulib/manual/gnulib.html