intl patches (16)

Bruno Haible haible@ilog.fr
Mon Mar 19 13:40:00 GMT 2001


The locale_charset() function has been changed to never return NULL any more.

This patch has no effect inside glibc.


2001-03-10  Bruno Haible  <haible@clisp.cons.org>

	* intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
	NULL any more.

diff -r -c3 intl/loadmsgcat.c intl-98/loadmsgcat.c
*** intl/loadmsgcat.c	Sat Mar 17 19:40:46 2001
--- intl/loadmsgcat.c	Sat Mar 17 14:52:33 2001
***************
*** 396,403 ****
  #  if HAVE_ICONV
  		  extern const char *locale_charset (void);
  		  outcharset = locale_charset ();
- 		  if (outcharset == NULL)
- 		    outcharset = "";
  #  endif
  # endif
  		}
--- 405,410 ----



More information about the Libc-alpha mailing list