This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

intl patches (16)



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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]