• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
12015-10-14  Mike Frysinger  <vapier@chromium.org>
2
3	intl/localename: control langinfo.h inclusion
4	This header is only used to work around buggy behavior in old
5	versions of glibc, so do not include it all the time.  Otherwise
6	we get build failures on systems that do not provide langinfo.h.
7	* localename.c: Wrap langinfo.h include with same
8	ifdefs used in the source later on.
9
102015-09-11  Daiki Ueno  <ueno@gnu.org>
11
12	* gettext 0.19.6 released.
13
142015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
15
16	intl: fix memory leak in _nl_load_domain
17	* loadmsgcat.c (_nl_load_domain):
18	Free data after a read failure.  See:
19	https://sourceware.org/bugzilla/show_bug.cgi?id=18871
20
212015-08-21  Daiki Ueno  <ueno@gnu.org>
22
23	intl: Pacify compilation with pre-C99 compilers
24	* loadmsgcat.c (_nl_load_domain): Move the call to
25	__libc_lock_define_initialized_recursive to the end of local
26	variable declarations to avoid extra ';' being expanded to an
27	empty statement.
28	Reported by pan7 in:
29	<http://savannah.gnu.org/support/?108864>.
30
312015-07-10  Daiki Ueno  <ueno@gnu.org>
32
33	* gettext 0.19.5 released.
34
352015-07-10  Daiki Ueno  <ueno@gnu.org>
36
37	intl: Update from gnulib
38	* localename.c: Update from gnulib.
39
402015-06-23  Daiki Ueno  <ueno@gnu.org>
41
42	* locale.alias: Update from glibc:
43	2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
44	  Remove obsolete aliases that broke 'locale -a'
45	  [BZ #18412]
46	  * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
47	  which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
48	  breaking some applications that use 'locale -a' output.
49	  Change the encoding of this file from Latin-1 to ASCII to avoid
50	  other potential problems with people grepping this file.
51
522015-03-12  Daiki Ueno  <ueno@gnu.org>
53
54	intl: Update from gnulib
55	* localename.c, vasnprintf.c: Update from gnulib.
56
572015-01-22  Daiki Ueno  <ueno@gnu.org>
58
59	intl: Update from gnulib
60	* config.charset, localcharset.c, relocatable.c, vasnprintf.c:
61	Update from gnulib.
62	* codeset.m4, extern-inline.m4, fcntl-o.m4, gettext.m4, glibc2.m4:
63	* glibc21.m4, iconv.m4, intdiv0.m4, intldir.m4, intlmacosx.m4:
64	* intmax.m4, inttypes-pri.m4, inttypes_h.m4, lcmessage.m4, lock.m4:
65	* longlong.m4, nls.m4, printf-posix.m4, progtest.m4:
66	* size_max.m4, stdint_h.m4, threadlib.m4, uintmax_t.m4:
67	* visibility.m4, wchar_t.m4, wint_t.m4, xsize.m4: Update copyright
68	year.
69
702015-01-21  Will Newton  <will.newton@linaro.org>
71
72	intl: Merge from glibc
73	* bindtextdom.c: Update copyright to use year ranges.
74	* dcgettext.c: Update copyright to use year ranges.
75	[_LIBC]: Use libc_hidden_def instead of INTDEF.
76	* dcigettext.c: Update copyright to use year ranges.
77	Test HAVE_TSEARCH with #ifdef rather than #if.
78	(DCIGETTEXT) [_LIBC]: Use __current_locale_name instead of
79	_current_locale_name.
80	* dcngettext.c: Update copyright to use year ranges.
81	* dgettext.c: Update copyright to use year ranges.
82	[_LIBC]: Remove use of INTUSE macro.
83	* dngettext.c: Update copyright to use year ranges.
84	* explodename.c: Likewise.
85	* finddomain.c: Update copyright to use year ranges.
86	(_nl_finddomain_subfreeres): Use void in no-arguments function
87	definition.
88	* gettext.c: Update copyright to use year ranges.
89	[_LIBC]: Remove use of INTUSE macro.
90	* gettextP.h: Update copyright to use year ranges.
91	[_LIBC]: Forward declaration of struct loaded_domain.
92	* gmo.h: Update copyright to use year ranges.
93	* hash-string.c: Likewise.
94	* hash-string.h: Likewise.
95	* l10nflist.c: Update copyright to use year ranges.
96	[_LIBC]: Remove use of INTUSE macro.
97	Wrap pop function in [!ARCH_POP].
98	* loadinfo.h: Update copyright to use year ranges.
99	* loadmsgcat.c: Likewise.
100	* localealias.c: Update copyright to use year ranges.
101	Test ENABLE_RELOCATABLE with #ifdef rather than #if.
102	[_LIBC]: Use __strcasecmp_l for strcasecmp.
103	[_LIBC]: Use __fgets_unlocked for FGETS.
104	Test HAVE_DECL_FGETS_UNLOCKED with #ifdef rather than #if.
105	Test HAVE_DECL_FEOF_UNLOCKED with #ifdef rather than #if.
106	(read_alias_file) [_LIBC]: Open file with O_CLOEXEC.
107	(extend_alias_table): Use void in no-arguments function
108	definition.
109	* ngettext.c: Update copyright to use year ranges.
110	* plural-exp.c: Update copyright to use year ranges.
111	Test __APPLE_CC__ with #ifdef rather than #if.
112	(GERMANIC_PLURAL): Make const.
113	(init_germanic_plural): Use void in no-arguments function
114	definition.
115	* plural-exp.h: Update copyright to use year ranges.
116	(GERMANIC_PLURAL): Make const.
117	* plural.y: Update copyright to use year ranges.
118	* textdomain.c: Likewise.
119
1202015-01-04  Václav Slavík  <vaclav@slavik.io>  (tiny change)
121
122	intl: Add missing libintl.h dependency from pluralx.$lo
123	plural(x).c depends on libintl.h if ENABLE_NLS, but the makefile
124	didn't have corresponding dependency for pluralx.c, because
125	d2d04ba forgot to add it.  Fix by using $(PLURAL_OBJECT) for the
126	dependency rule too.
127	* Makefile.in ($(PLURAL_OBJECT)): Depend on libintl.h.
128
1292014-12-24  Daiki Ueno  <ueno@gnu.org>
130
131	* gettext 0.19.4 released.
132
1332014-12-24  Daiki Ueno  <ueno@gnu.org>
134
135	* libgnuintl.in.h (LIBINTL_VERSION): Bump to 0.19.4.
136	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 9:3:1.
137
1382014-12-04  Daiki Ueno  <ueno@gnu.org>
139
140	intl: Make the LCOV workaround non-intrusive
141	* Makefile.in (PLURAL_OBJECT): New variable.
142	(OBJECTS): Refer to $(PLURAL_OBJECT) instead of plural.$lo.
143	(pluralx.c, pluralx.lo): New rule.
144	(mostlyclean): Remove pluralx.c.
145
1462014-12-03  Daiki Ueno  <ueno@gnu.org>
147
148	intl: Work around LCOV relative base directory resolution
149	* Makefile.in (plural.lo): Resolve relative source file name given
150	with '#line' directive, when $(srcdir) != $(builddir).
151	(mostlyclean): Remove plural.c generated in the 'plural.lo' rule.
152
1532014-10-15  Daiki Ueno  <ueno@gnu.org>
154
155	* gettext 0.19.3 released.
156
1572014-10-15  Daiki Ueno  <ueno@gnu.org>
158
159	* libgnuintl.in.h (LIBINTL_VERSION): Bump to 0.19.3.
160
1612014-09-30  Daiki Ueno  <ueno@gnu.org>
162
163	* localcharset.c, localename.c, vasnprintf.c: Update from Gnulib.
164
1652014-07-16  Daiki Ueno  <ueno@gnu.org>
166
167	* localename.c: Update from Gnulib.
168	2014-07-10  Assaf Gordon  <assafgordon@gmail.com>
169            localename: avoid -Wsuggest-attribute={const,pure} warnings
170            * lib/localename.c (string_hash): Tag internal function as pure.
171	* xsize.c (XSIZE_INLINE): Remove _GL_UNUSED definition.  It will
172	be set through intl.m4.
173
1742014-07-14  Daiki Ueno  <ueno@gnu.org>
175
176	* gettext 0.19.2 released.
177
1782014-07-14  Daiki Ueno  <ueno@gnu.org>
179
180	* Makefile.in (distclean): Remove intl/VERSION for gettext-runtime
181	and gettext-tools packages.
182
1832014-07-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
184
185	intl: Sync up loadmsgcat.c with glibc
186	* loadmsgcat.c [_LIBC]: Define PRI_MACROS_BROKEN unconditionally.
187
1882014-07-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
189
190	intl: Sync up loadmsgcat.c with glibc
191	* loadmsgcat.c: Include assert.h.
192	(_nl_load_domain): Add semicolon to end of line.
193	(_nl_load_domain)[HAVE_MMAP]: Use MAP_FAILED and assert that
194	it is (void *) -1.
195	(_nl_load_domain)[_LIBC]: Call __libc_rwlock_init instead of
196	gl_rwlock_init.
197	(_nl_unload_domain): Cast convd->encoding to non-const.
198
1992014-06-17  Daiki Ueno  <ueno@gnu.org>
200
201	intl: Add back ChangeLog to gettext-runtime distribution
202	* Makefile.in (DISTFILES.gettext): Add ChangeLog.
203
2042014-06-16  Daiki Ueno  <ueno@gnu.org>
205
206	intl: Stop installing ChangeLog.inst
207	After the git-version-gen migration (commit fbf4e276), the
208	creation of gettext-tools/intl/ChangeLog.inst in configure.ac was
209	removed because we lost access to $RELEASE_DATE.  Given that
210	intl/VERSION provides enough information, simply drop the
211	ChangeLog file.
212	Problem reported by Bruce Korb in
213	<https://lists.gnu.org/archive/html/bug-gettext/2014-06/msg00022.html>.
214	* Makefile.in (install-data): Don't install ChangeLog.inst.
215	(distclean): Don't remove ChangeLog.inst.
216	(uninstall): Don't remove ChangeLog under $(gettextsrcdir)/intl.
217	(dist): Don't include ChangeLog in the distribution.
218
2192014-06-10  Daiki Ueno  <ueno@gnu.org>
220
221	* gettext 0.19.1 released.
222
2232014-06-02  Daiki Ueno  <ueno@gnu.org>
224
225	* gettext 0.19 released.
226
2272014-05-11  Daiki Ueno  <ueno@gnu.org>
228
229	* xsize.c (_GL_UNUSED): Define, if undefined.
230
2312014-04-30  Steve Ellcey  <sellcey@mips.com>  (tiny change)
232
233	* loadmsgcat.c (PRI_MACROS_BROKEN) [_LIBC]: Define to 0, if
234	undefined.
235
2362014-04-23  Daiki Ueno  <ueno@gnu.org>
237
238	intl: Port to Bison 3.0
239	* plural.y: Don't use removed YYLEX_PARAM and YYPARSE_PARAM
240	macros; replace deprecated %pure_parser with '%define api.pure
241	full'; adjust yylex/yyerror arglist.
242	* plural-exp.h (PLURAL_PARSE): Use explicit type 'struct
243	parse_args *arg' for ARG.
244
2452013-05-07  Carlos O'Donell  <carlos@redhat.com>
246            Jeff Law  <law@redhat.com>
247
248	* dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
249	returns -1.
250	(_nl_find_msg): Return -1 if recursive call returned -1. If
251	newmem is null return -1.
252	* loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1
253	abort loading the domain.
254
255	* dcigettext.c (_nl_find_msg): Avoid use after potential
256	free.  Simplify list management for _LIBC case.
257
2582013-03-07  Daiki Ueno  <ueno@gnu.org>
259
260	* setlocale.c (libintl_setlocale): Signal a change of the loaded
261	catalogs by incrementing _nl_msg_cat_cntr.
262	Reported by Guido Flohr at <https://savannah.gnu.org/bugs/?38162>.
263
2642013-05-30  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  (tiny change)
265
266	* Makefile.in (SHELL): Use @SHELL@ instead of /bin/sh.
267
2682013-03-05  Daiki Ueno  <ueno@gnu.org>
269
270	* verify.h: Update copyright year.
271	* xsize.h: Likewise.
272
2732013-02-25  Daiki Ueno  <ueno@gnu.org>
274
275	Determine imported C symbol prefix at configure time.
276	Suggested by Evgeny Grin in <http://savannah.gnu.org/bugs/?29946>.
277	* intl-exports.c (IMP): Define depending on the result of the
278	configure run.
279
2802013-01-21  Daiki Ueno  <ueno@gnu.org>
281
282	Remove references to non-existing COPYING.LIB-2.*.
283	Reported by Christian Weisgerber <naddy@mips.inka.de>.
284	* Makefile.in (DISTFILES.obsolete): Add COPYING.LIB-2.*.
285	(install-data): Install COPYING.LIB instead of no longer existing
286	COPYING.LIB-2.*.
287	(uninstall): Remove COPYING.LIB instead of no longer existing
288	COPYING.LIB-2.*.
289
2902013-01-17  Daiki Ueno  <ueno@gnu.org>
291
292	Fix link errors related to C99-style extern inline.
293	Reported by Sam Thursfield <sam.thursfield@codethink.co.uk>.
294	* Makefile.in (SOURCES): Add xsize.c.
295	(OBJECTS): Add xsize.$lo.
296	(xsize.lo): New rule.
297	(printf.$lo): Add xsize.c to dependencies.
298	* xsize.c: New file, imported from gnulib.
299
3002012-12-25  Daiki Ueno  <ueno@gnu.org>
301
302	* gettext-0.18.2 released.
303
3042012-12-25  Daiki Ueno  <ueno@gnu.org>
305
306	* libgnuintl.in.h (LIBINTL_VERSION): Bump to 0.18.2.
307	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 9:2:1.
308
3092012-12-25  Daiki Ueno  <ueno@gnu.org>
310
311	* intl-exports.c (IMP): Check __MINGW32__ as well as _WIN64.
312
3132012-12-20  Daiki Ueno  <ueno@gnu.org>
314
315	localecharset: respect the thread-specific locale on Mac OS X
316	* lib/localcharset.c (locale_charset) [DARWIN7]: Use MB_CUR_MAX_L
317	instead of MB_CUR_MAX.
318
3192012-12-21  Daiki Ueno  <ueno@gnu.org>
320
321	Fix W64 build errors.
322	* intl-exports.c (IMP) [_WIN64]: Prefix "__imp_" instead of
323	"_imp__".
324	* osdep.c: Include intl-exports.c on mingw as well as Cygwin.
325
3262012-12-10  Daiki Ueno  <ueno@unixuser.org>
327
328	* intl-compat.c: Fix typo in the copyright header.
329
3302012-11-29  Paul Eggert  <eggert@cs.ucla.edu>
331
332	* vasnprintf.c (MAX_ROOM_NEEDED): Now static, not static
333	inline.
334
3352012-11-29  Paul Eggert  <eggert@cs.ucla.edu>
336
337	* lock.c (gl_waitqueue_init)
338	(gl_waitqueue_notify_first, gl_waitqueue_notify_all):
339	Change 'static inline' to 'inline'.
340
3412012-09-24  Paul Eggert  <eggert@cs.ucla.edu>
342
343	localename: port gl_locale_name_thread_unsafe to FreeBSD
344	* localename.c (gl_locale_name_thread_unsafe): Port to FreeBSD,
345	and use the simpler FreeBSD implementation on Mac OS X as well.
346	Original idea suggested by Ed Maste in
347	<http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00094.html>.
348
3492012-09-22  Paul Eggert  <eggert@cs.ucla.edu>
350
351	* xsize.h (XSIZE_INLINE): New macro.  Replace all uses of
352	'static inline' with them.  Use _GL_INLINE_HEADER_BEGIN,
353	_GL_INLINE_HEADER_END.
354
3552012-09-22  Paul Eggert  <eggert@cs.ucla.edu>
356
357	misc: don't limit commentary to inline functions
358	* xsize.h: Contrast macros to functions in general, not just
359	to inline functions, when the commentary does not apply only to
360	inline functions.
361
3622012-09-16  Paul Eggert  <eggert@cs.ucla.edu>
363
364	localcharset: work around Mac OS X bug with UTF-8 and MB_CUR_MAX
365	* localcharset.c (locale_charset) [DARWIN7]:
366	Return "ASCII" if the system reports "UTF-8" and MB_CUR_MAX <= 1,
367	as these two values are incompatible.  Problem reported by Max Horn.
368	For more discussion, please see
369	<http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00061.html>.
370
3712012-07-20  Eric Blake  <eblake@redhat.com>
372
373	verify: document conflict with -Wnested-externs
374	* verify.h: Give hint about usage when gcc warnings are enabled.
375
3762012-06-22  Bruno Haible  <bruno@clisp.org>
377
378	Write "Mac OS X" instead of "MacOS X".
379	* config.charset: Write "Mac OS X" instead of "MacOS X".
380	* localcharset.c: Likewise.
381	* localename.c: Likewise.
382	* vasnprintf.c: Likewise.
383
3842012-06-03  Jim Meyering  <jim@meyering.net>
385
386	* dcigettext.c: Spelling fixes.
387
3882012-02-05  Paul Eggert  <eggert@cs.ucla.edu>
389
390	* vasnprintf.c: Spelling fixes.
391
3922012-01-26  Bruno Haible  <bruno@clisp.org>
393
394	Modernize quoting.
395	* Makefile.in: Quote 'like this', not `like this', as per the recent
396	change to the GNU coding standards.
397	* libgnuintl.in.h: Likewise.
398	* vasnprintf.h: Likewise.
399
4002012-01-06  Paul Eggert  <eggert@cs.ucla.edu>
401
402	doc: C11 and C++11 are now official
403	* verify.h: Replace references to draft C1X to C11, and to draft C++0X
404	to C++11.
405
4062012-01-06  Bruno Haible  <bruno@clisp.org>
407
408	Talk about "native Windows API", not "Woe32".
409	* localcharset.c: Update comments to mention native Windows.
410	* relocatable.c: Likewise.
411	* config.charset: More comments.
412
4132012-01-04  Bruno Haible  <bruno@clisp.org>
414
415	Talk about "native Windows API", not "Win32".
416	* vasnprintf.c: Update comments to mention native Windows.
417	* localcharset.c: Update comments to mention native Windows.
418	(WINDOWS_NATIVE): Renamed from WIN32_NATIVE.
419	* localename.c: Likewise.
420	* relocatable.c: Likewise.
421	* lock.h: Update comments to mention native Windows.
422	(USE_WINDOWS_THREADS): Renamed from USE_WIN32_THREADS.
423	* lock.c (USE_WINDOWS_THREADS): Renamed from USE_WIN32_THREADS.
424
4252011-10-15  Bruno Haible  <bruno@clisp.org>
426
427	Avoid crash in *printf functions for invalid format string with dollar.
428	* printf.c (libintl_vsnprintf, libintl_vswprintf): Don't crash in
429	mempy if libintl_vasnprintf returned NULL.
430	Reported by Jeong, Heon <bimarket@gmail.com>
431	in <https://savannah.gnu.org/bugs/?34555>.
432
4332011-10-15  Bruno Haible  <bruno@clisp.org>
434
435	vasnprintf: Optimize bit search operation.
436	* vasnprintf.c (divide): Use optimizations from gnulib's
437	integer_length.c.
438
4392011-10-15  Bruno Haible  <bruno@clisp.org>
440
441	vasnprintf: Fix comments.
442	* vasnprintf.c (decode_long_double, decode_double): Fix comments.
443
4442011-10-03  Bruno Haible  <bruno@clisp.org>
445
446	* relocatable.c (ENABLE_COSTLY_RELOCATABLE): New macro.
447	(compute_curr_prefix, shared_library_fullname,
448	find_shared_library_fullname, get_shared_library_fullname, relocate):
449	Use it together with PIC && INSTALLDIR.
450	Reported by <jojelino@gmail.com>
451	via Charles Wilson <cygwin@cwilson.fastmail.fm>.
452
4532011-07-07  Bruno Haible  <bruno@clisp.org>
454
455	Complete the change in vasnprintf.c from 2010-04-10.
456	* printf.c (system_vsnprintf) [mingw]: Prefer vsnprintf over
457	_vsnprintf.
458
4592011-06-15  Paul Eggert  <eggert@cs.ucla.edu>
460
461	* verify.h (verify_true): Deprecate.
462	(verify_expr): New macro.
463
4642011-06-03  Bruno Haible  <bruno@clisp.org>
465
466	* verify.h: New file, from gnulib.
467	* Makefile.in (HEADERS): Add it.
468
4692010-10-10  Paul Eggert  <eggert@cs.ucla.edu>
470
471	rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1]
472	* vasnprintf.c: Include "verify.h".
473	(mp_limb_verify, mp_twolimb_verify, TCHAR_T_verify): Remove, replacing
474	with a verify call.
475
4762011-06-03  Bruno Haible  <bruno@clisp.org>
477
478	Copyright: Use LGPL 2.1 instead of LGPL 2.0.
479	* COPYING.LIB: Renamed from COPYING.LIB-2.1.
480	* COPYING.LIB-2.0: Remove file.
481	* *.h, *.c, *.y, *.sin, config.charset, locale.alias, Makefile.in:
482	Update copyright header.
483	* libintl.rc: Update comments field.
484
4852011-04-08  Paul Eggert  <eggert@cs.ucla.edu>
486
487	* relocatable.c (_GL_USE_STDLIB_ALLOC): Define.
488	(malloc): Don't #undef; no longer needed.
489
4902011-02-28  Bruno Haible  <bruno@clisp.org>
491
492	Assume ANSI C behaviour of free().
493	* localcharset.c (get_charset_aliases): Remove NULL test before calling
494	free().
495	Suggested by Simon Josefsson <simon@josefsson.org>.
496
4972011-02-28  Corinna Vinschen  <vinschen@redhat.com>  (tiny change)
498            Charles Wilson  <cygwin@cwilson.fastmail.fm>  (tiny change)
499            Bruno Haible  <bruno@clisp.org>  (tiny change)
500
501	On Cygwin, use /proc file system instead of win32 API.
502	* relocatable.c: On Cygwin, use file names from /proc, rather than
503	Win32 file names.
504	(DllMain): Simplify by removing Cygwin specific code.
505	(find_shared_library_fullname): Use Linux specific implementation also
506	for Cygwin.
507	(get_shared_library_fullname): Update accordingly.
508
5092011-02-23  Bruno Haible  <bruno@clisp.org>
510
511	Fix misindentation of preprocessor directives.
512	* vasnprintf.c (decode_long_double): Reindent preprocessor directives.
513
5142011-02-12  Bruno Haible  <bruno@clisp.org>
515
516	Workaround native Windows bug.
517	* setlocale.c (rpl_setlocale): On native Windows, when setlocale
518	succeeds but sets LC_CTYPE to "C", report a failure.
519
5202011-02-12  Bruno Haible  <bruno@clisp.org>
521
522	Avoid clashing overrides for setlocale.
523	* libgnuintl.in.h (setlocale): Don't override if the gnulib override is
524	already enabled.
525
5262011-06-03  Bruno Haible  <bruno@clisp.org>
527
528	* wprintf-parse.h: Apply same changes as to printf-parse.h.
529
5302011-02-04  Bruno Haible  <bruno@clisp.org>
531
532	vasnprintf: Reduce use of malloc for small format strings.
533	* printf-args.h (N_DIRECT_ALLOC_ARGUMENTS): New macro.
534	(arguments): Add room for the first 7 arguments.
535	* printf-parse.h (N_DIRECT_ALLOC_DIRECTIVES): New macro.
536	(char_directives, u8_directives, u16_directives, u32_directives): Add
537	room for the first 7 directives.
538	* printf-parse.c: Include <string.h>.
539	(PRINTF_PARSE): Change memory handling code so that it uses the first
540	7 preallocated elements in an 'arguments' or 'DIRECTIVES' struct.
541	* vasnprintf.c (VASNPRINTF): Update memory handling code.
542	Reported by Pádraig Brady <P@draigbrady.com>.
543
5442011-01-01  Jim Meyering  <meyering@redhat.com>
545
546	maint: update almost all copyright ranges to include 2011
547	Run the new "make update-copyright" rule.
548
5492010-11-20  Bruno Haible  <bruno@clisp.org>
550
551	Port to uClibc.
552	* dcigettext.c (_nl_find_msg): Treat uClibc like a non-glibc platform.
553	* loadmsgcat.c (get_sysdep_segment_value): Likewise.
554
5552010-11-20  Bruno Haible  <bruno@clisp.org>
556
557	Ensure that <features.h> is included before __GLIBC__ is tested.
558	* printf-parse.h: Include <features.h>.
559	Reported by Mike Frysinger <vapier@gentoo.org>.
560
5612010-11-20  Bruno Haible  <bruno@clisp.org>
562
563	Port to uClibc.
564	* localename.c (gl_locale_name_thread_unsafe, HAVE_LOCALE_NULL): Treat
565	uClibc like a non-glibc platform.
566	* printf-parse.h (FLAG_LOCALIZED): Likewise.
567	* printf-parse.c (PRINTF_PARSE): Likewise.
568	* relocatable.c (find_shared_library_fullname): Treat uClibc like
569	glibc.
570	* vasnprintf.c (decimal_point_char): Treat uClibc like glibc.
571	(VASNPRINTF): Treat uClibc like a non-glibc platform.
572	Reported by Mike Frysinger <vapier@gentoo.org>.
573
5742010-11-20  Bruno Haible  <bruno@clisp.org>
575
576	Fix a comment.
577	* vasnprintf.c (VASNPRINTF): Fix comment.
578
5792010-11-07  Bruno Haible  <bruno@clisp.org>
580
581	* loadmsgcat.c (get_sysdep_segment_value): Update comment.
582
5832010-11-07  Bruno Haible  <bruno@clisp.org>
584
585	vasnprintf: Support I flag on glibc systems.
586	* printf-parse.h (FLAG_LOCALIZED): New macro.
587	* printf-parse.c (PRINTF_PARSE): Handle the 'I' flag.
588	* vasnprintf.c (VASNPRINTF): Pass the 'I' flag on to the system's
589	snprintf function.
590
5912010-11-07  Bruno Haible  <bruno@clisp.org>
592
593	Rename libgnuintl.h.in to libgnuintl.in.h.
594	* libgnuintl.in.h: New file, renamed from libgnuintl.h.in.
595	* Makefile.in (HEADERS, libgnuintl.h, libintl.h): Update.
596	* printf.c: Update.
597
5982010-10-14  Bruno Haible  <bruno@clisp.org>
599
600	vasnprintf: Don't set errno to 0.
601	* vasnprintf.c (VASNPRINTF): Save and restore errno around the block
602	that sets it to 0.
603	Reported by Gianluigi Tiesi <sherpya@netfarm.it>.
604
6052010-06-09  Bruno Haible  <bruno@clisp.org>
606
607	Avoid relocwrapper link errors due to gnulib replacement functions.
608	* lib/relocatable.c: Use the system's malloc function.
609
6102010-06-04  Bruno Haible  <bruno@clisp.org>
611
612	* gettext-0.18.1 released.
613
6142010-06-03  Bruno Haible  <bruno@clisp.org>
615
616	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.18.1.
617	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 9:1:1.
618
6192010-05-20  Bruno Haible  <bruno@clisp.org>
620
621	* gettextP.h (_nl_locale_name): Comment out declaration.
622
6232010-05-20  Bruno Haible  <bruno@clisp.org>
624
625	Avoid a link error when building statically on mingw.
626	* gettextP.h (gl_locale_name_thread): Alias to _nl_locale_name_thread.
627	Reported by Rob <sisyphus1@optusnet.com.au>.
628
6292010-05-16  Bruno Haible  <bruno@clisp.org>
630
631	* libgnuintl.h.in (printf): Add comment.
632
6332010-05-09  Bruno Haible  <bruno@clisp.org>
634
635	* gettext-0.18 released.
636
6372010-05-09  Bruno Haible  <bruno@clisp.org>
638
639	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.18.
640	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 9:0:1.
641	* libintl.rc: Update year.
642
6432010-05-09  Bruno Haible  <bruno@clisp.org>
644
645	vasnprintf: Fix syntax errors in libintl build on mingw.
646	* vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine
647	pad_ourselves and prec_ourselves after use.
648
6492010-04-03  Bruno Haible  <bruno@clisp.org>
650
651	localename: Port to MacOS X 10.6.
652	* localename.c (gl_locale_name_thread_unsafe): On MacOS X, try the
653	memory layout of the locales in MacOS X 10.6 as well.
654	Reported by Panu Kekäläinen <panu@kekalainen.eu>.
655
6562010-05-08  Bruno Haible  <bruno@clisp.org>
657
658	* config.charset: Update comments for Cygwin 1.7.
659	* localcharset.c: Likewise.
660
6612010-04-24  Bruno Haible  <bruno@clisp.org>
662
663	vasnprintf: Correct errno value in case of out-of-memory.
664	* vasnprintf.c (VASNPRINTF): Set errno to 0 before calling SNPRINTF or
665	sprintf. Use the errno value from SNPRINTF or sprintf.
666	Reported by Ian Beckwith <ianb@erislabs.net>.
667
6682010-04-10  Bruno Haible  <bruno@clisp.org>
669
670	vasnprintf: Correct handling of unconvertible wide string arguments.
671	* vasnprintf.c (MAX_ROOM_NEEDED): New function, extracted from
672	VASNPRINTF.
673	(VASNPRINTF): Use it. After snprintf failed, allocate more memory only
674	if HAVE_SNPRINTF_RETVAL_C99 is false and the allocated memory is
675	smaller than the expected maximum need for the directive. Set errno to
676	EILSEQ, not EINVAL, when the directive is 'c' or 's'.
677	(local_strnlen, local_wcslen, local_wcsnlen): Update conditions.
678	Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
679
6802010-04-10  Bruno Haible  <bruno@clisp.org>
681
682	vasnprintf: Fix crash in %ls directive.
683	* vasnprintf.c (VASNPRINTF): Don't abort when a unconvertible wide
684	string is passed as argument to %ls, with no precision and no width.
685	Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
686
6872010-04-10  Bruno Haible  <bruno@clisp.org>
688
689	vasnprintf: Fix multiple test failures on mingw.
690	* vasnprintf.c (SNPRINTF) [mingw]: Define to snprintf, not _snprintf,
691	or snwprintf, not _snwprintf.
692
6932010-03-25  Bruno Haible  <bruno@clisp.org>
694
695	Minor formatting changes.
696	* localename.c: Insert space before sizeof's argument list.
697	* lock.h: Insert space before function argument list.
698
6992010-01-01  Bruno Haible  <bruno@clisp.org>
700
701	localename: Avoid gcc warning.
702	* localename.c (gl_locale_name_thread_unsafe): Don't define this
703	function if it is not used.
704
7052010-01-01  Bruno Haible  <bruno@clisp.org>
706
707	* vasnprintf.c (VASNPRINTF): If GNULIB_defined_mbstate_t is defined,
708	use wctomb instead of wcrtomb.
709
7102009-12-26  Bruno Haible  <bruno@clisp.org>
711
712	* libintl.rc: Update.
713
7142009-12-26  Bruno Haible  <bruno@clisp.org>
715
716	Use the thread-specific locale also on MacOS X.
717	* dcigettext.c (HAVE_NL_LOCALE_NAME): Remove undef.
718	Don't include <langinfo.h>.
719	(HAVE_PER_THREAD_LOCALE): Define on any platform that has 'uselocale'.
720	(DCIGETTEXT, guess_category_value): Use _nl_locale_name_thread_unsafe
721	instead of glibc specific code.
722	* gettextP.h (gl_locale_name_thread_unsafe): New macro.
723	(_nl_locale_name_thread_unsafe): New declaration.
724
7252009-12-26  Bruno Haible  <bruno@clisp.org>
726
727	localename: Fix storage allocation of gl_locale_name_thread's result.
728	* localename.c (SIZE_BITS, string_hash, struct hash_node,
729	HASH_TABLE_SIZE, struniq_hash_table, struniq_lock, struniq): Define on
730	all platforms that have 'uselocale'.
731	(gl_locale_name_thread_unsafe): New function, extracted from
732	gl_locale_name_thread.
733	(gl_locale_name_thread): Call struniq on all platforms that have
734	'uselocale'.
735
7362009-12-23  Bruno Haible  <bruno@clisp.org>
737
738	localename: Make aware of thread locale.
739	* localename.c: Include <limits.h>, <stddef.h>, <xlocale.h>,
740	<langinfo.h>, glthread/lock.h.
741	(SIZE_BITS): New macro.
742	(string_hash): New function.
743	(struct hash_node): New type.
744	(HASH_TABLE_SIZE): New macro.
745	(struniq_hash_table, struniq_lock): New variables.
746	(struniq): New function.
747	(gl_locale_name_thread): New function.
748	(gl_locale_name): Invoke it.
749	Reported by Mike Gran <spk121@yahoo.com>.
750
7512009-12-26  Bruno Haible  <bruno@clisp.org>
752
753	* Makefile.in (localename.$lo): Add dependency.
754
7552009-12-21  Bruno Haible  <bruno@clisp.org>
756
757	Define override of setlocale and newlocale functions.
758	* gettextP.h (gl_locale_name_environ): New macro.
759	(_nl_locale_name_environ): New declaration.
760	* localename.c (gl_locale_name_environ): New function, extracted from
761	gl_locale_name_posix. Ignore dummy LANG values on MacOS X and Cygwin.
762	(gl_locale_name_posix): Invoke it.
763	(gl_locale_name_default): Add comments. Use Windows native API also on
764	Cygwin.
765	* libgnuintl.h.in: On MacOS X, include <xlocale.h>.
766	(setlocale, newlocale): New overrides.
767	* setlocale.c: New file.
768	* Makefile.in (SOURCES): Add setlocale.c.
769	(OBJECTS): Add setlocale.$lo.
770	(setlocale.lo): New rule.
771	(libgnuintl.h, libintl.h): Substitute also HAVE_NEWLOCALE.
772	(setlocale.$lo): Define dependencies.
773
7742009-12-21  Bruno Haible  <bruno@clisp.org>
775
776	Update list of Win32 locale ids.
777	* localename.c (LANG_ROMANSH): Renamed from LANG_RHAETO_ROMANCE.
778	(LANG_SAMI): Renamed from LANG_SAAMI.
779	(LANG_BASHKIR, LANG_LUXEMBOURGISH, LANG_GREENLANDIC,
780	LANG_MAPUDUNGUN, LANG_MOHAWK, LANG_BRETON, LANG_OCCITAN, LANG_CORSICAN,
781	LANG_ALSATIAN, LANG_YAKUT, LANG_KICHE, LANG_KINYARWANDA, LANG_WOLOF,
782	LANG_DARI, LANG_SCOTTISH_GAELIC): New macros.
783	(SUBLANG_AFRIKAANS_SOUTH_AFRICA, SUBLANG_ALBANIAN_ALBANIA,
784	SUBLANG_ALSATIAN_FRANCE, SUBLANG_AMHARIC_ETHIOPIA,
785	SUBLANG_ARMENIAN_ARMENIA, SUBLANG_ASSAMESE_INDIA,
786	SUBLANG_BASHKIR_RUSSIA, SUBLANG_BASQUE_BASQUE,
787	SUBLANG_BELARUSIAN_BELARUS, SUBLANG_BRETON_FRANCE,
788	SUBLANG_BULGARIAN_BULGARIA, SUBLANG_CAMBODIAN_CAMBODIA,
789	SUBLANG_CATALAN_SPAIN, SUBLANG_CORSICAN_FRANCE,
790	SUBLANG_CZECH_CZECH_REPUBLIC, SUBLANG_DANISH_DENMARK,
791	SUBLANG_DARI_AFGHANISTAN, SUBLANG_DIVEHI_MALDIVES,
792	SUBLANG_DUTCH_SURINAM, SUBLANG_ESTONIAN_ESTONIA,
793	SUBLANG_FAEROESE_FAROE_ISLANDS, SUBLANG_FARSI_IRAN,
794	SUBLANG_FINNISH_FINLAND, SUBLANG_FRISIAN_NETHERLANDS,
795	SUBLANG_GALICIAN_SPAIN, SUBLANG_GEORGIAN_GEORGIA,
796	SUBLANG_GREEK_GREECE, SUBLANG_GREENLANDIC_GREENLAND,
797	SUBLANG_GUJARATI_INDIA, SUBLANG_HAUSA_NIGERIA_LATIN,
798	SUBLANG_HEBREW_ISRAEL, SUBLANG_HINDI_INDIA, SUBLANG_HUNGARIAN_HUNGARY,
799	SUBLANG_ICELANDIC_ICELAND, SUBLANG_IGBO_NIGERIA,
800	SUBLANG_INDONESIAN_INDONESIA, SUBLANG_INUKTITUT_CANADA,
801	SUBLANG_INUKTITUT_CANADA_LATIN, SUBLANG_IRISH_IRELAND,
802	SUBLANG_JAPANESE_JAPAN, SUBLANG_KANNADA_INDIA,
803	SUBLANG_KAZAK_KAZAKHSTAN, SUBLANG_KICHE_GUATEMALA,
804	SUBLANG_KINYARWANDA_RWANDA, SUBLANG_KONKANI_INDIA,
805	SUBLANG_KYRGYZ_KYRGYZSTAN, SUBLANG_LAO_LAOS, SUBLANG_LATVIAN_LATVIA,
806	SUBLANG_LITHUANIAN_LITHUANIA, SUBLANG_LOWER_SORBIAN_GERMANY,
807	SUBLANG_LUXEMBOURGISH_LUXEMBOURG, SUBLANG_MACEDONIAN_MACEDONIA,
808	SUBLANG_MALAYALAM_INDIA, SUBLANG_MALTESE_MALTA,
809	SUBLANG_MAORI_NEW_ZEALAND, SUBLANG_MAPUDUNGUN_CHILE,
810	SUBLANG_MARATHI_INDIA, SUBLANG_MOHAWK_CANADA, SUBLANG_NEPALI_NEPAL,
811	SUBLANG_OCCITAN_FRANCE, SUBLANG_ORIYA_INDIA,
812	SUBLANG_PASHTO_AFGHANISTAN, SUBLANG_POLISH_POLAND,
813	SUBLANG_ROMANSH_SWITZERLAND, SUBLANG_SAMI_NORTHERN_NORWAY,
814	SUBLANG_SAMI_NORTHERN_SWEDEN, SUBLANG_SAMI_NORTHERN_FINLAND,
815	SUBLANG_SAMI_LULE_NORWAY, SUBLANG_SAMI_LULE_SWEDEN,
816	SUBLANG_SAMI_SOUTHERN_NORWAY, SUBLANG_SAMI_SOUTHERN_SWEDEN,
817	SUBLANG_SAMI_SKOLT_FINLAND, SUBLANG_SAMI_INARI_FINLAND,
818	SUBLANG_SANSKRIT_INDIA, SUBLANG_SINHALESE_SRI_LANKA,
819	SUBLANG_SLOVAK_SLOVAKIA, SUBLANG_SLOVENIAN_SLOVENIA,
820	SUBLANG_SOTHO_SOUTH_AFRICA, SUBLANG_SWAHILI_KENYA,
821	SUBLANG_SWEDISH_SWEDEN, SUBLANG_SYRIAC_SYRIA,
822	SUBLANG_TAGALOG_PHILIPPINES, SUBLANG_TAJIK_TAJIKISTAN,
823	SUBLANG_TAMIL_INDIA, SUBLANG_TATAR_RUSSIA, SUBLANG_TELUGU_INDIA,
824	SUBLANG_THAI_THAILAND, SUBLANG_TSWANA_SOUTH_AFRICA,
825	SUBLANG_TURKISH_TURKEY, SUBLANG_TURKMEN_TURKMENISTAN,
826	SUBLANG_UKRAINIAN_UKRAINE, SUBLANG_UPPER_SORBIAN_GERMANY,
827	SUBLANG_VIETNAMESE_VIETNAM, SUBLANG_WELSH_UNITED_KINGDOM,
828	SUBLANG_WOLOF_SENEGAL, SUBLANG_XHOSA_SOUTH_AFRICA,
829	SUBLANG_YAKUT_RUSSIA, SUBLANG_YI_PRC, SUBLANG_YORUBA_NIGERIA,
830	SUBLANG_ZULU_SOUTH_AFRICA): New macros.
831	(gl_locale_name_from_win32_LANGID): Handle also the territory neutral
832	locale ids. Add support for Alsatian, Bashkir, Breton, Corsican, Dari,
833	Greenlandic, K'iche', Kinyarwanda, Luxembourgish, Mapudungun, Mohawk,
834	Occitan, Scottish Gaelic, Wolof, Yakut. Change language code for Yi.
835	Add more languages and countries for Sami, Sorbian. Add more countries
836	for Serbian, Dutch. Add more scripts for Inuktitut. Be more precise
837	for Pashto. Change country for Syriac, Tswana.
838
8392009-12-13  Bruno Haible  <bruno@clisp.org>
840
841	* localcharset.c (locale_charset): Fix comment about use of GetACP.
842
8432009-12-12  Bruno Haible  <bruno@clisp.org>
844
845	* localcharset.c (locale_charset): Add comment about use of GetACP.
846
8472009-12-12  Bruno Haible  <bruno@clisp.org>
848
849	* intl-compat.c: Untabify.
850	* intl-exports.c: Untabify.
851	* langprefs.c: Untabify.
852	* libgnuintl.h.in: Untabify.
853	* localcharset.c: Untabify.
854	* localename.c: Untabify.
855	* lock.c: Untabify.
856	* log.c: Untabify.
857	* os2compat.h: Untabify.
858	* printf-args.c: Untabify.
859	* printf-args.h: Untabify.
860	* printf-parse.c: Untabify.
861	* printf-parse.h: Untabify.
862	* printf.c: Untabify.
863	* relocatable.c: Untabify.
864	* relocatable.h: Untabify.
865	* threadlib.c: Untabify.
866	* tsearch.c: Untabify.
867	* tsearch.h: Untabify.
868	* vasnprintf.c: Untabify.
869	* vasnwprintf.h: Untabify.
870	* wprintf-parse.h: Untabify.
871
8722009-12-11  Bruno Haible  <bruno@clisp.org>
873
874	* config.charset: Untabify.
875
8762009-11-22  Bruno Haible  <bruno@clisp.org>
877
878	* vasnprintf.c (decimal_point_char): Choose the fast path also on
879	MacOS X.
880
8812009-11-17  Eric Blake  <ebb9@byu.net>
882
883	* vasnprintf.c (VASNPRINTF): Avoid shadowing our own local variables.
884
8852009-10-10  Eric Blake  <ebb9@byu.net>
886
887	* relocatable.c (compute_curr_prefix): Fix spelling.
888
8892009-10-18  Bruno Haible  <bruno@clisp.org>
890
891	Avoid symlink attack in localcharset module.
892	* localcharset.c: Include <fcntl.h>, <unistd.h>.
893	(O_NOFOLLOW): Define fallback.
894	(get_charset_aliases): Don't open the file if it is a symbolic link.
895	Reported by Fergal Glynn <fglynn@veracode.com>.
896
8972009-08-20  Eric Blake  <ebb9@byu.net>
898
899	* vasnprintf.c (decimal_point_char): Avoid warning on old-style
900	declaration.
901
9022009-08-10  Bruno Haible  <bruno@clisp.org>
903
904	* vasnprintf.c (DCHAR_SET): Undefine at the end.
905
9062009-08-09  Bruno Haible  <bruno@clisp.org>
907
908	Fix a compilation error on non-glibc systems that have gcc visibility
909	support but deficient *printf functions.
910	* printf.c (DLL_EXPORTED): Define to non-empty also when
911	HAVE_VISIBILITY is true.
912	Reported at <https://savannah.gnu.org/bugs/?27185>.
913
9142009-06-06  Bruno Haible  <bruno@clisp.org>
915
916	Interoperate with automake-1.11 provided --enable-silent-rules option.
917	* Makefile.in (AM_V_at, AM_V_AR, AM_V_CC, AM_V_GEN, AM_V_YACC,
918	AM_V_lt): New variables.
919	(libintl.a, libintl.la, .c.o, .y.c, *.lo): Silence 'make' output if
920	silent rules requested.
921
9222009-04-26  Bruno Haible  <bruno@clisp.org>
923
924	* vasnprintf.c (VASNPRINTF): Update after the calling convention of
925	u*_conv_from_encoding and u*_conv_to_encoding changed.
926
9272009-03-25  Bruno Haible  <bruno@clisp.org>
928
929	* Makefile.in (RC): New variable.
930	(OBJECTS_RES_yes): Add .$lo suffix.
931	(libintl.res.o): Renamed from libintl.res.
932	(libintl.res.lo): New rule.
933	(mostlyclean): Simplify.
934
9352009-03-23  Jim Meyering  <meyering@redhat.com>
936
937	* vasnprintf.c (divide): Fix typo in comment.
938
9392009-02-26  Bruno Haible  <bruno@clisp.org>
940
941	Fix *printf behaviour regarding the %ls directive.
942	* vasnprintf.c (local_wcslen, VASNPRINTF): Handle
943	NEED_PRINTF_DIRECTIVE_LS.
944
9452009-02-23  Bruno Haible  <bruno@clisp.org>
946
947	Fix invalid read past end of memory block.
948	* vasnprintf.c (DCHAR_SET): Define.
949	(local_wcslen): Define only when needed.
950	(local_strnlen, local_wcsnlen): New functions.
951	(VASNPRINTF) [!USE_SNPRINTF && HAVE_WCHAR_T]: Implement the %s and %ls
952	directives that involve a conversion ourselves.
953
9542009-02-06  Bruno Haible  <bruno@clisp.org>
955
956	* Makefile.in (libintl.res): Initialize nl without assuming GNU bash.
957	Reported by Marko Lindqvist <cazfi74@gmail.com>.
958
9592009-01-25  Bruno Haible  <bruno@clisp.org>
960
961	* threadlib.c: Include <stdlib.h>.
962
9632009-01-25  Bruno Haible  <bruno@clisp.org>
964
965	* threadlib.c (dummy): New declaration.
966
9672009-01-25  Bruno Haible  <bruno@clisp.org>
968
969	Don't install charset.alias on MacOS X >= 10.3.
970	* localcharset.c (DARWIN7): New macro.
971	(get_charset_aliases): Hardcode the result for Darwin7.
972	* Makefile.in (install-exec, installdirs): Don't install charset.alias
973	on MacOS X >= 10.3, if the file does not yet exist.
974
9752009-01-25  Bruno Haible  <bruno@clisp.org>
976
977	Don't install charset.alias on mingw and Cygwin.
978	* Makefile.in (install-exec, installdirs): Don't install charset.alias
979	on mingw and Cygwin, if the file does not yet exist. The result for
980	these platforms is hardcoded in localcharset.c.
981
9822009-01-24  Bruno Haible  <bruno@clisp.org>
983
984	Add support for non-UTF-8 locales on MacOS X.
985	* config.charset: Add CP1131, ARMSCII-8, PT154 to the list of canonical
986	encodings. For Darwin 7 and newer, don't map traditional encodings to
987	UTF-8.
988	Reported by Vincent Lefevre <vincent@vinc17.org>
989	at <http://savannah.gnu.org/bugs/?25235>.
990
9912009-01-15  Bruno Haible  <bruno@clisp.org>
992
993	* log.c (MSGCTXT_SEPARATOR): New macro.
994	(print_escaped): Add an str_end argument.
995	(_nl_log_untranslated_locked): If msgid1 contains the msgctxt
996	separator, split it into msgctxt and msgid.
997	Reported at <https://savannah.gnu.org/bugs/?25315>.
998
9992008-11-10  Ingo Weinhold  <ingo_weinhold@gmx.de>
1000
1001	* config.charset: Treat Haiku like BeOS.
1002
10032008-10-17  Bruno Haible  <bruno@clisp.org>
1004
1005	* lock.h (gl_carray_waitqueue_t): Renamed from gl_waitqueue_t.
1006	(gl_rwlock_t): Update.
1007	* lock.c (gl_waitqueue_t): Alias to gl_carray_waitqueue_t.
1008
10092008-09-22  Eric Blake  <ebb9@byu.net>
1010	    Bruno Haible  <bruno@clisp.org>
1011
1012	vasnprintf: fix x86/glibc regression on printf("%La", 0.0L)
1013	* vasnprintf.c (VASNPRINTF): Support 0.0 on platforms that supply %A
1014	but mishandle pseudo-NaN.
1015	Reported by Simon Josefsson.
1016
10172008-09-18  Bruno Haible  <bruno@clisp.org>
1018
1019	* vasnprintf.c (VASNPRINTF): When printing ±0.0L in
1020	NEED_PRINTF_INFINITE_LONG_DOUBLE case with 'e' format, always use two
1021	digits for the exponent.
1022
10232008-09-18  Jim Meyering  <meyering@redhat.com>
1024	    Bruno Haible  <bruno@clisp.org>
1025
1026	* vasnprintf.c (decimal_point_char): Define also if
1027	NEED_PRINTF_INFINITE_LONG_DOUBLE.
1028
10292008-09-16  Bruno Haible  <bruno@clisp.org>
1030	and Eric Blake  <ebb9@byu.net>
1031
1032	vasnprintf: support Irix 5.3
1033	* vasnprintf.c (VASNPRINTF): Also handle -0.0L on platforms that
1034	mishandle long double infinity.
1035	Reported by Tom G. Christensen.
1036
10372008-09-02  Eric Blake  <ebb9@byu.net>
1038
1039	vasnprintf-posix: handle large precision via %.*d
1040	* vasnprintf.c (VASNPRINTF): Don't pass precision to snprintf
1041	when handling it ourselves.
1042	Reported by Alain Guibert.
1043
10442008-07-10  Ben Pfaff  <blp@gnu.org>
1045
1046	* vasnprintf.c: Update references to renamed include files.
1047
10482008-05-21  Bruno Haible  <bruno@clisp.org>
1049
1050	Avoid one more warning from gcc.
1051	* vasnprintf.c (IF_LINT): Update comments.
1052	(VASNPRINTF): Use it also for the 'prefix' array initializer.
1053
10542008-05-21  Jim Meyering  <meyering@redhat.com>
1055
1056	avoid a warning from gcc
1057	* vasnprintf.c (IF_LINT): Define.
1058	(scale10_round_decimal_long_double):
1059	Use it to avoid a "may be used uninitialized" warning.
1060	(scale10_round_decimal_double): Likewise.
1061
10622008-05-16  Jim Meyering  <meyering@redhat.com>
1063	    Bruno Haible  <bruno@clisp.org>
1064
1065	Avoid some warnings from "gcc -Wshadow".
1066	* vasnprintf.c (exp, remainder): Define to different identifiers.
1067
10682008-04-19  Bruno Haible  <bruno@clisp.org>
1069
1070	Work around snprintf bug on Linux libc5.
1071	* vasnprintf.c (USE_SNPRINTF): Set to 0 on Linux libc5 systems.
1072
10732008-04-19  Bruno Haible  <bruno@clisp.org>
1074
1075	* vasnprintf.c (floorlog10l, floorlog10): Reduce maximum error from
1076	0.0058 to less than 10^-7.
1077
10782008-04-19  Bruno Haible  <bruno@clisp.org>
1079
1080	Fix rounding when a precision is given.
1081	* vasnprintf.c (is_borderline): New function.
1082	(VASNPRINTF): For %e and %g, consider replacing the digits 10....0 with
1083	9...9x.
1084	Reported by John Darrington <john@darrington.wattle.id.au> via
1085	Ben Pfaff <blp@cs.stanford.edu>.
1086
10872008-03-30  Bruno Haible  <bruno@clisp.org>
1088
1089	Fix buffer overrun.
1090	* vasnprintf.c (VASNPRINTF): If !USE_SNPRINTF && pad_ourselves:
1091	Don't consider the width for tmp_length. Check count against tmp_length
1092	before doing the padding. Ensure enough allocation during padding.
1093
10942008-03-30  Bruno Haible  <bruno@clisp.org>
1095
1096	* vasnprintf.c (EOVERFLOW): Remove fallback.
1097
10982008-03-30  Bruno Haible  <bruno@clisp.org>
1099
1100	Fix bug introduced on 2007-06-10.
1101	* vasnprintf.c (VASNPRINTF): When performing zero-padding, use
1102	spaces instead of 0 digits for 's' also when ENABLE_UNISTDIO.
1103
11042008-02-28  Atsushi SAKAI  <sakaia@jp.fujitsu.com>
1105
1106	* xsize.h: Fix typo in comment: s/tupe/type/.
1107
11082008-02-07  Bruno Haible  <bruno@clisp.org>
1109
1110	* vasnprintf.c (VASNPRINTF): Don't use %n on native Woe32 systems.
1111	Avoids a crash on Windows Vista.
1112	Reported by Adam Strzelecki <ono@java.pl> via
1113	Simon Josefsson <simon@josefsson.org>.
1114
11152008-02-06  Bruno Haible  <bruno@clisp.org>
1116
1117	Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
1118	* vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_FLAG_LEFTADJUST.
1119	Reported by Peter Fales <psfales@alcatel-lucent.com>.
1120
11212008-02-06  Bruno Haible  <bruno@clisp.org>
1122
1123	Fix bug introduced on 2007-06-10.
1124	* vasnprintf.c (VASNPRINTF): Perform zero-padding also if
1125	!NEED_PRINTF_FLAG_ZERO.
1126
11272008-01-29  Jim Meyering  <meyering@redhat.com>
1128
1129	vasnprintf.c: Avoid warning about unused label
1130	* vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Guard the
1131	"overflow" label definition and associated code with the
1132	same cpp condition that guards the sole use of that label.
1133
11342008-01-26  Bruno Haible  <bruno@clisp.org>
1135
1136	Rename isnan, applicable to 'double' only, to isnand.
1137	* vasnprintf.c: Include isnand.h instead of isnan.h.
1138	(is_infinite_or_zero, VASNPRINTF): Use isnand instead of isnan.
1139
11402008-01-08  Jim Meyering  <meyering@redhat.com>
1141	    Bruno Haible  <bruno@clisp.org>
1142
1143	* printf-parse.c (PRINTF_PARSE): Handle a size specifier "q" on MacOS X
1144	and a size specifier "I64" on mingw. Needed for PRIdMAX.
1145	Reported by Peter Fales in
1146	<http://lists.gnu.org/archive/html/bug-coreutils/2007-12/msg00148.html>.
1147
11482008-01-10  Eric Blake  <ebb9@byu.net>
1149
1150	* relocatable.h: Fix a comment.
1151
11522008-01-10  Bruno Haible  <bruno@clisp.org>
1153
1154	* relocatable.h (relocate): State whether result is freshly allocated
1155	or not.
1156	* relocatable.c (relocate): Return a freshly allocated string instead
1157	of a pointer to a privately held string.
1158	Reported by Sylvain Beucler <beuc@gnu.org>.
1159
11602008-01-01  Sylvain Beucler  <beuc@gnu.org>
1161	    Bruno Haible  <bruno@clisp.org>
1162
1163	Improve memory cleanup in 'relocatable' module.
1164	* relocatable.h (compute_curr_prefix): Change return type to 'char *'.
1165	* relocatable.c (compute_curr_prefix): Change return type to 'char *'.
1166	Free curr_installdir after use.
1167	(relocate): Free curr_prefix_better after use.
1168
11692008-04-13  Bruno Haible  <bruno@clisp.org>
1170
1171	* localcharset.c (OS2): Don't redefine if already defined.
1172	Reported by Elbert Pol <e.pol@chello.nl>.
1173
11742008-09-20  Bruno Haible  <bruno@clisp.org>
1175
1176	* libgnuintl.h.in: Use (defined X && X) idiom to test whether a
1177	possibly undefined macro has a certain value. Pacifies users of the
1178	gcc option -Wundef.
1179	Reported by Christian Weisgerber <naddy@mips.inka.de> and
1180	Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1181
11822008-08-18  Bruno Haible  <bruno@clisp.org>
1183
1184	* threadlib.c: Include <pthread.h>.
1185
11862008-08-18  Bruno Haible  <bruno@clisp.org>
1187
1188	* lock.h [USE_SOLARIS_THREADS]: Fix glthread_recursive_lock_* macros.
1189	* lock.c (glthread_recursive_lock_destroy_multithreaded): Fix syntax
1190	error.
1191
11922008-08-17  Bruno Haible  <bruno@clisp.org>
1193
1194	* lock.h: Include <stdlib.h> always.
1195
11962008-08-17  Bruno Haible  <bruno@clisp.org>
1197
1198	* threadlib.c: New file, extracted from lock.c.
1199	* lock.c (dummy_thread_func, glthread_in_use): Remove functions.
1200	* Makefile.in (SOURCES): Add threadlib.c.
1201	(OBJECTS): Add threadlib.$lo.
1202	(threadlib.lo): New rule.
1203
12042008-08-14  Bruno Haible  <bruno@clisp.org>
1205
1206	* lock.h (glthread_lock_lock, glthread_lock_unlock,
1207	glthread_lock_destroy, glthread_rwlock_rdlock, glthread_rwlock_wrlock,
1208	glthread_rwlock_unlock, glthread_rwlock_destroy,
1209	glthread_recursive_lock_lock, glthread_recursive_lock_unlock,
1210	glthread_recursive_lock_destroy): Define as macros always.
1211	* lock.c (glthread_lock_lock_func): Renamed from glthread_lock_lock.
1212	(glthread_lock_unlock_func): Renamed from glthread_lock_unlock.
1213	(glthread_lock_destroy_func): Renamed from glthread_lock_destroy.
1214	(glthread_rwlock_rdlock_func): Renamed from glthread_rwlock_rdlock.
1215	(glthread_rwlock_wrlock_func): Renamed from glthread_rwlock_wrlock.
1216	(glthread_rwlock_unlock_func): Renamed from glthread_rwlock_unlock.
1217	(glthread_rwlock_destroy_func): Renamed from glthread_rwlock_destroy.
1218	(glthread_recursive_lock_lock_func): Renamed from
1219	glthread_recursive_lock_lock.
1220	(glthread_recursive_lock_unlock_func): Renamed from
1221	glthread_recursive_lock_unlock.
1222	(glthread_recursive_lock_destroy_func): Renamed from
1223	glthread_recursive_lock_destroy.
1224
12252008-08-07  Paolo Bonzini  <bonzini@gnu.org>
1226
1227	* lock.c (glthread_recursive_lock_init_multithreaded)
1228	[!PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: Fix typo.
1229
12302008-08-03  Bruno Haible  <bruno@clisp.org>
1231
1232	Additional non-aborting API for lock.
1233	* lock.h: Include <errno.h>.
1234	(glthread_lock_init): New macro/function.
1235	(gl_lock_init): Define as wrapper around glthread_lock_init.
1236	(glthread_lock_lock): New macro/function.
1237	(gl_lock_lock): Define as wrapper around glthread_lock_lock.
1238	(glthread_lock_unlock): New macro/function.
1239	(gl_lock_unlock): Define as wrapper around glthread_lock_unlock.
1240	(glthread_lock_destroy): New macro/function.
1241	(gl_lock_destroy): Define as wrapper around glthread_lock_destroy.
1242	(glthread_rwlock_init): New macro/function.
1243	(gl_rwlock_init): Define as wrapper around glthread_rwlock_init.
1244	(glthread_rwlock_rdlock): New macro/function.
1245	(gl_rwlock_rdlock): Define as wrapper around glthread_rwlock_rdlock.
1246	(glthread_rwlock_wrlock): New macro/function.
1247	(gl_rwlock_wrlock): Define as wrapper around glthread_rwlock_wrlock.
1248	(glthread_rwlock_unlock): New macro/function.
1249	(gl_rwlock_unlock): Define as wrapper around glthread_rwlock_unlock.
1250	(glthread_rwlock_destroy): New macro/function.
1251	(gl_rwlock_destroy): Define as wrapper around glthread_rwlock_destroy.
1252	(glthread_recursive_lock_init): New macro/function.
1253	(gl_recursive_lock_init): Define as wrapper around
1254	glthread_recursive_lock_init.
1255	(glthread_recursive_lock_lock): New macro/function.
1256	(gl_recursive_lock_lock): Define as wrapper around
1257	glthread_recursive_lock_lock.
1258	(glthread_recursive_lock_unlock): New macro/function.
1259	(gl_recursive_lock_unlock): Define as wrapper around
1260	glthread_recursive_lock_unlock.
1261	(glthread_recursive_lock_destroy): New macro/function.
1262	(gl_recursive_lock_destroy): Define as wrapper around
1263	glthread_recursive_lock_destroy.
1264	(glthread_once): New macro/function.
1265	(gl_once): Define as wrapper around glthread_once.
1266	Update function declarations.
1267	* lock.c (glthread_rwlock_init_multithreaded): Renamed from
1268	glthread_rwlock_init. Return error code.
1269	(glthread_rwlock_rdlock_multithreaded): Renamed from
1270	glthread_rwlock_rdlock. Return error code.
1271	(glthread_rwlock_wrlock_multithreaded): Renamed from
1272	glthread_rwlock_wrlock. Return error code.
1273	(glthread_rwlock_unlock_multithreaded): Renamed from
1274	glthread_rwlock_unlock. Return error code.
1275	(glthread_rwlock_destroy_multithreaded): Renamed from
1276	glthread_rwlock_destroy. Return error code.
1277	(glthread_recursive_lock_init_multithreaded): Renamed from
1278	glthread_recursive_lock_init. Return error code.
1279	(glthread_recursive_lock_lock_multithreaded): Renamed from
1280	glthread_recursive_lock_lock. Return error code.
1281	(glthread_recursive_lock_unlock_multithreaded): Renamed from
1282	glthread_recursive_lock_unlock. Return error code.
1283	(glthread_recursive_lock_destroy_multithreaded): Renamed from
1284	glthread_recursive_lock_destroy. Return error code.
1285	(glthread_once_call): Make static.
1286	(glthread_once_multithreaded): Renamed from glthread_once.
1287	Suggested by Yoann Vandoorselaere <yoann@prelude-ids.org>.
1288
12892008-03-30  Ulrich Drepper  <drepper@redhat.com>
1290
1291	[BZ #5443]
1292	* dcigettext.c (__dcigettext): Get reader lock for locale data before
1293	looking for translation.
1294
12952008-03-30  Jakub Jelinek  <jakub@redhat.com>
1296
1297	* dcigettext.c (_nl_find_msg): Reread nconversions after acquiring
1298	wrlock.  Do conv_tab allocation while holding lock.
1299	<http://sourceware.org/ml/libc-hacker/2008-03/msg00009.html>
1300
13012008-02-10  Jim Meyering  <meyering@redhat.com>
1302
1303	* bindtextdom.c (set_binding_values): Remove useless "if" before "free".
1304	* loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise.
1305
13062008-05-27  Bruno Haible  <bruno@clisp.org>
1307
1308	* localename.c (SUBLANG_TIBETAN_BHUTAN): Force value 2. Needed for
1309	current mingw.
1310	Reported by Jose E. Marchesi <jemarch@gnu.org>.
1311
13122008-04-21  Bruno Haible  <bruno@clisp.org>
1313
1314	* localename.c (SUBLANG_TIBETAN_PRC, SUBLANG_TIBETAN_BHUTAN): Actually
1315	assign a value.
1316
13172008-04-17  Bruno Haible  <bruno@clisp.org>
1318
1319	* lock.h (gl_lock_destroy, gl_rwlock_destroy,
1320	gl_recursive_lock_destroy): Provide no-op definitions for the dummy
1321	implementation.
1322	Patch by Bruce Merry <bmerry@gmail.com>.
1323
13242008-04-16  Bruno Haible  <bruno@clisp.org>
1325
1326	* localename.c (LANG_MAORI, LANG_QUECHUA, LANG_SOTHO, LANG_UIGHUR): New
1327	macros.
1328	(SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN,
1329	SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC,
1330	SUBLANG_CROATIAN_CROATIA, SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN,
1331	SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA, SUBLANG_MONGOLIAN_PRC,
1332	SUBLANG_QUECHUA_BOLIVIA, SUBLANG_QUECHUA_ECUADOR, SUBLANG_QUECHUA_PERU,
1333	SUBLANG_RUSSIAN_RUSSIA, SUBLANG_RUSSIAN_MOLDAVIA, SUBLANG_SPANISH_US,
1334	SUBLANG_TIBETAN_PRC, SUBLANG_TIBETAN_BHUTAN, SUBLANG_UIGHUR_PRC): New
1335	macros.
1336	(gl_locale_name_from_win32_LANGID): Refine code for Croatian/Bosnian,
1337	Mongolian, Russian, Spanish, Tibetan. Add code for Maori, Quechua,
1338	Northern Sotho, Uighur.
1339
13402008-04-16  Bruno Haible  <bruno@clisp.org>
1341
1342	* localename.c (SUBLANG_SINDHI_INDIA): New macro.
1343	(SUBLANG_SINDHI_PAKISTAN): Change value from 1 to 2.
1344	(gl_locale_name_from_win32_LANGID): Fix code for Sindhi.
1345	Reported by Daniel Bergström <daniel@octocode.com>.
1346
13472007-12-25  KJK::Hyperion  <hackbunny@reactos.com>
1348            Bruno Haible  <bruno@clisp.org>
1349
1350	* gettextP.h (gl_locale_name_from_win32_LANGID,
1351	gl_locale_name_from_win32_LCID): New macros.
1352	* localename.c (gl_locale_name_canonicalize) [WIN32_NATIVE]: New
1353	function.
1354	(gl_locale_name_from_win32_LANGID, gl_locale_name_from_win32_LCID):
1355	New functions, mostly extracted from gl_locale_name_default.
1356	(gl_locale_name_default): Use gl_locale_name_from_win32_LCID.
1357	* langprefs.c [WIN32_NATIVE] (_nl_locale_name_canonicalize,
1358	_nl_locale_name_from_win32_LANGID, _nl_locale_name_from_win32_LCID):
1359	New declarations.
1360	(_nl_language_preferences_win32_mui, _nl_language_preferences_win32_ME,
1361	_nl_language_preferences_win32_95, ret_first_language,
1362	_nl_language_preferences_win32_system): New functions.
1363	(_nl_language_preferences_default): Use them.
1364
13652007-11-30  Bruno Haible  <bruno@clisp.org>
1366
1367	* lock.h (gl_recursive_lock_init) [PTHREAD &&
1368	PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: Call
1369	glthread_recursive_lock_init.
1370	* lock.c (glthread_recursive_lock_init)
1371	[PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: New function.
1372	Reported by Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1373
13742007-11-28  Bruno Haible  <bruno@clisp.org>
1375
1376	* libgnuintl.h.in (fprintf, vfprintf, printf, vprintf, sprintf,
1377	vsprintf, snprintf, vsnprintf, asprintf, vasprintf): Don't override
1378	definitions made by gnulib.
1379	Reported by Jim Meyering <jim@meyering.net>.
1380
13812007-11-28  Bruno Haible  <bruno@clisp.org>
1382
1383	* l10nflist.c (_nl_normalize_codeset): Change type of 'len' variable
1384	to size_t.
1385	Patch by Wim Lewis.
1386
13872007-11-26  Bruno Haible  <bruno@clisp.org>
1388
1389	* vasnprintf.c (decode_long_double): Don't abort if the 'long double'
1390	type has excess precision.
1391	Reported by Jim Meyering in
1392	<http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00120.html>.
1393
13942007-11-15  Bruno Haible  <bruno@clisp.org>
1395
1396	Avoid crash by stack overflow when msgid is very long.
1397	* dcigettext.c (struct known_translation_t): Turn msgid into a union.
1398	(transcmp): Use the appropriate part of s1->msgid and s2->msgid.
1399	(DCIGETTEXT): Change the allocation of the 'search' variable so that
1400	it needs only fixed stack space. Delay the initialization of
1401	msgid_len until it is needed.
1402	Reported by Laurent Gaffié <laurent.gaffie@gmail.com> via
1403	Ismail Dönmez <ismail@pardus.org.tr>.
1404
14052007-11-14  Bruno Haible  <bruno@clisp.org>
1406
1407	* config.charset: Update for OpenBSD 4.1.
1408	Reported and helped by Ben Pfaff <blp@cs.stanford.edu>.
1409
14102007-11-09  Bruno Haible  <bruno@clisp.org>
1411
1412	* vasnprintf.c (VASNPRINTF): Ensure that we never call snprintf with a
1413	size argument < 2.
1414
14152007-11-09  Bruno Haible  <bruno@clisp.org>
1416
1417	* vasnprintf.c (VASNPRINTF): Increase reallocation of snprintf buffer.
1418	Fixes an inefficiency introduced on 2007-11-03.
1419
14202007-11-07  Bruno Haible  <bruno@clisp.org>
1421
1422	* gettext-0.17 released.
1423
14242007-11-05  Bruno Haible  <bruno@clisp.org>
1425
1426	* vasnprintf.c (VASNPRINTF): Expand the NEED_PRINTF_DIRECTIVE_A
1427	code when NEED_PRINTF_LONG_DOUBLE or NEED_PRINTF_DOUBLE is set.
1428	Needed on Cygwin, where !NEED_PRINTF_DIRECTIVE_A && NEED_PRINTF_DOUBLE.
1429	Reported by Eric Blake.
1430
14312007-11-04  Bruno Haible  <bruno@clisp.org>
1432
1433	* lock.h: Protect all macro definitions containing an 'if' statement
1434	through a "do { ... } while (0)".
1435
14362007-11-04  Bruno Haible  <bruno@clisp.org>
1437
1438	* vasnprintf.c (DCHAR_IS_TCHAR, DCHAR_CPY): Undefine at the end.
1439
14402007-06-11  Bruno Haible  <bruno@clisp.org>
1441
1442	* printf-args.c (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Fix NULL
1443	replacement string.
1444	Reported by Eric Blake.
1445
14462007-06-10  Bruno Haible  <bruno@clisp.org>
1447
1448	* printf-args.h (PRINTF_FETCHARGS): New macro.
1449	(arg_type) [ENABLE_UNISTDIO]: Define TYPE_U8_STRING, TYPE_U16_STRING,
1450	TYPE_U32_STRING.
1451	(argument) [ENABLE_UNISTDIO]: Add a_u8_string, a_u16_string,
1452	a_u32_string variants.
1453	(PRINTF_FETCHARGS): Renamed from printf_fetchargs.
1454	* printf-args.c: Don't include config.h and the specification header
1455	if PRINTF_FETCHARGS is already defined.
1456	(PRINTF_FETCHARGS): Renamed from printf_fetchargs.
1457	(PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Add code for TYPE_U8_STRING,
1458	TYPE_U16_STRING, TYPE_U32_STRING.
1459
14602007-11-04  Bruno Haible  <bruno@clisp.org>
1461
1462	* Makefile.in (libintl.res): Use 'c' command instead of 'a' command.
1463	Needed for GNU sed 3.02.
1464
14652007-11-04  Bruno Haible  <bruno@clisp.org>
1466
1467	* vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_UNBOUNDED_PRECISION.
1468
14692007-11-04  Bruno Haible  <bruno@clisp.org>
1470
1471	* vasnprintf.c (scale10_round_decimal_decoded): Fix shift loop.
1472
14732007-11-03  Bruno Haible  <bruno@clisp.org>
1474
1475	* vasnprintf.c: Implement NEED_PRINTF_DOUBLE.
1476	(decode_double): New function, copied from decode_long_double.
1477	(scale10_round_decimal_decoded): New function, extracted from
1478	scale10_round_decimal_long_double.
1479	(scale10_round_decimal_long_double): Use it.
1480	(scale10_round_decimal_double): New function.
1481	(floorlog10): New function.
1482	(VASNPRINTF): Handle NEED_PRINTF_DOUBLE case.
1483
14842007-11-03  Bruno Haible  <bruno@clisp.org>
1485
1486	* vasnprintf.c (VASNPRINTF): Don't assume that snprintf's return value
1487	is C99 compliant.
1488	Needed for OSF/1 5.1.
1489
14902007-11-03  Bruno Haible  <bruno@clisp.org>
1491
1492	Fix out-of-memory handling of vasnprintf.
1493	* printf-parse.c: Include <errno.h>.
1494	(PRINTF_PARSE): When failing, set errno to EINVAL or ENOMEM.
1495	* vasnprintf.c (VASNPRINTF): When PRINTF_PARSE fails, assume errno is
1496	already set.
1497
14982007-10-20  Bruno Haible  <bruno@clisp.org>
1499
1500	* vasnprintf.c (VASNPRINTF): Don't report overflow if the available
1501	length is INT_MAX and sizeof (DCHAR_T) > sizeof (TCHAR_T).
1502	Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1503
15042007-10-18  Bruno Haible  <bruno@clisp.org>
1505
1506	* vasnprintf.c (VASNPRINTF): Don't use %n on glibc >= 2.3 systems.
1507	Reported by Jim Meyering.
1508
15092007-07-13  Bruno Haible  <bruno@clisp.org>
1510
1511	* vasnprintf.c (decimal_point_char): Define also if
1512	(NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE)
1513	&& !NEED_PRINTF_DIRECTIVE_A.
1514	Reported by Clemens Koller <clemens.koller@anagramm.de> via
1515	Gary V. Vaughan <gary@gnu.org>.
1516
15172007-06-10  Bruno Haible  <bruno@clisp.org>
1518
1519	* vasnprintf.c: Don't include config.h and the specification header if
1520	VASNPRINTF is already defined.
1521	(DCHAR_IS_TCHAR, DCHAR_CPY): New macros.
1522	(VASNPRINTF): Use PRINTF_FETCHARGS instead of printf_fetchargs. Use
1523	DCHAR_CPY. Handle the case that DCHAR_T and FCHAR_T are not the same
1524	type. Handle the case that TCHAR_T and FCHAR_T are not of the same
1525	size. Handle the case that DCHAR_T and TCHAR_T are not the same type,
1526	add a conversion from TCHAR_T[] to DCHAR_T[], and rework the padding
1527	code accordingly.
1528	(VASNPRINTF) [ENABLE_UNISTDIO]: Implement the 'U' directive. Enable
1529	pad_ourselves also in this case, with the 'c' and 's' directives, and
1530	with a different notion of "width".
1531
15322007-06-10  Bruno Haible  <bruno@clisp.org>
1533
1534	* vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Remove variable
1535	'maxlen'. Ensure only length + width bytes are allocated, not
1536	length + 1 + width.
1537
15382007-06-09  Bruno Haible  <bruno@clisp.org>
1539
1540	* vasnprintf.c (FCHAR_T, DCHAR_T, TCHAR_T): New macros.
1541	(CHAR_T): Remove macro.
1542	(VASNPRINTF): Update.
1543
15442007-06-05  Bruno Haible  <bruno@clisp.org>
1545
1546	* vasnprintf.c (VASNPRINTF): Do the extra handling of NaN and Inf
1547	also the %a / %A. Handle the %a / %A code before this extra handling.
1548
15492007-06-05  Bruno Haible  <bruno@clisp.org>
1550
1551	* vasnprintf.c [NEED_PRINTF_LONG_DOUBLE ||
1552	NEED_PRINTF_INFINITE_LONG_DOUBLE]: Include fpucw.h.
1553
15542007-11-01  Bruno Haible  <bruno@clisp.org>
1555
1556	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.17.
1557	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 8:2:0.
1558
15592007-10-28  Ulrich Drepper  <drepper@redhat.com>
1560
1561	* locale.alias: Add note that this file should never be depended on.
1562
15632007-10-27  Bruno Haible  <bruno@clisp.org>
1564
1565	* Makefile.in (libintl.la): Use @LTLIBC@ instead of -lc. Needed on
1566	HP-UX 11.
1567
15682007-10-21  Bruno Haible  <bruno@clisp.org>
1569
1570	* printf-parse.c: Don't assume <stdint.h> exists in IN_LIBASPRINTF
1571	context.
1572
15732007-10-21  Bruno Haible  <bruno@clisp.org>
1574
1575	* dcigettext.c (_nl_find_msg): Use plain ANSI C.
1576
15772007-10-20  Bruno Haible  <bruno@clisp.org>
1578
1579	* Makefile.in (libintl.res): Put more literal newlines into the sed
1580	scripts.
1581
15822007-10-14  Bruno Haible  <bruno@clisp.org>
1583
1584	* dcigettext.c (DCIGETTEXT): Save errno also around the tfind() call.
1585	Needed because Interix 3.5 tfind() clobbers errno.
1586	Reported by Martin Koeppe <mkoeppe@gmx.de>.
1587
15882007-10-13  Bruno Haible  <bruno@clisp.org>
1589
1590	* gettextP.h: Include <bits/libc-lock.h> or lock.h.
1591	* dcigettext.c (_nl_find_msg): Unlock the conversions_lock when
1592	exiting.
1593
15942007-09-24  Ulrich Drepper  <drepper@redhat.com>
1595
1596	[BZ #5058]
1597	http://sourceware.org/bugzilla/show_bug.cgi?id=5058
1598	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443660
1599	* gettextP.h (struct loaded_domain): Add conversions_lock member.
1600	* loadmsgcat.c (_nl_load_domain): Initialize conversions_lock.
1601	(_nl_unload_domain): Finalize conversions_lock.
1602	* dcigettext.c (_nl_find_msg): Take conversions_lock before handling
1603	table of known conversions.
1604
16052007-08-03  Jakub Jelinek  <jakub@redhat.com>
1606
1607	* dcigettext.c (_nl_find_msg): Free encoding if __gconv_open failed.
1608	* finddomain.c (_nl_find_domain): Free normalized_codeset on failure.
1609
16102007-07-26  Jakub Jelinek  <jakub@redhat.com>
1611
1612	* gettextP.h (struct loaded_domain): Change plural to const
1613	struct expression *.
1614	* eval-plural.h (plural_eval): Change first argument to
1615	const struct expression *.
1616	* plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first argument to
1617	const struct expression **.
1618	* plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust
1619	prototypes.
1620	* loadmsgcat.c (_nl_unload_domain): Cast away const in call to
1621	__gettext_free_exp.
1622
16232007-07-19  Jakub Jelinek  <jakub@redhat.com>
1624
1625	* dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open
1626	returns __GCONV_NOCONV, but not for __GCONV_NULCONV.
1627
16282007-07-11  Jakub Jelinek  <jakub@redhat.com>
1629
1630	* finddomain.c (_nl_find_domain): If _nl_explode_name returned -1,
1631	return NULL.
1632	* explodename.c (_nl_explode_name): Return -1 if _nl_normalize_codeset
1633	failed.
1634
16352007-06-10  Bruno Haible  <bruno@clisp.org>
1636
1637	* printf-parse.c: Don't include config.h and the specification
1638	header if PRINTF_PARSE is already defined. Eliminate the set of
1639	parameters for WIDE_CHAR_VERSION; the user of this file must provide
1640	them now. Include c-ctype.h.
1641	(PRINTF_PARSE) [ENABLE_UNISTDIO]: Add code implementing the 'U'
1642	directive and CHAR_T_ONLY_ASCII.
1643	* printf.c: Include wprintf-parse.h. Define the set of parameters for
1644	the WIDE_CHAR_VERSION.
1645
16462007-06-07  Bruno Haible  <bruno@clisp.org>
1647
1648	* gettextP.h (gl_locale_name_canonicalize, gl_locale_name_posix,
1649	gl_locale_name_default, gl_locale_name): New macros.
1650	(_nl_locale_name_canonicalize): New declaration.
1651	* localename.c: Include config.h unconditionally. Include gettextP.h or
1652	localename.h.
1653	(gl_locale_name_canonicalize): Renamed from
1654	_nl_locale_name_canonicalize. Make static except in libintl.
1655	(gl_locale_name_posix): Renamed from _nl_locale_name_posix.
1656	(gl_locale_name_default): Renamed from _nl_locale_name_default.
1657	(gl_locale_name): Renamed from _nl_locale_name.
1658
16592007-05-28  Bruno Haible  <bruno@clisp.org>
1660
1661	* libintl.rc: New file.
1662	* Makefile.in (DISTFILES.common): Add it.
1663	(WINDRES): New variable.
1664	(OBJECTS_RES_yes, OBJECTS_RES_no): New variables.
1665	(libintl.la, libgnuintl.la): Include also $((OBJECTS_RES_...).
1666	(libintl.res): New rule.
1667	(mostlyclean): Remove also libintl.res.
1668
16692007-05-21  Bruno Haible  <bruno@clisp.org>
1670
1671	* vasnprintf.c: Update comments.
1672
16732007-03-24  Bruno Haible  <bruno@clisp.org>
1674
1675	* tsearch.c [!IN_LIBINTL]: Include search.h instead of tsearch.h.
1676
16772007-05-20  Bruno Haible  <bruno@clisp.org>
1678
1679	* vasnprintf.c: Use NEED_PRINTF_INFINITE_DOUBLE instead of
1680	NEED_PRINTF_INFINITE.
1681	(is_infinitel): New function.
1682	(VASNPRINTF): Handle NEED_PRINTF_INFINITE_LONG_DOUBLE case.
1683
16842007-05-19  Bruno Haible  <bruno@clisp.org>
1685
1686	* vasnprintf.c: Include math.h and isnan.h.
1687	(is_infinite_or_zero): New function.
1688	(VASNPRINTF): Fix also the handling of infinite or zero 'double'
1689	values in the %f, %F, %e, %E, %g, %G directives.
1690
16912007-05-19  Bruno Haible  <bruno@clisp.org>
1692
1693	* vasnprintf.c (convert_to_decimal): Add an extra_zeroes argument.
1694	(scale10_round_decimal_long_double): Inline scale10_round_long_double.
1695	Instead of multiplying with 10^k, set extra_zeroes to k.
1696	(scale10_round_long_double): Remove function.
1697
16982007-05-18  Bruno Haible  <bruno@clisp.org>
1699
1700	* vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Fix logic bug
1701	introduced on 2007-05-06.
1702
17032007-05-18  Bruno Haible  <bruno@clisp.org>
1704
1705	* vasnprintf.c: Include math.h and float+.h.
1706	(mp_limb_t): New type.
1707	(GMP_LIMB_BITS): New macro.
1708	(mp_twolimb_t): New type.
1709	(GMP_TWOLIMB_BITS): New macro.
1710	(mpn_t): New type.
1711	(multiply, divide, convert_to_decimal, decode_long_double,
1712	scale10_round_long_double, scale10_round_decimal_long_double,
1713	floorlog10l): New functions.
1714	(VASNPRINTF) [NEED_PRINTF_LONG_DOUBLE]: Implement 'long double' support
1715	for the %f, %F, %e, %E, %g, %G directives.
1716
17172007-05-18  Bruno Haible  <bruno@clisp.org>
1718
1719	* vasnprintf.c (USE_SNPRINTF): Define to 0 on BeOS.
1720
17212007-05-18  Bruno Haible  <bruno@clisp.org>
1722
1723	* vasnprintf.c (VASNPRINTF) [WIN32]: Use %I64d instead of %lld for
1724	printing 64-bit integers. Needed for mingw.
1725
17262007-05-06  Bruno Haible  <bruno@clisp.org>
1727
1728	* vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Perform the
1729	padding ourselves for the floating-point directives.
1730
17312007-05-06  Bruno Haible  <bruno@clisp.org>
1732
1733	* vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_GROUPING]: Don't pass
1734	the ' flag character to sprintf or snprintf.
1735
17362007-04-11  Bruno Haible  <bruno@clisp.org>
1737
1738	* vasnprintf.c (VASNPRINTF): Implement the %F directive using the %f
1739	directive, if NEED_PRINTF_DIRECTIVE_F is defined.
1740
17412007-04-06  Bruno Haible  <bruno@clisp.org>
1742
1743	* vasnprintf.c: Include <math.h>. Don't include float+.h.
1744	(VASNPRINTF): Use signbit for faster determination whether to print a
1745	minus sign.
1746
17472007-03-27  Bruno Haible  <bruno@clisp.org>
1748
1749	* vasnprintf.c (decimal_point_char): New function.
1750	(VASNPRINTF): Use it.
1751
17522007-03-25  Bruno Haible  <bruno@clisp.org>
1753
1754	* vasnprintf.c: Include langinfo.h.
1755	(VASNPRINTF): Prefer nl_langinfo over localeconv, since it's more
1756	multithread-safe.
1757
17582007-03-24  Bruno Haible  <bruno@clisp.org>
1759
1760	* vasnprintf.c: Include fpucw.h.
1761	(VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the
1762	'long double' calculations.
1763
17642007-03-24  Bruno Haible  <bruno@clisp.org>
1765
1766	* vasnprintf.c: Include float+.h.
1767	(VASNPRINTF): When comparing against +0.0L or +0.0, compare only
1768	SIZEOF_LDBL or SIZEOF_DBL bytes.
1769
17702007-03-24  Bruno Haible  <bruno@clisp.org>
1771
1772	* vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't
1773	include isnanl-nolibm.h.
1774
17752007-03-21  Bruno Haible  <bruno@clisp.org>
1776
1777	* vasnprintf.c: Update after isnanl.h was renamed to isnanl-nolibm.h.
1778
17792007-03-18  Bruno Haible  <bruno@clisp.org>
1780
1781	* vasnprintf.c (VASNPRINTF): Undo first part of last patch.
1782
17832007-03-17  Bruno Haible  <bruno@clisp.org>
1784
1785	* vasnprintf.c (EOVERFLOW): New fallback definition.
1786	(VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
1787	larger than INT_MAX, or when it grow to a value larger than INT_MAX.
1788
17892007-03-17  Bruno Haible  <bruno@clisp.org>
1790
1791	* vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem
1792	before comparing it. Needed because on some platforms (e.g. x86) a
1793	'long double' occupies less bytes than sizeof (long double).
1794
17952007-03-11  Bruno Haible  <bruno@clisp.org>
1796
1797	* vasnprintf.c (sprintf): Undefine.
1798
17992007-03-11  Bruno Haible  <bruno@clisp.org>
1800
1801	* vasnprintf.c (snprintf): Undefine. Avoids an endless recursion.
1802
18032007-03-09  Bruno Haible  <bruno@clisp.org>
1804
1805	* vasnprintf.c (VASNPRINTF): For the 'a' and 'A' directives, use a
1806	locale dependent decimal point, rather than always '.'.
1807
18082007-03-04  Bruno Haible  <bruno@clisp.org>
1809
1810	* vasnprintf.c: Include isnan.h, isnanl.h, printf-frexp.h,
1811	printf-frexpl.h.
1812	(VASNPRINTF): Handle the 'a' and 'A' directives here, if needed.
1813
18142007-03-08  Bruno Haible  <bruno@clisp.org>
1815
1816	* vasnprintf.h: Convert tabs in the middle of lines to spaces.
1817
18182007-05-12  Bruno Haible  <bruno@clisp.org>
1819
1820	* Makefile.in (install-dvi, install-html, install-info, install-ps,
1821	install-pdf): New targets.
1822	Reported by Noah Slater <nslater@gmail.com>.
1823
18242007-04-06  Bruno Haible  <bruno@clisp.org>
1825
1826	* printf-args.h: Assume HAVE_LONG_DOUBLE to be true.
1827	* printf-args.c: Likewise.
1828	* printf-parse.c: Likewise.
1829	* vasnprintf.c: Likewise.
1830
18312007-03-25  Bruno Haible  <bruno@clisp.org>
1832
1833	* printf-parse.c [!IN_LIBINTL]: Include <stdint.h>, for intmax_t.
1834	(PRINTF_PARSE): Make the support for size specifier 'j' unconditional.
1835
18362007-03-04  Bruno Haible  <bruno@clisp.org>
1837
1838	* libgnuintl.h.in (libintl_printf): Treat BeOS like NetBSD and Woe32
1839	systems.
1840	* printf.c (libintl_printf): Likewise.
1841
18422007-02-25  Bruno Haible  <bruno@clisp.org>
1843
1844	* vasnprintf.c (VASNPRINTF): Fix estimate of size needed for a 'a' or
1845	'A' conversion.
1846
18472007-01-29  Bruno Haible  <bruno@clisp.org>
1848
1849	* printf-args.h: Use '#if HAVE_*' instead of '#ifdef HAVE_*'.
1850	* printf-args.c: Likewise.
1851	* printf-parse.c: Likewise.
1852	* vasnprintf.c: Likewise.
1853
18542007-01-27  Bruno Haible  <bruno@clisp.org>
1855
1856	* tsearch.h: New file, from gnulib.
1857	* tsearch.c: New file, from gnulib.
1858	* dcigettext.c [!HAVE_TSEARCH]: Include tsearch.h and tsearch.c.
1859	(root, transcmp): Define unconditionally.
1860	(DCIGETTEXT): Assume tsearch exists.
1861	* Makefile.in (HEADERS): Add tsearch.h, tsearch.c.
1862
18632006-12-21  Bruno Haible  <bruno@clisp.org>
1864
1865	* localename.c (SUBLANG_BENGALI_INDIA): Change value from 0 to 1.
1866	(SUBLANG_BENGALI_BANGLADESH): Change value from 1 to 2.
1867	(SUBLANG_PUNJABI_INDIA): Change value from 0 to 1.
1868	(SUBLANG_PUNJABI_PAKISTAN): Change value from 1 to 2.
1869	(SUBLANG_ROMANIAN_ROMANIA): Change value from 0 to 1.
1870	(SUBLANG_ROMANIAN_MOLDOVA): Change value from 1 to 2.
1871	(SUBLANG_SINDHI_INDIA): Remove macro.
1872	(SUBLANG_SINDHI_AFGHANISTAN): New macro.
1873	(SUBLANG_TAMAZIGHT_ALGERIA_LATIN): Renamed from
1874	SUBLANG_TAMAZIGHT_LATIN.
1875	(SUBLANG_TIGRINYA_ETHIOPIA): Change value from 0 to 1.
1876	(SUBLANG_TIGRINYA_ERITREA): Change value from 1 to 2.
1877	(_nl_locale_name_default): Update.
1878	Reported by Bob Rossi <bob_rossi@cox.net>.
1879
18802006-10-30  Bruno Haible  <bruno@clisp.org>
1881
1882	* plural-exp.h [C++]: Define functions without name mangling.
1883
18842006-11-03  Bruno Haible  <bruno@clisp.org>
1885
1886	Move declarations to header files.
1887	* dcigettext.c: Include localcharset.h.
1888	(get_output_charset): Remove locale_charset declaration.
1889
18902006-10-30  Bruno Haible  <bruno@clisp.org>
1891
1892	Move declarations to header files.
1893	* gettextP.h (_nl_default_dirname, _nl_domain_bindings): New
1894	declarations and aliases.
1895	(_nl_default_default_domain, _nl_current_default_domain): New
1896	declarations and aliases.
1897	* bindtextdom.c (_nl_default_dirname, _nl_domain_bindings): Remove
1898	declarations and aliases.
1899	* dcigettext.c (_nl_default_default_domain, _nl_current_default_domain,
1900	_nl_default_dirname, _nl_domain_bindings): Remove aliases.
1901	* textdomain.c (_nl_default_default_domain, _nl_current_default_domain):
1902	Remove declarations and aliases.
1903
19042006-11-01  Bruno Haible  <bruno@clisp.org>
1905
1906	* printf-parse.c (PRINTF_PARSE): Cast malloc/realloc results.
1907
19082006-10-29  Bruno Haible  <bruno@clisp.org>
1909
1910	Make it compile in C++ mode.
1911	* gettextP.h (SWAP): Don't use K&R syntax in C++ mode.
1912	* gmo.h (struct segment_pair): Move out of the scope of struct
1913	sysdep_string.
1914	* dcigettext.c (DCIGETTEXT): Cast mempcpy results.
1915	* loadmsgcat.c (_nl_load_domain): Cast alloca result.
1916	* localealias.c (read_alias_file): Cast memcpy result.
1917	* plural-exp.h (enum expression_operator): Move out of the scope of
1918	struct expression. Rename from 'enum operator'.
1919	* plural-exp.c (plvar, plone, GERMANIC_PLURAL): Don't use C99 named
1920	initializer syntax in C++ mode.
1921	* plural.y (%union, new_exp, new_exp_0, new_exp_1, new_exp_2,
1922	new_exp_3): Update.
1923
19242006-11-27  Bruno Haible  <bruno@clisp.org>
1925
1926	* gettext-0.16.1 released.
1927
19282006-10-26  Bruno Haible  <bruno@clisp.org>
1929
1930	* gettext-0.16 released.
1931
19322006-10-24  Bruno Haible  <bruno@clisp.org>
1933
1934	* localename.c (HAVE_LOCALE_NULL): Test __GLIBC__ instead of
1935	__GNU_LIBRARY__.
1936
19372006-10-24  Bruno Haible  <bruno@clisp.org>
1938
1939	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.16.
1940
19412006-10-18  Bruno Haible  <bruno@clisp.org>
1942
1943	* lock.h [C++]: Wrap definitions in extern "C".
1944
19452006-10-17  Paul Eggert  <eggert@cs.ucla.edu>
1946
1947	* localcharset.c: Do not check HAVE_SETLOCALE.
1948
19492006-10-09  Bruno Haible  <bruno@clisp.org>
1950
1951	* langprefs.c: Update comment about locale name syntax.
1952	* localename.c: Likewise.
1953
19542006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
1955            Bruno Haible  <bruno@clisp.org>
1956
1957	* printf-args.h (arg_type, argument): Test HAVE_LONG_LONG_INT
1958	instead of HAVE_LONG_LONG.
1959	* printf-args.c (printf_fetchargs): Likewise.
1960	* printf-parse.c (PRINTF_PARSE): Likewise.
1961	* vasnprintf.c (VASNPRINTF): Likewise.
1962
19632006-10-08  Bruno Haible  <bruno@clisp.org>
1964
1965	* printf.c: Include errno.h, limits.h.
1966	(EOVERFLOW): New fallback definition.
1967	(libintl_vfprintf): Test whether the output length is > INT_MAX.
1968	(libintl_vsprintf): Likewise.
1969	(libintl_vsnprintf): Fix bug when vasnprintf requested more space than
1970	needed. Fix return value when the entire result string would be larger
1971	than the provided buffer. Test whether the output length is > INT_MAX.
1972	(libintl_vasprintf): Test whether the output length is > INT_MAX.
1973	(libintl_vfwprintf): Likewise.
1974	(libintl_vswprintf): Fix bug when vasnwprintf requested more space than
1975	needed. Test whether the output length is > INT_MAX.
1976
19772006-09-14  Bruno Haible  <bruno@clisp.org>
1978
1979	* lock.c: Include <config.h> unconditionally.
1980	* printf-args.c: Likewise.
1981	* printf-parse.c: Likewise.
1982	* relocatable.c: Likewise.
1983	* vasnprintf.c: Likewise.
1984
19852006-08-26  Bruno Haible  <bruno@clisp.org>
1986
1987	* vasnprintf.c (EOVERFLOW): Remove definition.
1988	(VASNPRINTF): Return a string of length > INT_MAX without failing.
1989
19902006-10-02  Bruno Haible  <bruno@clisp.org>
1991
1992	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.15.1.
1993	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 8:1:0.
1994
19952006-09-14  Bruno Haible  <bruno@clisp.org>
1996
1997	* localcharset.c: Include <config.h> unconditionally.
1998
19992006-09-10  Bruno Haible  <bruno@clisp.org>
2000
2001	* Makefile.in (install_sh): New variable.
2002	Fixes "make install" errors in packages that have no 'mkinstalldirs'
2003	file and use automake <= 1.9.x, on platforms where 'mkdir' does not
2004	support the -p option.
2005
2006	* Makefile.in (mkinstalldirs): Prefix with $(SHELL).
2007
20082006-08-29  Bruno Haible  <bruno@clisp.org>
2009
2010	* localcharset.c: Include configmake.h in order to get LIBDIR defined.
2011
20122006-08-18  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2013
2014	* Makefile.in (MKDIR_P): New variable. Needed by $(mkdir_p) with
2015	Automake-1.10.
2016
20172006-07-29  Bruno Haible  <bruno@clisp.org>
2018
2019	* localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
2020
20212006-07-25  Bruno Haible  <bruno@clisp.org>
2022
2023	* Makefile.msvc: Remove file.
2024	* Makefile.in (DISTFILES.gettext): Remove libgnuintl.h.msvc-static,
2025	libgnuintl.h.msvc-shared, Makefile.msvc.
2026	(DISTFILES.obsolete): Add libgnuintl.h.msvc-static,
2027	libgnuintl.h.msvc-shared, Makefile.msvc.
2028
20292006-07-25  Bruno Haible  <bruno@clisp.org>
2030
2031	* Makefile.vms: Remove file.
2032	* Makefile.in (DISTFILES.gettext): Remove libgnuintl.h_vms,
2033	Makefile.vms.
2034	(DISTFILES.obsolete): Add libgnuintl.h_vms, Makefile.vms.
2035
20362006-07-21  Bruno Haible  <bruno@clisp.org>
2037
2038	* gettext-0.15 released.
2039
20402006-07-21  Bruno Haible  <bruno@clisp.org>
2041
2042	* Makefile.in (mkinstalldirs): New variable. Needed for mkdir_p.
2043
20442006-07-20  Bruno Haible  <bruno@clisp.org>
2045
2046	* dcigettext.c (HAVE_NL_LOCALE_NAME): Undefine.
2047
20482006-07-20  Bruno Haible  <bruno@clisp.org>
2049
2050	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.15.0.
2051
20522006-07-20  Bruno Haible  <bruno@clisp.org>
2053
2054	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 8:0:0.
2055
20562006-07-13  Bruno Haible  <bruno@clisp.org>
2057
2058	* printf.c (libintl_printf): Define to __printf__ on NetBSD, Cygwin,
2059	mingw.
2060	Reported by haibin zhang <dragzhb@yahoo.com.cn>.
2061
20622006-06-22  Ulrich Drepper  <drepper@redhat.com>
2063
2064	* dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't look
2065	further, return original strings.
2066	(_nl_find_msg): Do not return found translation if the conversion
2067	failed.  Either signal the string is unusable or that something went
2068	wrong and the original should be used.
2069
20702006-06-23  Bruno Haible  <bruno@clisp.org>
2071
2072	* l10nflist.c (__argz_count, __argz_stringify, __argz_next): Define
2073	using the non-underscored functions when available. Avoids warnings
2074	on Cygwin.
2075	Reported by Eric Blake.
2076
20772006-06-19  Bruno Haible  <bruno@clisp.org>
2078
2079	* libgnuintl.h.in (libintl_printf): Define to __printf__ on NetBSD,
2080	Cygwin, mingw.
2081	Reported by Henry Nelson <netb@yuba.ne.jp>.
2082
20832006-06-17  Bruno Haible  <bruno@clisp.org>
2084
2085	* bindtextdom.c (gl_rwlock_define, gl_rwlock_wrlock, gl_rwlock_unlock)
2086	[_LIBC]: New macros.
2087	(_nl_state_lock, set_binding_values): Use gl_rwlock_* instead of
2088	__libc_rwlock_*.
2089	* dcigettext.c (gl_rwlock_define_initialized, gl_rwlock_rdlock,
2090	gl_rwlock_wrlock, gl_rwlock_unlock) [_LIBC]: New macros.
2091	(tree_lock, _nl_state_lock, DCIGETTEXT): Use gl_rwlock_* instead of
2092	__libc_rwlock_*.
2093	* finddomain.c (gl_rwlock_define_initialized, gl_rwlock_rdlock,
2094	gl_rwlock_wrlock, gl_rwlock_unlock) [_LIBC]: New macros.
2095	(_nl_find_domain): Use gl_rwlock_* instead of __libc_rwlock_*.
2096	* textdomain.c (gl_rwlock_define, gl_rwlock_wrlock, gl_rwlock_unlock)
2097	[_LIBC]: New macros.
2098	(_nl_state_lock, TEXTDOMAIN): Use gl_rwlock_* instead of
2099	__libc_rwlock_*.
2100	Needed because NetBSD 3.0 <pthread.h> does
2101	#define pthread_rwlock_rdlock __libc_rwlock_rdlock etc.
2102
21032006-06-17  Bruno Haible  <bruno@clisp.org>
2104
2105	* config.charset: Update for NetBSD 3.0.
2106
21072006-05-24  Bruno Haible  <bruno@clisp.org>
2108
2109	* printf-args.c (printf_fetchargs): Turn NULL pointers for
2110	TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement.
2111	Reported by Thorsten Maerz <torte@netztorte.de> via
2112	Aaron Stone <aaron@serendipity.cx>.
2113
21142006-05-15  Ulrich Drepper  <drepper@redhat.com>
2115
2116	* dcigettext.c (category_to_name): Adjust for _nl_category_names
2117	change.
2118
21192006-04-06  Ulrich Drepper  <drepper@redhat.com>
2120
2121	* finddomain.c (_nl_find_domain): We never return NULL if we found the
2122	locale.
2123
21242005-12-21  Roland McGrath  <roland@redhat.com>
2125
2126	* l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later malloc
2127	fails.
2128
21292006-05-17  Bruno Haible  <bruno@clisp.org>
2130
2131	Cygwin portability.
2132	* loadinfo.h (PATH_SEPARATOR) [CYGWIN]: Define as ':'.
2133	* localename.c (WIN32_NATIVE): Renamed from WIN32.
2134	* localcharset.c (WIN32_NATIVE): Renamed from WIN32.
2135
21362006-05-16  Bruno Haible  <bruno@clisp.org>
2137
2138	* localcharset.c [CYGWIN]: Include <windows.h>.
2139	(get_charset_aliases): For Cygwin, return the same CPxxx aliases list
2140	as under WIN32.
2141	(locale_charset) [CYGWIN]: Try to retrieve the encoding from the
2142	environment variables. Fall back to GetACP().
2143
21442006-05-15  Bruno Haible  <bruno@clisp.org>
2145
2146	* Makefile.in (LDFLAGS, libgnuintl.h): Treat mingw like Cygwin.
2147
21482006-05-15  Bruno Haible  <bruno@clisp.org>
2149
2150	* libgnuintl.h.in: Move the _INTL_MAY_RETURN_STRING_ARG annotations
2151	from the function definition to the function declaration. Needed in
2152	C++ mode.
2153
21542006-05-11  Bruno Haible  <bruno@clisp.org>
2155
2156	* intl-exports.c: New file.
2157	* osdep.c: Include it on Cygwin.
2158	* Makefile.in (LDFLAGS_yes, LDFLAGS_no): New variables.
2159	(LDFLAGS): Use it.
2160	(SOURCES): Add intl-exports.c.
2161	(libgnuintl.h): When compiling a DLL on Cygwin, mark all exported
2162	variables as to be imported.
2163
21642006-04-17  Bruno Haible  <bruno@clisp.org>
2165
2166	* Makefile.in (MKINSTALLDIRS, mkinstalldirs): Remove variables.
2167	(mkdir_p): New variable.
2168	(install-exec, install-data, installdirs): Use $(mkdir_p) instead of
2169	$(mkinstalldirs).
2170
21712006-04-05  Bruno Haible  <bruno@clisp.org>
2172
2173	* config.charset: Update Juan Manuel Guerrero's address.
2174
21752006-03-11  Bruno Haible  <bruno@clisp.org>
2176
2177	* libgnuintl.h.in (_INTL_MAY_RETURN_STRING_ARG): Define to empty when
2178	using g++ on MacOS X.
2179
21802006-01-22  Bruno Haible  <bruno@clisp.org>
2181
2182	* vasnprintf.c (VASNPRINTF): In the computation of the size of the
2183	temporary buffer for sprintf, take into account the precision also
2184	for 'd', 'i', 'u', 'o', 'x', 'X'.
2185
21862006-01-10  Bruno Haible  <bruno@clisp.org>
2187
2188	* localcharset.c: Assume ANSI C. Fixes a gcc warning.
2189	Reported by Werner Lemberg <wl@gnu.org>.
2190
21912005-12-25  Bruno Haible  <bruno@clisp.org>
2192
2193	Fix compilation error when plural.c is generated by bison-2.1.
2194	* Makefile.in (PLURAL_DEPS_yes, PLURAL_DEPS_no): New macros.
2195	(plural.$lo): Add conditional dependency to libintl.h.
2196
21972005-12-04  Bruno Haible  <bruno@clisp.org>
2198
2199	Cygwin portability.
2200	* relocatable.c: Include <windows.h> also on Cygwin.
2201	(DllMain): Add support for Cygwin.
2202	(get_shared_library_fullname): Update.
2203	Patches partially from Charles Wilson <cygwin@cwilson.fastmail.fm>.
2204
22052005-10-09  Bruno Haible  <bruno@clisp.org>
22062002-07-24  Ulrich Drepper  <drepper@redhat.com>
2207
2208	* explodename.c (_nl_explode_name): Simplify.
2209
22102005-10-09  Bruno Haible  <bruno@clisp.org>
22112002-07-24  Ulrich Drepper  <drepper@redhat.com>
2212
2213	* explodename.c: Recognize the syntax
2214	  language[_territory][.codeset][@modifier]
2215	instead of only
2216	  language[_territory[.codeset]][@modifier]
2217	(_nl_find_language): Accept '.' as terminator.
2218	(_nl_explode_name): Accept to parse a codeset without a territory.
2219	Accept an underscore in the territory.
2220
22212005-10-09  Bruno Haible  <bruno@clisp.org>
22222002-07-24  Ulrich Drepper  <drepper@redhat.com>
2223
2224	* explodename.c (_nl_find_language, _nl_explode_name): Remove support
2225	for CEN-style locale variables. It was never used and shouldn't be
2226	since it's not portable.
2227	* finddomain.c (_nl_find_domain): Likewise.
2228	* l10nflist.c (_nl_make_l10nflist): Likewise.
2229	* loadinfo.h (_nl_make_l10nflist, _nl_explode_name): Likewise.
2230	(CEN_*, XPG_SPECIFIC): Remove macros.
2231	(XPG_TERRITORY): Renamed from TERRITORY.
2232
22332005-08-28  Bruno Haible  <bruno@clisp.org>
2234
2235	* libgnuintl.h.in: Add IN_LIBGLOCALE conditional.
2236	* Makefile.in (libgnuintl.h, libintl.h): Remove the IN_LIBGLOCALE
2237	conditional.
2238	* dcigettext.c [IN_LIBGLOCALE]: Include also <libintl.h>, for
2239	bindtextdomain().
2240
22412005-08-25  Bruno Haible  <bruno@clisp.org>
2242
2243	* libintl.glibc: Update from current glibc.
2244	* libgnuintl.h.in (_INTL_MAY_RETURN_STRING_ARG): New macro.
2245	(gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext):
2246
22472005-08-21  Bruno Haible  <bruno@clisp.org>
2248
2249	* lock.h: Add multiple inclusion guard.
2250
22512005-08-19  Bruno Haible  <bruno@clisp.org>
2252
2253	* localealias.c (read_alias_file): In case of failure, close the
2254	file descriptor and sort the array before returning.
2255
22562005-08-19  Bruno Haible  <bruno@clisp.org>
2257
2258	* localealias.c (read_alias_file) [IN_LIBGLOCALE]: Ignore aliases
2259	containing an underscore.
2260
22612005-07-31  Bruno Haible  <bruno@clisp.org>
2262
2263	Make code usable in libglocale.
2264	* gettextP.h (gl_dcigettext): New declaration.
2265	(_nl_msg_cat_cntr): Export also from libglocale.
2266	(_nl_find_msg): In libglocale, take the encoding as argument and no
2267	convert flag.
2268	* dcigettext.c (HAVE_PER_THREAD_LOCALE): Define in libglocale.
2269	(struct known_translation_t): In libglocale, add encoding field.
2270	(transcmp): In libglocale, compare also the encoding fields.
2271	(libintl_version): Don't define in libglocale.
2272	(_nl_current_default_domain, _nl_domain_bindings): Likewise.
2273	(DCIGETTEXT): In libglocale, also take the localename and encoding
2274	as arguments. Don't call nl_langinfo. Instead of walking the other
2275	library's _nl_domain_bindings, use bindtextdomain.
2276	(_nl_find_msg): In libglocale, take the encoding as argument and no
2277	convert flag. Don't call get_output_charset.
2278	(guess_category_value): In libglocale, take the locale name as
2279	argument. Don't call __current_locale_name or uselocale or
2280	_nl_locale_name_posix and _nl_locale_name_default.
2281	(get_output_charset): Don't define in libglocale.
2282	* loadmsgcat.c (_nl_load_domain): Update.
2283	* plural-exp.h (plural_eval): Don't declare in libglocale.
2284
22852005-08-03  Bruno Haible  <bruno@clisp.org>
2286
2287	* Makefile.in: Add comments about VPATH.
2288
22892005-07-31  Bruno Haible  <bruno@clisp.org>
2290
2291	* lock.h (gl_lock_initializer): New macro.
2292	(gl_lock_define_initialized): Use it.
2293	(gl_rwlock_initializer): New macro.
2294	(gl_rwlock_define_initialized): Use it.
2295	(gl_recursive_lock_initializer): New macro.
2296	(gl_recursive_lock_define_initialized): Use it.
2297
22982005-07-31  Bruno Haible  <bruno@clisp.org>
2299
2300	Avoid const-cast.
2301	* dcigettext.c (DCIGETTEXT): Change type of 'dirname' to const char *.
2302	Use an auxiliary variable 'resolved_dirname' of type 'char *'.
2303
23042005-07-31  Bruno Haible  <bruno@clisp.org>
2305
2306	* dcigettext.c (tree_lock): Remove extraneous semicolon.
2307
23082005-07-25  Bruno Haible  <bruno@clisp.org>
2309
2310	* libgnuintl.h.in (LIBINTL_VERSION): New macro.
2311	(libintl_version): New declaration.
2312	* version.c: New file.
2313	* Makefile.in (SOURCES): Add version.c.
2314	(OBJECTS): Add version.$lo.
2315	(version.lo): New rule.
2316	* Makefile.msvc (OBJECTS): Add version.obj.
2317	(version.obj): New rule.
2318	* Makefile.vms (OBJECTS): Add version.obj.
2319	(version.obj): New rule.
2320
23212005-07-25  Bruno Haible  <bruno@clisp.org>
2322
2323	* intl-compat.c (DLL_EXPORTED) [HAVE_VISIBILITY]: Define to the gcc
2324	visibility attribute.
2325
23262005-07-24  Bruno Haible  <bruno@clisp.org>
2327
2328	Tidy up exported symbols.
2329	* export.h: New file.
2330	* gettextP.h: Move declarations so that libgnuintl.h is included
2331	before loadinfo.h. Needed because libgnuintl.h defines
2332	LIBINTL_DLL_EXPORTED and loadinfo.h uses it.
2333	(_nl_msg_cat_cntr): Export.
2334	* loadinfo.h (LIBINTL_DLL_EXPORTED): Provide fallback declaration.
2335	(_nl_expand_alias): Export.
2336	* bindtextdom.c: Include gettextP.h before libgnuintl.h. Needed so
2337	that _INTL_REDIRECT_MACROS is defined when libgnuintl.h is included.
2338	Otherwise libgnuintl.h may choose to use _INTL_REDIRECT_ASM, and then
2339	gcc-4.0 ignores visibility declarations.
2340	* textdomain.c: Likewise.
2341	* relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]: Define
2342	to the gcc visibility attribute.
2343	* Makefile.in (DEFS): Define also BUILDING_LIBINTL and BUILDING_DLL.
2344	(CFLAGS): Add CFLAG_VISIBILITY.
2345	(DISTFILES.common): Add export.h.
2346	(libgnuintl.h): Add LIBINTL_DLL_EXPORTED definition and uses.
2347	(libintl.h): Create directly from libgnuintl.h.in, without
2348	LIBINTL_DLL_EXPORTED.
2349
23502005-07-21  Bruno Haible  <bruno@clisp.org>
2351
2352	* plural.y: Modify comment about #pragma alloca.
2353	Suggested by Paul Eggert.
2354
23552005-07-26  Bruno Haible  <bruno@clisp.org>
2356
2357	* Makefile.in (datarootdir): New variable.
2358
23592005-07-25  Bruno Haible  <bruno@clisp.org>
2360
2361	Make pthread_in_use() return 0 on Solaris and HP-UX when not linking
2362	with -lpthread.
2363	* lock.h (pthread_in_use) [PTHREAD_IN_USE_DETECTION_HARD]: Define
2364	through glthread_in_use.
2365	* lock.c (dummy_thread_func, glthread_in_use): New functions.
2366
23672005-07-22  Bruno Haible  <bruno@clisp.org>
2368
2369	* Makefile.in (libintl.la, libgnuintl.la): Link with @LTLIBTHREADS@.
2370
23712005-07-16  Bruno Haible  <bruno@clisp.org>
2372
2373	* lock.h (gl_once_t): New type.
2374	(gl_once_define, gl_once): New macros.
2375	* lock.c (fresh_once): New variable.
2376	(glthread_once, glthread_once_call, glthread_once_singlethreaded): New
2377	functions.
2378
23792005-07-16  Bruno Haible  <bruno@clisp.org>
2380
2381	* lock.h: New file.
2382	* lock.c: New file.
2383	* bindtextdom.c: Include lock.h. Don't include THREAD_H. Remove
2384	definitions of __libc_rwlock_*.
2385	* finddomain.c: Likewise.
2386	* textdomain.c: Likewise.
2387	* dcigettext.c: Include lock.h. Don't include THREAD_H. Remove
2388	definitions of __libc_lock_*, __libc_rwlock_*.
2389	* loadmsgcat.c: Include lock.h. Don't include THREAD_H. Remove
2390	definitions of __libc_lock_*_recursive.
2391	* localealias.c: Include lock.h. Don't include THREAD_H. Remove
2392	definitions of __libc_lock_*.
2393	* log.c: Likewise.
2394	* Makefile.in (HEADERS): Add lock.h.
2395	(SOURCES): Add lock.c.
2396	(OBJECTS): Add lock.$lo.
2397	(lock.lo): New rule.
2398	(bindtextdom.$lo, dcigettext.$lo, finddomain.$lo, loadmsgcat.$lo,
2399	localealias.$lo, lock.$lo, log.$lo): Depend on lock.h.
2400	* Makefile.msvc (OBJECTS): Add lock.obj.
2401	(bindtextdom.obj, finddomain.obj, loadmsgcat.obj, localealias.obj,
2402	dcigettext.obj, log.obj): Depend on lock.h.
2403	(lock.obj): New rule.
2404	* Makefile.vms (OBJECTS): Add lock.obj.
2405	(bindtextdom.obj, finddomain.obj, loadmsgcat.obj, localealias.obj,
2406	dcigettext.obj, log.obj): Depend on lock.h.
2407	(lock.obj): New rule.
2408
24092005-07-05  Bruno Haible  <bruno@clisp.org>
2410
2411	* printf-args.c (printf_fetchargs): Work around broken definition of
2412	wint_t on mingw.
2413
24142005-07-02  Bruno Haible  <bruno@clisp.org>
2415
2416	* localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others.
2417	Reported by <mus1876@gmx.info> via Alain Bench <messtic@oreka.com>.
2418
24192005-05-05  Bruno Haible  <bruno@clisp.org>
2420
2421	Make libintl multithread-safe outside glibc.
2422	* bindtextdom.c: Include THREAD_H.
2423	(__libc_rwlock_*): Define also for USE_POSIX_THREADS or
2424	USE_PTH_THREADS.
2425	* dcigettext.c: Include THREAD_H.
2426	(__libc_lock_*, __libc_rwlock_*): Define also for USE_POSIX_THREADS or
2427	USE_PTH_THREADS.
2428	(_nl_state_lock): Define always.
2429	(tree_lock): Define outside DCIGETTEXT.
2430	(DCIGETTEXT): ... not here.
2431	* finddomain.c: Include THREAD_H.
2432	(__libc_rwlock_*): Define also for USE_POSIX_THREADS or
2433	USE_PTH_THREADS.
2434	* loadmsgcat.c: Include THREAD_H.
2435	(__libc_lock_*_recursive): Define also for USE_POSIX_THREADS or
2436	USE_PTH_THREADS.
2437	(_nl_load_domain): Remove extraneous comma.
2438	* localealias.c: Include THREAD_H.
2439	(__libc_lock_*): Define also for USE_POSIX_THREADS or USE_PTH_THREADS.
2440	(lock): Define always.
2441	(_nl_expand_alias): Use lock always.
2442	* textdomain.c: Include THREAD_H.
2443	(__libc_rwlock_*): Define also for USE_POSIX_THREADS or
2444	USE_PTH_THREADS.
2445	* log.c: Include THREAD_H.
2446	(__libc_lock_*): Define also for USE_POSIX_THREADS or USE_PTH_THREADS.
2447	(last_logfilename, last_logfile, lock): New variables.
2448	(_nl_log_untranslated_locked): Renamed from _nl_log_untranslated.
2449	(_nl_log_untranslated): Rewritten.
2450
24512005-02-16  Roland McGrath  <roland@redhat.com>
2452
2453	* dcigettext.c (_nl_find_msg): Add a cast.
2454
2455	* dcigettext.c (INTVARDEF, INTUSE): Macros removed.
2456	(_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
2457	(libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
2458	* bindtextdom.c (INTUSE): Macro removed.
2459	(_nl_default_dirname): Use libc_hidden_proto.
2460	(set_binding_values): Don't use INTUSE.
2461
24622005-05-05  Bruno Haible  <bruno@clisp.org>
2463
2464	* dcigettext.c (__libc_rwlock_wrlock): Define fallback.
2465	* finddomain.c (__libc_rwlock_define_initialized,
2466	__libc_rwlock_rdlock, __libc_rwlock_wrlock, __libc_rwlock_unlock):
2467	Define fallbacks.
2468	* loadmsgcat.c (__libc_lock_define_initialized_recursive,
2469	__libc_lock_lock_recursive, __libc_lock_unlock_recursive): Define
2470	fallbacks.
2471	(_nl_load_domain): Fix portability problems in last patch.
2472
24732004-09-25  Ulrich Drepper  <drepper@redhat.com>
2474
2475	* dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls.
2476	* dcigettext.c (_nl_find_msg): Call _nl_load_domain also if
2477	decided < 0.
2478	* finddomain.c (_nl_find_domain): Likewise.
2479	* loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we
2480	are done.  First set to -1 to signal initialization is ongoing.
2481	Protect against concurrent callers with recursive lock.
2482	* finddomain.c (_nl_find_domain): Protect calls to
2483	_nl_make_l10nflist.  [BZ #322]
2484
24852004-08-06  Jakub Jelinek  <jakub@redhat.com>
2486
2487	* finddomain.c (free_mem): Rename to...
2488	(_nl_finddomain_subfreeres): ... this.  Add __libc_freeres_fn_section.
2489	* loadmsgcat.c (_nl_unload_domain): Add __libc_freeres_fn_section.
2490	* gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
2491	Add attribute_hidden.
2492	(_nl_findomain_subfreeres): New prototype.
2493
24942005-05-05  Bruno Haible  <bruno@clisp.org>
2495
2496	* dcigettext.c (_nl_find_msg) [_LIBC]: Update norm_add_slashes call.
2497	2004-03-24  Roland McGrath  <roland@redhat.com>
2498		* loadmsgcat.c (_nl_init_domain_conv): Update norm_add_slashes
2499		call.
2500
25012005-05-05  Bruno Haible  <bruno@clisp.org>
2502
2503	* localealias.c (read_alias_file): Limit last patch to _LIBC case.
2504
25052003-09-04  Ulrich Drepper  <drepper@redhat.com>
2506
2507	* localealias.c (read_alias_file): Use fopen with 'c' mode flag.
2508
25092003-09-03  Jakub Jelinek  <jakub@redhat.com>
2510
2511	* loadmsgcat.c (open, close, read, mmap, munmap): Define as
2512	function-like macros.
2513
25142003-09-02  Ulrich Drepper  <drepper@redhat.com>
2515
2516	* loadmsgcat.c: For _LIBC, call not cancelable versions of open, close,
2517	and read.
2518
25192003-06-18  Ulrich Drepper  <drepper@redhat.com>
2520
2521	* localealias.c (read_alias_file): Determine whether line is read
2522	incompletely early, before we modify the line.
2523
25242005-05-05  Bruno Haible  <bruno@clisp.org>
2525
2526	* hash-string.h (__hash_string): Define differently outside glibc.
2527	* hash-string.c: Include config.h.
2528	* Makefile.in (SOURCES): Add hash-string.c.
2529	(OBJECTS): Add hash-string.$lo.
2530	(hash-string.lo): New rule.
2531	(hash-string.$lo): Depend on hash-string.h.
2532	* Makefile.msvc (OBJECTS): Add hash-string.obj.
2533	(hash-string.obj): New rule.
2534	* Makefile.vms (OBJECTS): Add hash-string.obj.
2535	(hash-string.obj): New rule.
2536
25372003-06-11  Ulrich Drepper  <drepper@redhat.com>
2538
2539	Remove warnings gcc 3.3 shows.
2540	* hash-string.c: New file.
2541	* hash-string.h: Remove hash_string definition.  Declare __hash_string.
2542	* dcigettext.c (_nl_find_msg): Adjust hash_string caller.
2543	* loadmsgcat.c (_nl_load_domain): Likewise.
2544
25452003-04-29  Jakub Jelinek  <jakub@redhat.com>
2546
2547	* plural.y: Include string.h. Needed because recent versions of bison
2548	generate output that uses memcpy().
2549
25502003-01-07  Ulrich Drepper  <drepper@redhat.com>
2551
2552	* explodename.c (_nl_find_language.c): Mark as static.
2553	* loadinfo.h: Remove _nl_find_language prototype.
2554
25552005-04-30  Bruno Haible  <bruno@clisp.org>
2556
2557	* langprefs.c: Use #include <CoreFoundation/...> syntax. It's a
2558	special Apple syntax implemented in the C compiler, but since
2559	<CFString.h> already uses it, all compilers usable on MacOS X must
2560	support it.
2561	* localename.c: Likewise.
2562
25632005-05-03  Bruno Haible  <bruno@clisp.org>
2564
2565	* dcigettext.c: Include langinfo.h.
2566	(HAVE_PER_THREAD_LOCALE): Define also if HAVE_NL_LOCALE_NAME.
2567	(DCIGETTEXT): Support retrieving the locale name through nl_langinfo
2568	and NL_LOCALE_NAME.
2569
25702005-03-20  Bruno Haible  <bruno@clisp.org>
2571
2572	Make it possible for multiple threads to use gettext() in different
2573	locales.
2574	* dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
2575	(struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
2576	field.
2577	(transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
2578	(DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
2579	search and newp.
2580	(guess_category_value): If HAVE_PER_THREAD_LOCALE, look at the thread's
2581	locale.
2582
25832005-03-19  Bruno Haible  <bruno@clisp.org>
2584
2585	* gettextP.h (struct loaded_domain): Remove codeset_cntr field.
2586	(struct binding): Likewise.
2587	* bindtextdom.c (set_binding_values): Drop codeset_cntr modifications.
2588
25892005-03-19  Bruno Haible  <bruno@clisp.org>
2590
2591	Fix gettext-tools/tests/gettext-5 bug.
2592	* gettextP.h (struct converted_domain): New type.
2593	(struct loaded_domain): Remove the conv, conv_tab fields. Add
2594	conversions, nconversions fields.
2595	(_nl_init_domain_conv): Remove declaration.
2596	(_nl_free_domain_conv): Remove declaration.
2597	(_nl_find_msg): Add convert argument.
2598	* dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
2599	(_nl_find_msg): Add convert argument. When a conversion to a different
2600	charset is needed, create a new converted_domain element, instead of
2601	throwing away the old converted translations.
2602	(get_output_charset): New function.
2603	* loadmsgcat.c (_nl_init_domain_conv): Remove function.
2604	(_nl_free_domain_conv): Remove function.
2605	(_nl_load_domain): Initialize the conversions array to empty. Use
2606	_nl_find_msg instead of _nl_init_domain_conv to retrieve the header
2607	entry.
2608	(_nl_unload_domain): Free the conversions array and its contents.
2609
26102005-03-19  Bruno Haible  <bruno@clisp.org>
2611
2612	* dcigettext.c (struct known_translation_t): Change type of domainname
2613	field to 'const char *'.
2614	(DCIGETTEXT): Remove const-cast.
2615
26162005-04-18  Bruno Haible  <bruno@clisp.org>
2617
2618	* libgnuintl.h.in (_INTL_REDIRECT_ASM): Test for __APPLE_CC__ > 1.
2619	Needed because gcc-4.0 defines __APPLE_CC__ and implements
2620	__USER_LABEL_PREFIX__ correctly.
2621	* plural-exp.c (GERMANIC_PLURAL): Test for __APPLE_CC > 1.
2622	Needed because gcc-4.0 defines __APPLE_CC__.
2623
26242006-06-21  Bruno Haible  <bruno@clisp.org>
2625
2626	* gettext-0.14.6 released.
2627
26282005-05-23  Bruno Haible  <bruno@clisp.org>
2629
2630	* gettext-0.14.5 released.
2631
26322005-04-11  Bruno Haible  <bruno@clisp.org>
2633
2634	* gettext-0.14.4 released.
2635
26362005-04-11  Bruno Haible  <bruno@clisp.org>
2637
2638	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:3:4.
2639
26402005-03-16  Bruno Haible  <bruno@clisp.org>
2641
2642	Canonicalize locale names on MacOS X.
2643	* localename.c (_nl_locale_name_canonicalize): New function.
2644	(_nl_locale_name_default): Use it.
2645	* langprefs.c (_nl_locale_name_canonicalize): New declaration.
2646	(_nl_language_preferences_default): Use it.
2647
26482005-03-14  Bruno Haible  <bruno@clisp.org>
2649
2650	* gettext-0.14.3 released.
2651
26522005-03-14  Bruno Haible  <bruno@clisp.org>
2653
2654	* Makefile.in (dist, distdir): Ignore a failure to copy Makefile.in.
2655	Needed because the automake-1.9 generated dist rule of the parent
2656	directory already copies this file.
2657
26582005-03-08  Bruno Haible  <bruno@clisp.org>
2659
2660	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:2:4.
2661
26622005-03-06  Bruno Haible  <bruno@clisp.org>
2663
2664	* Makefile.in (dist, distdir): Fail if some of the files to be
2665	distributed do not exist or cannot be copied.
2666	Suggested by Alexandre Duret-Lutz <adl@src.lip6.fr>.
2667
26682005-02-24  Bruno Haible  <bruno@clisp.org>
2669
2670	* gettext-0.14.2 released.
2671
26722005-02-12  Bruno Haible  <bruno@clisp.org>
2673
2674	* vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
2675
26762005-02-11  Bruno Haible  <bruno@clisp.org>
2677
2678	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:1:4.
2679
26802005-01-29  Bruno Haible  <bruno@clisp.org>
2681
2682	* Makefile.am (libintl.la, libgnuintl.la): Use INTL_MACOSX_LIBS
2683	instead of INTL_MACOSX_LDFLAGS.
2684
26852004-09-08  Bruno Haible  <bruno@clisp.org>
2686
2687	* vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
2688	is > INT_MAX.
2689
26902005-01-01  Bruno Haible  <bruno@clisp.org>
2691
2692	* dcigettext.c (guess_category_value): Let the environment variables
2693	LC_ALL, LC_xxx, LANG take precedence over the system-dependent language
2694	preference list.
2695	* gettextP.h (_nl_language_preferences): Remove declaration.
2696	(_nl_language_preferences_default): New declaration.
2697	(_nl_locale_name_posix, _nl_locale_name_default): New declarations.
2698	* langprefs.c (_nl_language_preferences_default): Renamed from
2699	_nl_language_preferences. Remove handling of getenv("LANGUAGE").
2700	* localename.c (_nl_locale_name_posix, _nl_locale_name_default): New
2701	functions, extracted from _nl_locale_name.
2702	(_nl_locale_name): Use them.
2703
27042004-09-06  Bruno Haible  <bruno@clisp.org>
2705
2706	* localename.c (_nl_locale_name): Add code for MacOS X versions that
2707	don't have the CFLocaleCopyCurrent() function.
2708	* langprefs.c (_nl_language_preferences): Make code more robust.
2709
27102004-09-05  Bruno Haible  <bruno@clisp.org>
2711
2712	* langprefs.c: New file.
2713	* gettextP.h (_nl_language_preferences): New declaration.
2714	* dcigettext.c (guess_category_value) [!_LIBC]: Use
2715	_nl_language_preferences.
2716	* Makefile.in (SOURCES): Add langprefs.c.
2717	(OBJECTS): Add langprefs.$lo.
2718	(langprefs.lo): New rule.
2719	* Makefile.msvc (OBJECTS): Add langprefs.obj.
2720	(langprefs.obj): New rule.
2721	* Makefile.vms (OBJECTS): Add langprefs.obj.
2722	(langprefs.obj): New rule.
2723
27242004-09-03  Bruno Haible  <bruno@clisp.org>
2725
2726	* localename.c (_nl_locale_name): Use a more intelligent fallback on
2727	MacOS X versions that have the CFLocaleCopyCurrent() function.
2728	* Makefile.in (libintl.la, libgnuintl.la): Use the INTL_MACOSX_LDFLAGS.
2729
27302004-09-01  Bruno Haible  <bruno@clisp.org>
2731
2732	* config.charset: Add support for Darwin 7.
2733
27342004-08-13  Bruno Haible  <bruno@clisp.org>
2735
2736	* libgnuintl.h.in (__GNU_GETTEXT_SUPPORTED_REVISION): Treat major
2737	revision 1 like major revision 0. Needed for 2004-01-09 change.
2738
27392004-08-08  Bruno Haible  <bruno@clisp.org>
2740
2741	* relocatable.c (FILE_SYSTEM_PREFIX_LEN): Renamed from
2742	FILESYSTEM_PREFIX_LEN.
2743	(compute_curr_prefix): Update.
2744
27452004-05-14  Bruno Haible  <bruno@clisp.org>
2746
2747	* vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
2748	that consists of a '.' followed by an empty digit string.
2749	Patch by Tor Lillqvist <tml@iki.fi>.
2750
27512004-04-28  Bruno Haible  <bruno@clisp.org>
2752
2753	* dcigettext.c (ISSLASH, IS_ABSOLUTE_PATH, IS_PATH_WITH_DIR): Treat
2754	Cygwin like Windows, since it now accepts Windows pathnames.
2755	* l10nflist.c (ISSLASH, IS_ABSOLUTE_PATH): Treat Cygwin like Windows,
2756	since it now accepts Windows pathnames.
2757	* localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now
2758	accepts Windows pathnames.
2759	* relocatable.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
2760	Treat Cygwin like Windows, since it now accepts Windows pathnames.
2761	(compute_curr_prefix): Likewise.
2762	Reported by Derek Robert Price <derek@ximbiot.com>.
2763
27642004-04-23  Bruno Haible  <bruno@clisp.org>
2765
2766	* localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR
2767	environment variable to override LIBDIR.
2768	Suggested by Matthias Clasen <mclasen@redhat.com>.
2769
27702004-04-20  Jim Meyering  <jim@meyering.net>
2771            Bruno Haible  <bruno@clisp.org>
2772
2773	* localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak
2774	memory when realloc fails.
2775
27762004-03-02  Bruno Haible  <bruno@clisp.org>
2777
2778	* localename.c (_nl_locale_name): Add info about default territory for
2779	Basque, Mongolian, Russian, Tamil. Map Norwegian to nb, not no.
2780
27812004-02-02  Bruno Haible  <bruno@clisp.org>
2782
2783	* Makefile.in (install-exec, installdirs, uninstall): Install
2784	preloaded_libintl.so only on glibc systems, not on OpenBSD.
2785	Reported by Han Boetes <han@mijncomputer.nl>.
2786
27872004-01-29  Bruno Haible  <bruno@clisp.org>
2788
2789	* gettext-0.14.1 released.
2790
27912004-01-28  Bruno Haible  <bruno@clisp.org>
2792
2793	* gettext-0.14 released.
2794
27952004-01-21  Bruno Haible  <bruno@clisp.org>
2796
2797	* config.charset: Add support for MacOS X (Darwin).
2798
27992004-01-18  Bruno Haible  <bruno@clisp.org>
2800
2801	* localename.c (_nl_locale_name): Use two-letter ISO 639 codes for
2802	Divehi, Fulfulde, Igbo, Kanuri, Venda.
2803
28042004-01-17  Bruno Haible  <bruno@clisp.org>
2805
2806	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:0:4.
2807
28082003-12-02  Jakub Jelinek  <jakub@redhat.com>
2809
2810	* locale.alias: Use nb_NO instead of no_NO for bokmål.
2811
28122003-11-03  Ulrich Drepper  <drepper@redhat.com>
2813
2814	* locale.alias: nb_NO is now the correct name, not no_NO.
2815
28162004-01-09  Bruno Haible  <bruno@clisp.org>
2817
2818	* gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition.
2819	* loadmsgcat.c (get_sysdep_segment_value): Handle "I".
2820	(_nl_load_domain): Treat major revision 1 like major revision 0.
2821
28222004-01-08  Bruno Haible  <bruno@clisp.org>
2823
2824	* loadmsgcat.c (_nl_load_domain): When a string pair uses a system
2825	dependent segment not known to this version of the library, ignore
2826	the string pair instead of crashing.
2827
28282003-12-17  Bruno Haible  <bruno@clisp.org>
2829
2830	* gettext-0.13.1 released.
2831
28322003-12-17  Bruno Haible  <bruno@clisp.org>
2833
2834	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:1:4.
2835
28362003-12-05  Bruno Haible  <bruno@clisp.org>
2837
2838	* localename.c (_nl_locale_name): Change result for Latin Uzbek locale
2839	to match the glibc name.
2840
28412003-12-02  Bruno Haible  <bruno@clisp.org>
2842
2843	* localename.c (LANG_AMHARIC, LANG_BURMESE, LANG_CAMBODIAN,
2844	LANG_CHEROKEE, LANG_EDO, LANG_FRISIAN, LANG_FULFULDE, LANG_GUARANI,
2845	LANG_HAUSA, LANG_HAWAIIAN, LANG_IBIBIO, LANG_IGBO, LANG_INUKTITUT,
2846	LANG_KANURI, LANG_LAO, LANG_LATIN, LANG_OROMO, LANG_PAPIAMENTU,
2847	LANG_PASHTO, LANG_SINHALESE, LANG_SOMALI, LANG_TAGALOG, LANG_TAJIK,
2848	LANG_TAMAZIGHT, LANG_TIBETAN, LANG_TIGRINYA, LANG_TURKMEN, LANG_YI,
2849	LANG_YIDDISH, LANG_YORUBA): New macros.
2850	(LANG_GAELIC, LANG_MALTESE, LANG_RHAETO_ROMANCE, LANG_SAAMI, LANG_SUTU,
2851	LANG_TSONGA, LANG_TSWANA, LANG_VENDA, LANG_WELSH, LANG_XHOSA,
2852	LANG_ZULU): New macros, consistent with those found in Wine.
2853	(SUBLANG_BENGALI_INDIA, SUBLANG_BENGALI_BANGLADESH,
2854	SUBLANG_ENGLISH_INDONESIA, SUBLANG_ENGLISH_HONGKONG,
2855	SUBLANG_ENGLISH_INDIA, SUBLANG_ENGLISH_MALAYSIA,
2856	SUBLANG_ENGLISH_SINGAPORE, SUBLANG_FRENCH_WESTINDIES,
2857	SUBLANG_FRENCH_REUNION, SUBLANG_FRENCH_CONGO, SUBLANG_FRENCH_SENEGAL,
2858	SUBLANG_FRENCH_CAMEROON, SUBLANG_FRENCH_COTEDIVOIRE,
2859	SUBLANG_FRENCH_MALI, SUBLANG_FRENCH_MOROCCO, SUBLANG_FRENCH_HAITI,
2860	SUBLANG_PUNJABI_INDIA, SUBLANG_PUNJABI_PAKISTAN,
2861	SUBLANG_ROMANIAN_ROMANIA, SUBLANG_ROMANIAN_MOLDOVA,
2862	SUBLANG_SINDHI_INDIA, SUBLANG_SINDHI_PAKISTAN,
2863	SUBLANG_TAMAZIGHT_ARABIC, SUBLANG_TAMAZIGHT_LATIN,
2864	SUBLANG_TIGRINYA_ETHIOPIA, SUBLANG_TIGRINYA_ERITREA): New macros.
2865	(_nl_locale_name) [WIN32]: Use them. Improve handling of Bengali,
2866	Serbian, English, French, Punjabi, Romanian, Sindhi, Tamazight,
2867	Tigrinya.
2868
28692003-12-02  Bruno Haible  <bruno@clisp.org>
2870
2871	* config.charset: Treat the new country name CS like the old country
2872	name YU.
2873
28742003-11-30  Bruno Haible  <bruno@clisp.org>
2875
2876	* gettext-0.13 released.
2877
28782003-11-23  Paul Eggert  <eggert@twinsun.com>
2879            Bruno Haible  <bruno@clisp.org>
2880
2881	* printf-parse.h: Don't include sys/types.h.
2882	(ARG_NONE): New macro.
2883	(char_directive): Change type of *arg_index fields to size_t.
2884	* wprintf-parse.h: Don't include sys/types.h.
2885	(ARG_NONE): New macro.
2886	(wchar_t_directive): Change type of *arg_index fields to size_t.
2887	* printf-parse.c: Don't include sys/types.h.
2888	(SSIZE_MAX): Remove macro.
2889	(PRINTF_PARSE): Change the type of the arg_index variables to size_t.
2890	Remove unnecessary overflow check.
2891	* vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
2892	fields.
2893
28942003-11-17  Bruno Haible  <bruno@clisp.org>
2895
2896	* vasnprintf.c (alloca): Remove fallback definition.
2897	(freea): Remove definition.
2898	(VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
2899	Reported by Paul Eggert.
2900
29012003-11-16  Paul Eggert  <eggert@twinsun.com>
2902            Bruno Haible  <bruno@clisp.org>
2903
2904	Protect against address arithmetic overflow.
2905	* printf-args.h: Include stddef.h.
2906	(arguments): Change type of field 'count' to size_t.
2907	* printf-args.c (printf_fetchargs): Use size_t instead of
2908	'unsigned int' where appropriate.
2909	* printf-parse.h: Include sys/types.h.
2910	(char_directive): Change type of *arg_index fields to ssize_t.
2911	(char_directives): Change type of fields 'count', max_*_length to
2912	size_t.
2913	* wprintf-parse.h: Include sys/types.h.
2914	(wchar_t_directive): Change type of *arg_index fields to ssize_t.
2915	(wchar_t_directives): Change type of fields 'count', max_*_length to
2916	size_t.
2917	* printf-parse.c: Include sys/types.h and xsize.h.
2918	(SSIZE_MAX): Define fallback value.
2919	(PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
2920	instead of 'int' where appropriate. Check a_allocated, d_allocated
2921	against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
2922	* vasnprintf.c: Include xsize.h.
2923	(VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
2924	Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
2925	overflow. Avoid wraparound when converting a width or precision from
2926	decimal to binary.
2927	* xsize.h: New file, from gnulib.
2928	* Makefile.in (HEADERS): Add xsize.h.
2929	(printf.$lo): Depend on it.
2930
29312003-11-16  Bruno Haible  <bruno@clisp.org>
2932
2933	* libgnuintl.h.in (_INTL_REDIRECT_ASM): Don't define on AIX with gcc 2.
2934	Reported by Kouichi Hashikawa <z01a7ksy@cs.ecip.tohoku.ac.jp>.
2935
29362003-10-19  Bruno Haible  <bruno@clisp.org>
2937
2938	* hash-string.h (hash_string): Zero-extend each char from the string;
2939	the old code did a sign-extend on some platforms.
2940
29412003-10-19  Jim Meyering  <jim@meyering.net>
2942
2943	* vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
2944
29452003-10-09  Bruno Haible  <bruno@clisp.org>
2946
2947	* relocatable.c: Include xalloc.h instead of xmalloc.h.
2948
29492003-10-07  Bruno Haible  <bruno@clisp.org>
2950
2951	Assume ANSI C.
2952	* libgnuintl.h.in (PARAMS): Remove macro.
2953	(gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext,
2954	textdomain, bindtextdomain, bind_textdomain_codeset, fprintf, vfprintf,
2955	printf, vprintf, sprintf, vsprintf, snprintf, vsnprintf, asprintf,
2956	vasprintf, fwprintf, vfwprintf, wprintf, vwprintf, swprintf, vswprintf,
2957	libintl_set_relocation_prefix): Use ANSI C function declarations.
2958	* gettextP.h (PARAMS): Remove macro.
2959	(_nl_locale_name, _nl_find_domain, _nl_load_domain, _nl_unload_domain,
2960	_nl_init_domain_conv, _nl_free_domain_conv, _nl_find_msg, __gettext,
2961	__dgettext, __dcgettext, __ngettext, __dngettext, __dcngettext,
2962	__dcigettext, __textdomain, __bindtextdomain,
2963	__bind_textdomain_codeset, libintl_dcigettext): Use ANSI C function
2964	declarations.
2965	* hash-string.h (PARAMS): Remove macro.
2966	(hash_string): Use ANSI C function declaration.
2967	* loadinfo.h (PARAMS): Remove macro.
2968	(_nl_normalize_codeset, _nl_make_l10nflist, _nl_expand_alias,
2969	_nl_explode_name, _nl_find_language): Use ANSI C function declarations.
2970	* plural-exp.h (PARAMS): Remove macro.
2971	(FREE_EXPRESSION, PLURAL_PARSE, GERMANIC_PLURAL,
2972	EXTRACT_PLURAL_EXPRESSION): Use ANSI C function declarations.
2973	* bindtextdom.c (set_binding_values, BINDTEXTDOMAIN,
2974	BIND_TEXTDOMAIN_CODESET): Use ANSI C function declarations.
2975	* dcgettext.c (DCGETTEXT): Likewise.
2976	* dcigettext.c (transcmp, DCIGETTEXT, _nl_log_untranslated,
2977	_nl_find_msg, plural_lookup, category_to_name, guess_category_value,
2978	stpcpy, mempcpy): Likewise.
2979	* dcngettext.c (DCNGETTEXT): Likewise.
2980	* dgettext.c (DGETTEXT): Likewise.
2981	* dngettext.c (DNGETTEXT): Likewise.
2982	* eval-plural.h (plural_eval): Likewise.
2983	* explodename.c (_nl_find_language, _nl_explode_name): Likewise.
2984	* finddomain.c (_nl_find_domain): Likewise.
2985	* gettext.c (GETTEXT): Likewise.
2986	* intl-compat.c (gettext, dgettext, dcgettext, ngettext, dngettext,
2987	dcngettext, textdomain, bindtextdomain, bind_textdomain_codeset):
2988	Likewise.
2989	* l10nflist.c (argz_count__, argz_stringify__, argz_next__, pop,
2990	_nl_make_l10nflist, _nl_normalize_codeset, stpcpy): Likewise.
2991	* loadmsgcat.c (get_sysdep_segment_value, _nl_init_domain_conv,
2992	locale_charset, _nl_free_domain_conv, _nl_load_domain,
2993	_nl_unload_domain): Likewise.
2994	* localealias.c (_nl_expand_alias, read_alias_file, alias_compare):
2995	Likewise.
2996	* localename.c (_nl_locale_name): Likewise.
2997	* log.c (print_escaped, _nl_log_untranslated): Likewise.
2998	* ngettext.c (NGETTEXT): Likewise.
2999	* plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
3000	* plural.y (new_exp, new_exp_0, new_exp_1, new_exp_2, new_exp_3,
3001	FREE_EXPRESSION, yylex, yyerror): Likewise.
3002	* textdomain.c (TEXTDOMAIN): Likewise.
3003
30042003-09-17  Bruno Haible  <bruno@clisp.org>
3005
3006	* printf.c: Test HAVE_FWPRINTF, not HAVE_WPRINTF. Needed for
3007	portability to Cygwin.
3008
30092003-09-04  Bruno Haible  <bruno@clisp.org>
3010
3011	* dgettext.c: Include <locale.h> after gettextP.h, not before. This
3012	ensures that libintl_dcgettext is correctly declared on Solaris.
3013	(Needed because Solaris <locale.h> includes libintl.h.)
3014	* dngettext.c: Likewise, for the libintl_dcngettext declaration.
3015
30162003-08-29  Bruno Haible  <bruno@clisp.org>
3017
3018	* vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
3019	Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
3020	* printf.c: Likewise.
3021
30222003-08-27  Bruno Haible  <bruno@clisp.org>
3023
3024	* Makefile.in (install-exec): Fix the 2003-04-06 patch.
3025
30262003-08-24  Bruno Haible  <bruno@clisp.org>
3027
3028	* vasnprintf.c (local_wcslen): Protect against multiple definition.
3029	(USE_SNPRINTF): Define also if only _snprintf() is available.
3030	(SNPRINTF): Possibly define as _snprintf or _snwprintf.
3031	* printf.c (DLL_EXPORTED): New macro.
3032	Mark all functions as DLL_EXPORTED.
3033	(system_vsnprintf): New macro.
3034	(libintl_vsnprintf): Use it.
3035	(system_vswprintf): New macro.
3036	(libintl_vswprintf): Use it.
3037
30382003-08-24  Bruno Haible  <bruno@clisp.org>
3039
3040	* libgnuintl.h.in: Use <stdarg.h> when compiling with MSVC, even though
3041	it doesn't define __STDC__ by default.
3042
30432003-08-24  Bruno Haible  <bruno@clisp.org>
3044
3045	* relocatable.h: Make this file includable in C++ mode: add extern "C".
3046
30472003-08-23  Bruno Haible  <bruno@clisp.org>
3048
3049	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:0:4.
3050
30512003-08-20  Bruno Haible  <bruno@clisp.org>
3052
3053	* config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
3054	Reported by Alain Guibert <derogaton+bgli@oreka.com>.
3055
30562003-08-14  Bruno Haible  <bruno@clisp.org>
3057
3058	* config.charset: Add support for Linux libc5. Based on data from
3059	Alain Guibert <derogaton+bgli@oreka.com>.
3060
30612003-08-11  Bruno Haible  <bruno@clisp.org>
3062
3063	* vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
3064	(VASNPRINTF): Use it instead of wcslen.
3065
30662003-08-01  Bruno Haible  <bruno@clisp.org>
3067
3068	* relocatable.c (find_shared_library_fullname): Disable the code on
3069	Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
3070
30712003-06-27  Bruno Haible  <bruno@clisp.org>
3072
3073	Avoid use of *_unlocked functions on Solaris 2.5.1.
3074	* localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
3075	* localealias.c: Test HAVE_DECL_*_UNLOCKED, not HAVE_*_UNLOCKED.
3076	Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
3077
30782003-06-22  Bruno Haible  <bruno@clisp.org>
3079
3080	Portability to mingw32.
3081	* relocatable.c [WIN32]: Include <windows.h>.
3082	Reported by Jeff Bonggren <jbon@cfl.rr.com>.
3083
30842003-06-22  Bruno Haible  <bruno@clisp.org>
3085
3086	* relocatable.c (compute_curr_prefix): Comment out this function in
3087	the case when it is not used.
3088	Reported by Pavel Roskin <proski@gnu.org>.
3089
30902003-06-22  Bruno Haible  <bruno@clisp.org>
3091
3092	* gettextP.h: Undefine _INTL_REDIRECT_INLINE, _INTL_REDIRECT_MACROS,
3093	possibly defined in config.h, before setting _INTL_REDIRECT_MACROS.
3094	Reported by Pavel Roskin <proski@gnu.org>.
3095
30962003-06-19  Bruno Haible  <bruno@clisp.org>
3097
3098	* printf-args.h: New file, from ../libasprintf.
3099	* printf-args.c: New file, from ../libasprintf.
3100	* printf-parse.h: New file, from ../libasprintf.
3101	* printf-parse.c: New file, from ../libasprintf.
3102	* vasnprintf.h: New file, from ../libasprintf.
3103	* vasnprintf.c: New file, from ../libasprintf.
3104	* wprintf-parse.h: New file.
3105	* vasnwprintf.h: New file.
3106	* printf.c: New file.
3107	* libgnuintl.h.in (fprintf, vfprintf, printf, vprintf, sprintf,
3108	vsprintf, snprintf, vsnprintf, asprintf, vasprintf, fwprintf,
3109	vfwprintf, wprintf, vwprintf, swprintf, vswprintf): New fallback
3110	macros.
3111	* Makefile.in (HEADERS): Add printf-args.h, printf-args.c,
3112	printf-parse.h, wprintf-parse.h, printf-parse.c, vasnprintf.h,
3113	vasnwprintf.h, vasnprintf.c.
3114	(SOURCES): Add printf.c.
3115	(OBJECTS): Add printf.$lo.
3116	(DISTFILES.gettext): Add libgnuintl.h_vms, libgnuintl.h.msvc-static.
3117	(printf.lo): New rule.
3118	(libgnuintl.h): Also perform some AC_SUBST substitutions.
3119	(printf.$lo): New dependencies.
3120	* Makefile.msvc (OBJECTS): Add printf.obj.
3121	(libgnuintl.h): Use libgnuintl.h.msvc-static.
3122	(printf.obj): New rule.
3123	* Makefile.vms (libgnuintl.h): Use libgnuintl.h_vms.
3124
31252003-06-12  Bruno Haible  <bruno@clisp.org>
3126
3127	* libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Mingw.
3128	Reported by Tor Lillqvist <tml@iki.fi>.
3129
31302003-06-08  Bruno Haible  <bruno@clisp.org>
3131
3132	* dcigettext.c (getcwd) [VMS]: Pass 3 arguments.
3133	Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
3134
31352003-05-22  Bruno Haible  <bruno@clisp.org>
3136
3137	* gettext-0.12.1 released.
3138
31392003-05-20  Bruno Haible  <bruno@clisp.org>
3140
3141	* Makefile.in (VPATH): Add back this variable, needed outside gettext
3142	when $builddir != $srcdir.
3143	Reported by Pavel Roskin <proski@gnu.org>.
3144
31452003-05-18  Bruno Haible  <bruno@clisp.org>
3146
3147	* Makefile.msvc (DEBUGFLAGS): New variable.
3148	(intl.lib): Use it.
3149
31502003-05-17  Bruno Haible  <bruno@clisp.org>
3151
3152	* gettext-0.12 released.
3153
31542003-05-12  Bruno Haible  <bruno@clisp.org>
3155
3156	* Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
3157	CFLAGS to PICFLAGS.
3158	Reported by Perry Rapp.
3159
31602003-05-07  Bruno Haible  <bruno@clisp.org>
3161
3162	* Makefile.vms (install): Fix mistake.
3163
31642003-05-03  Bruno Haible  <bruno@clisp.org>
3165
3166	* Makefile.in (LIBS): New variable.
3167	(libintl.la, libgnuintl.la): Use it.
3168	Reported by Andreas Buening <andreas.buening@nexgo.de>.
3169
31702003-04-12  Bruno Haible  <bruno@clisp.org>
3171
3172	* Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
3173	lines. Update library creation rule. Don't use the force target.
3174	Correct wildcard syntax.
3175	Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
3176
31772003-04-12  Bruno Haible  <bruno@clisp.org>
3178
3179	* localcharset.c (get_charset_aliases): Add special case for VMS.
3180
31812003-04-06  Bruno Haible  <bruno@clisp.org>
3182
3183	* Makefile.in (install-exec): Remove the installed libintl.la if it
3184	has hardwired pathnames in dependency_libs and the installed package
3185	shall be relocatable.
3186
31872003-04-05  Bruno Haible  <bruno@clisp.org>
3188
3189	* relocatable.c: Rely on DEPENDS_ON_LIBCHARSET, DEPENDS_ON_LIBICONV,
3190	DEPENDS_ON_LIBINTL, not on NO_LIBRARIES.
3191	* Makefile.in (DEFS): Define DEPENDS_ON_LIBICONV, for relocatable.c.
3192	* Makefile.msvc (CFLAGS): Also define DEPENDS_ON_LIBICONV.
3193
31942003-04-05  Bruno Haible  <bruno@clisp.org>
3195
3196	* relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets
3197	declared by <stdio.h>.
3198
31992003-04-04  Bruno Haible  <bruno@clisp.org>
3200
3201	* gettextP.h [!_LIBC]: Remove declarations of exported libintl_*
3202	functions; include libgnuintl.h instead.
3203	* intl-compat.c: Remove include of libgnuintl.h.
3204	(DLL_EXPORTED): New macro.
3205	(gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext,
3206	textdomain, bindtextdomain, bind_textdomain_codeset): Use it.
3207
32082003-04-04  Bruno Haible  <bruno@clisp.org>
3209
3210	* libgnuintl.h.in (libintl_set_relocation_prefix): Convert extern
3211	declaration to K&R syntax.
3212
32132003-03-30  Bruno Haible  <bruno@clisp.org>
3214
3215	* Makefile.vms: New file.
3216	* Makefile.in (DISTFILES.gettext): Add Makefile.vms.
3217
32182003-03-30  Bruno Haible  <bruno@clisp.org>
3219
3220	* Makefile.in (INCLUDES): Mention the current directory first.
3221
32222003-03-17  Bruno Haible  <bruno@clisp.org>
3223
3224	Native Woe32/MSVC support.
3225	* libgnuintl.h.in: Renamed from libgnuintl.h.
3226	* Makefile.msvc: New file.
3227	* README.woe32: New file.
3228	* Makefile.in (HEADERS): Remove libgnuintl.h, add libgnuintl.h.in.
3229	(DISTFILES.gettext): Add libgnuintl.h.msvc-shared, README.woe32,
3230	Makefile.msvc.
3231	(DISTFILES.obsolete): Add libgnuintl.h.
3232	(libgnuintl.h): New rule.
3233	(libintl.h, $(OBJECTS)): Expect libgnuintl.h in builddir, not in
3234	srcdir.
3235	(mostlyclean): Also remove libgnuintl.h.
3236	* dcigettext.c (alloca): Add support for MSVC.
3237	* loadmsgcat.c (alloca): Likewise.
3238	* localealias.c (alloca): Likewise.
3239	* relocatable.h (RELOCATABLE_DLL_EXPORTED): New macro.
3240
3241	* Makefile.in (loadmsgcat.$lo): Depend on hash-string.h.
3242
32432003-02-28  Bruno Haible  <bruno@clisp.org>
3244
3245	* Makefile.in (localcharset.$lo): Depend on localcharset.h.
3246
32472003-02-28  Bruno Haible  <bruno@clisp.org>
3248
3249	Support for relocatable installation.
3250	* relocatable.h: New file.
3251	* relocatable.c: New file.
3252	* libgnuintl.h (libintl_set_relocation_prefix): New declaration.
3253	* localealias.c: Include relocatable.h.
3254	(read_alias_file): Relocate LOCALE_ALIAS_PATH element.
3255	* localcharset.c: Include relocatable.h.
3256	(get_charset_aliases): Relocate LIBDIR value.
3257	* Makefile.in (DEFS): Define also ENABLE_RELOCATABLE, IN_LIBRARY,
3258	INSTALLDIR, NO_XMALLOC, set_relocation_prefix, relocate.
3259	(HEADERS): Add relocatable.h.
3260	(SOURCES): Add relocatable.c.
3261	(OBJECTS): Add relocatable.$lo.
3262	(relocatable.$lo): New rule.
3263
32642003-02-28  Bruno Haible  <bruno@clisp.org>
3265
3266	* Makefile.in (mkinstalldirs): Simplify. Prepending "$(top_builddir)/"
3267	in the case of a relative $srcdir is now handled in gettext.m4.
3268
32692003-02-28  Bruno Haible  <bruno@clisp.org>
3270
3271	* localcharset.h: Change copyright to LGPL. Enclose declaration in
3272	extern "C", for C++ compilers.
3273	* localcharset.c: Drop C linkage declaration.
3274
32752003-02-18  Bruno Haible  <bruno@clisp.org>
3276
3277	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 5:0:3.
3278
32792003-01-29  Bruno Haible  <bruno@clisp.org>
3280
3281	* config.charset: Add an alias for CP1251 on Solaris.
3282	Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.
3283
32842003-02-16  Bruno Haible  <bruno@clisp.org>
3285
3286	* log.c: New file.
3287	* dcigettext.c (DCIGETTEXT) [!_LIBC]: Before returning the
3288	untranslated string, call _nl_log_untranslated.
3289	* intl-compat.c: Comments.
3290	* Makefile.in (SOURCES): Add log.c.
3291	(OBJECTS): Add intl-compat.$lo unconditionally. Add log.$lo.
3292	(log.lo): New rule.
3293	(install-exec): Stop using @INTLOBJS@. Install preloadable_libintl.so.
3294	(installdirs, uninstall): Update accordingly.
3295
32962003-02-16  Bruno Haible  <bruno@clisp.org>
3297
3298	* Makefile.in (.sin.sed): Remove rule.
3299	(ref-add.sed, ref-del.sed): New rules.
3300
33012003-02-12  Bruno Haible  <bruno@clisp.org>
3302
3303	Big restructuring.
3304	* Makefile.in: Make usable with $srcdir != $builddir even when not
3305	using GNU make.
3306	(VPATH): Remove variable.
3307	(.c.lo): Remove rule. Use a separate rule for every object file.
3308	(libintl.h, charset.alias, $(OBJECTS)): Refer to $srcdir where
3309	appropriate.
3310	(INCLUDES): Simplify.
3311	(install-exec): Special case packages 'gettext-runtime' and
3312	'gettext-tools'.
3313	(install-data): Special case package 'gettext-tools'.
3314	(installdirs, uninstall): Special case packages 'gettext-runtime' and
3315	'gettext-tools'.
3316	(distclean, dist): Likewise.
3317	(Makefile): Work around autoconf error message.
3318
33192003-01-12  Bruno Haible  <bruno@clisp.org>
3320
3321	* localcharset.h: New file.
3322	* localcharset.c: Include it.
3323	* Makefile.in (HEADERS): Add localcharset.h.
3324	(COMHDRS): Remove variable, fold into HEADERS.
3325	(COMSRCS): Remove variable, fold into SOURCES.
3326
33272002-12-12  Bruno Haible  <bruno@clisp.org>
3328
3329	* dcigettext.c (INTVARDEF): Correct fallback definition.
3330
33312002-11-19  Ulrich Drepper  <drepper@redhat.com>
3332
3333	* localealias.c (read_alias_file): Use only about 400 bytes of stack
3334	space instead of 16k.
3335
33362002-10-30  Jakub Jelinek  <jakub@redhat.com>
3337
3338	* finddomain.c (free_mem): Use libc_freeres_fn macro, remove
3339	text_set_element.
3340	* dcigettext.c (free_mem): Likewise.
3341
33422002-10-25  Jakub Jelinek  <jakub@redhat.com>
3343
3344	* localealias.c (libc_freeres_ptr): Define if !_LIBC.
3345	(string_space, map): Add libc_freeres_ptr.
3346	(free_mem): Remove.
3347
33482002-09-19  Bruno Haible  <bruno@clisp.org>
3349
3350	* dcigettext.c (DCIGETTEXT): Restore errno only right before
3351	returning.
3352
33532002-09-01  Roland McGrath  <roland@redhat.com>
3354
3355	* localealias.c [__GNUC__]: #undef alloca before #define.
3356
33572002-08-30  Roland McGrath  <roland@redhat.com>
3358
3359	* dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.
3360	[_LIBC] (category_to_name): Don't define the function.  Instead define
3361	a macro using _nl_category_names.
3362
33632002-08-04  Ulrich Drepper  <drepper@redhat.com>
3364
3365	* dcigettext.c: Define _nl_default_dirname_internal as hidden alias
3366	and use it.
3367	* bindtextdom.c: Use _nl_default_dirname_internal.
3368
33692002-08-03  Roland McGrath  <roland@redhat.com>
3370
3371	* dcigettext.c (guess_category_value): Use __current_locale_name
3372	instead of calling setlocale.
3373
33742002-08-02  Roland McGrath  <roland@redhat.com>
3375
3376	* loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT.
3377
33782002-07-30  Roland McGrath  <roland@redhat.com>
3379
3380	* loadmsgcat.c [__GNUC__]: #undef alloca before defining it.
3381
33822002-05-01  Ulrich Drepper  <drepper@redhat.com>
3383
3384	Revert 2002-04-09 change.
3385	* dcngettext.c (__dcngettext_internal): Remove alias.
3386	* dngettext.c: Use __dcngettext instead of __dcngettext_internal.
3387	* ngettext.c: Likewise.
3388
33892002-11-07  Bruno Haible  <bruno@clisp.org>
3390
3391	* Makefile.in (mostlyclean): Remove object files on OS/2 as well.
3392	Reported by Andreas Buening <andreas.buening@nexgo.de>.
3393
33942002-10-16  Bruno Haible  <bruno@clisp.org>
3395
3396	* Makefile.in (ps, pdf, html, ctags): New targets, for automake-1.7
3397	compatibility.
3398	(CTAGS): New rule.
3399
34002002-09-18  Bruno Haible  <bruno@clisp.org>
3401
3402	* libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Apple cc.
3403	Reported by Julien Chiron <julien.chiron@univ.u-3mrs.fr>.
3404
34052002-08-06  Bruno Haible  <bruno@clisp.org>
3406
3407	* gettext-0.11.5 released.
3408
34092002-07-25  Bruno Haible  <bruno@clisp.org>
3410
3411	* gettext-0.11.4 released.
3412
34132002-07-25  Bruno Haible  <bruno@clisp.org>
3414
3415	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 4:0:2.
3416
34172002-07-23  Bruno Haible  <bruno@clisp.org>
3418
3419	* loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN is set.
3420
34212002-07-21  Bruno Haible  <bruno@clisp.org>
3422
3423	* libgnuintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro.
3424	* gmo.h (struct mo_file_header): New fields n_sysdep_segments,
3425	sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset,
3426	trans_sysdep_tab_offset.
3427	(struct sysdep_segment): New type.
3428	(struct sysdep_string): New type.
3429	(SEGMENTS_END): New macro.
3430	* gettextP.h (struct sysdep_string_desc): New type.
3431	(struct loaded_domain): New fields malloced, n_sysdep_strings,
3432	orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields
3433	orig_tab, trans_tab, hash_tab to const pointers because they point
3434	into read-only memory.
3435	* loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h.
3436	(PRI*): Define fallback values.
3437	(get_sysdep_segment_value): New function.
3438	(_nl_load_domain): Distinguish major and minor revision parts. Add
3439	support for minor revision 1 with system dependent strings.
3440	(_nl_unload_domain): Also free the 'malloced' field.
3441	* dcigettext.c (_nl_find_msg): Remove test for domain->hash_size, now
3442	done in loadmsgcat.c. Add support for system dependent strings.
3443
34442002-07-17  Bruno Haible  <bruno@clisp.org>
3445
3446	* gettext-0.11.3 released.
3447
34482002-07-16  Bruno Haible  <bruno@clisp.org>
3449
3450	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 3:0:1.
3451
34522002-07-13  Bruno Haible  <bruno@clisp.org>
3453
3454	* dcigettext.c (freea): New macro.
3455	(FREE_BLOCKS): Free also the registered blocks.
3456	(DCIGETTEXT): Free the 'search' variable.
3457	Reported by Andreas Fischer <a.fischer@asentics.de>.
3458
34592002-06-13  Bruno Haible  <bruno@clisp.org>
3460
3461	Make absolute pathnames inside $LANGUAGE work.
3462	* l10nflist.c (_nl_make_l10nflist): Ignore dirlist if language is an
3463	absolute path. Fix sizes passed to malloc. Simplify linked list
3464	handling.
3465
34662002-06-13  Bruno Haible  <bruno@clisp.org>
3467
3468	* localename.c [WIN32] (LANG_DIVEHI, LANG_GALICIAN, LANG_KYRGYZ,
3469	LANG_MONGOLIAN, LANG_SYRIAC): Provide fallback definitions.
3470	(_nl_locale_name): Add Amharic, Burmese, Cambodian, Cherokee, Divehi,
3471	Edo, Frisian, Fulfulde, Gaelic, Guarani, Hausa, Hawaiian, Ibibio,
3472	Igbo, Inuktitut, Kanuri, Kyrgyz, Lao, Latin, Maltese, Mongolian,
3473	Oromo, Papiamentu, Pashto, Rhaeto-Romance, Sami, Sinhalese, Somali,
3474	Syriac, Tagalog, Tajik, Tomazight, Tibetan, Tigrinya, Tsonga, Turkmen,
3475	Venda, Welsh, Xhosa, Yi, Yiddish, Yoruba, Zulu. Fix Swahili, Tatar.
3476
34772002-06-07  Bruno Haible  <bruno@clisp.org>
3478
3479	* dcigettext.c (INTDIV0_RAISES_SIGFPE): Define a fallback.
3480	Include <signal.h>.
3481	* eval-plural.h (plural_eval): Let division by zero cause SIGFPE on
3482	all platforms.
3483
34842002-05-30  Bruno Haible  <bruno@clisp.org>
3485
3486	* libgnuintl.h (_INTL_REDIRECT_ASM, _INTL_REDIRECT_INLINE,
3487	_INTL_REDIRECT_MACROS, _INTL_ASM, _INTL_ASMNAME, _INTL_STRINGIFY):
3488	New macros. Use them instead of plain preprocessor level indirection
3489	when appropriate.
3490	* intl-compat.c: Define _INTL_REDIRECT_MACROS.
3491
34922002-05-28  Bruno Haible  <bruno@clisp.org>
3493
3494	* localename.c (LANG_SORBIAN): Provide a default value, for mingw32.
3495	Reported by Michael Opdenacker <m-opdenacker@ti.com>
3496	and Rob Leslie <rob@mars.org>.
3497
34982002-05-09  Bruno Haible  <bruno@clisp.org>
3499
3500	* config.charset: Update for newest glibc. Add canonical names
3501	ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS.
3502
35032002-05-09  Bruno Haible  <bruno@clisp.org>
3504
3505	* localcharset.c (get_charset_aliases): Add more Windows specific
3506	aliases.
3507
35082002-05-08  Owen Taylor  <otaylor@redhat.com>
3509
3510	* config.charset: A few additions for Solaris.
3511
35122001-12-05  Bruno Haible  <bruno@clisp.org>
3513
3514	* localcharset.c (locale_charset): Don't return an empty string.
3515
35162001-10-23  Bruno Haible  <haible@clisp.cons.org>
3517
3518	* config.charset: msdos in uk_UA uses CP1125.
3519
35202001-08-05  Bruno Haible  <haible@clisp.cons.org>
3521
3522	Make it possible to build libcharset with CC=gcc CFLAGS="-x c++".
3523	* localcharset.c (locale_charset): Declare as extern "C".
3524	(get_charset_aliases): Cast malloc and realloc results to 'char *'.
3525
35262002-04-30  Bruno Haible  <bruno@clisp.org>
3527
3528	* loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to
3529	the encoding if it already has slashes.
3530	Reported by Perry Rapp <prapp@erols.com>.
3531
35322002-04-27  Bruno Haible  <bruno@clisp.org>
3533
3534	* libgnuintl.h: Redirect every function to the one prefixed with
3535	"libintl_". Remove __OPTIMIZED variants.
3536	* gettextP.h: Use prefix "libintl_" instead of suffix "__".
3537	* dcigettext.c: Likewise.
3538	* dcgettext.c: Likewise.
3539	* dgettext.c: Likewise.
3540	* gettext.c: Likewise.
3541	* dcngettext.c: Likewise.
3542	* dngettext.c: Likewise.
3543	* ngettext.c: Likewise.
3544	* textdomain.c: Likewise.
3545	* bindtextdom.c: Likewise.
3546	* plural-exp.h: Likewise.
3547	* os2compat.c: Likewise.
3548	* intl-compat.c: Likewise.
3549
35502002-04-24  Bruno Haible  <bruno@clisp.org>
3551
3552	* gettext-0.11.2 released.
3553
35542002-04-24  Bruno Haible  <bruno@clisp.org>
3555
3556	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:1:0.
3557
35582002-04-19  Bruno Haible  <bruno@clisp.org>
3559
3560	* gettextP.h (attribute_hidden): Define as empty macro if not
3561	already defined.
3562
35632002-04-09  Ulrich Drepper  <drepper@redhat.com>
3564
3565	* dcngettext.c [_LIBC]: Use INTUSE for __dcngettext.
3566	* dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE.
3567	* ngettext.c: Likewise.
3568	* l10nflist.c [_LIBC]: Use INTUSE for __argz_count and
3569	__argz_stringify.
3570
35712002-04-08  Ulrich Drepper  <drepper@redhat.com>
3572
3573	* dcgettext.c (__dcgettext): Use INTDEF to define alias.
3574	* dgettext.c: Call __dcgettext_internal instead of __dcgettext.
3575	* gettext.c: Likewise.
3576
35772002-03-12  Ulrich Drepper  <drepper@redhat.com>
3578
3579	* plural-exp.h (attribute_hidden): Define as empty macro if not
3580	already defined.
3581	(GERMANIC_PLURAL): Declare as hidden.
3582	* dcigettext.c (_nl_default_default_domain): Define as hidden.
3583	(_nl_current_default_domain): Likewise
3584	(_nl_state_lock): Likewise.
3585	* textdomain.c (_nl_default_default_domain): Declare as hidden.
3586	(_nl_current_default_domain): Likewise
3587	(_nl_state_lock): Likewise.
3588	* bindtextdom.c (_nl_state_lock): Likewise.
3589
35902002-03-15  Andrew Zabolotny  <zap@cobra.ru>
3591
3592	* os2compat.h: Use prefix _nlos2 instead of _os2, to avoid any
3593	possible name clashes.
3594	* os2compat.c: Likewise.
3595
35962002-03-15  Bruno Haible  <bruno@clisp.org>
3597
3598	* libgnuintl.h (LC_MESSAGES): Don't define on Solaris 2.5, to avoid
3599	a warning.
3600	Reported by Stephen Gildea <gildea@stop.mail-abuse.org>.
3601
36022002-03-12  Bruno Haible  <bruno@clisp.org>
3603
3604	* gettext-0.11.1 released.
3605
36062002-02-15  Bruno Haible  <bruno@clisp.org>
3607
3608	* config.charset [msdosdjgpp]: For Russian, use CP866.
3609
36102002-02-14  Andrew Zabolotny  <zap@cobra.ru>
3611
3612	* os2compat.c (_nl_default_dirname__): Renamed from
3613	_nl_default_dirname.
3614
36152002-02-10  Bruno Haible  <bruno@clisp.org>
3616
3617	* localename.c: Change copyright notice from GPL to LGPL.
3618	* eval-plural.h: Likewise.
3619
36202002-02-11  Bruno Haible  <bruno@clisp.org>
3621
3622	* config.charset: Add support for NetBSD.
3623
36242002-01-31  Bruno Haible  <bruno@clisp.org>
3625
3626	* gettext-0.11 released.
3627
36282002-01-31  Bruno Haible  <bruno@clisp.org>
3629
3630	* eval-plural.h: Renamed from plural-eval.c.
3631	* dcigettext.c: Include eval-plural.h instead of plural-eval.c.
3632	* Makefile.in (COMHDRS): Remove plural-eval.c, add eval-plural.h.
3633	(DISTFILES.obsolete): Add plural-eval.c.
3634
36352002-01-24  Bruno Haible  <bruno@clisp.org>
3636
3637	* Makefile.in (libintl.la): Use @LTLIBICONV@ instead of @LIBICONV@.
3638
36392002-01-10  Andrew Zabolotny  <zap@cobra.ru>
3640	    Bruno Haible  <bruno@clisp.org>
3641
3642	* dcigettext.c (_nl_default_dirname): On OS/2, declare, not define.
3643	* localcharset.c: Rework OS/2 support.
3644	* config.charset: Add OS/2 support.
3645	* os2compat.c: Renamed from os2.c.
3646	(_nl_default_dirname): Define here.
3647	* os2compat.h: Moved here from ../os2/.
3648	* osdep.c: Update.
3649	* Makefile.in (COMHDRS): Add os2compat.h.
3650	(COMSRCS): Add os2compat.c, remove os2.c.
3651
36522002-01-05  Bruno Haible  <bruno@clisp.org>
3653
3654	* Makefile.in (libintl.la): Add -lc. Needed on AIX.
3655
36562002-01-02  Bruno Haible  <bruno@clisp.org>
3657
3658	* loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to
3659	K&R syntax.
3660
36612002-01-02  Bruno Haible  <bruno@clisp.org>
3662
3663	* plural.y: Fix %expect count.
3664
36652001-12-23  Bruno Haible  <bruno@clisp.org>
3666
3667	* os2.c (os2_initialize): Use LOCALEDIR_MAX macro.
3668
36692001-12-21  Bruno Haible  <bruno@clisp.org>
3670
3671	* localcharset.c (ISSLASH): Provide definition for DOS-like systems.
3672
36732001-12-21  Bruno Haible  <bruno@clisp.org>
3674
3675	* libgettext.h: Moved to ../lib/gettext.h.
3676	* Makefile.in (HEADERS): Remove libgettext.h.
3677	(DISTFILES.obsolete): Add libgettext.h.
3678
36792001-12-21  Bruno Haible  <bruno@clisp.org>
3680
3681	* gmo.h: Renamed from gettext.h.
3682	* gettext.h: Remove file.
3683	* gettextP.h: Update accordingly.
3684	* loadmsgcat.c: Likewise.
3685	* Makefile.in (COMHDRS): Add gmo.h, remove gettext.h.
3686	(DISTFILES.obsolete): Add gettext.h.
3687	Update dependencies.
3688
36892001-12-18  Bruno Haible  <bruno@clisp.org>
3690
3691	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:0:0.
3692	Used to force an soname of at least libintl.so.2 on Solaris, which
3693	already has a different libintl.so.1 in /usr/lib.
3694
36952001-12-15  Andrew Zabolotny  <zap@cobra.ru>
3696	    Bruno Haible  <bruno@clisp.org>
3697
3698	* osdep.c: New file.
3699	* os2.c: New file.
3700	* dcigettext.c (DCIGETTEXT): Add backward compatibility support for
3701	OS/2.
3702	* localcharset.c: Add OS/2 support.
3703	* localealias.c (_nl_expand_alias): Initialize locale_alias_path once,
3704	but not statically.
3705	* Makefile.in (COMSRCS): Add osdep.c, os2.c.
3706	(OBJECTS): Add osdep.$lo.
3707
37082001-12-12  Bruno Haible  <bruno@clisp.org>
3709
3710	* libgettext.h [!ENABLE_NLS]: Cast all function results to
3711	'const char *'.
3712	Reported by Alexandre Duret-Lutz <duret_g@lrde.epita.fr>.
3713
37142001-12-03  Bruno Haible  <bruno@clisp.org>
3715
3716	* Makefile.in (install-exec): Don't create an empty libdir.
3717	(installdirs): Update accordingly.
3718
37192001-11-30  Bruno Haible  <bruno@clisp.org>
3720
3721	* plural-exp.h (plural_eval): Add back declaration.
3722	* Makefile.in (OBJECTS): Remove plural-eval.$lo.
3723	(COMSRCS): Remove plural-eval.c.
3724	(COMHDRS): Add plural-eval.c.
3725	(plural-eval.$lo): Remove dependency.
3726	(dcigettext.$lo): Depend on plural-eval.c.
3727
37282001-11-29  Bruno Haible  <bruno@clisp.org>
3729
3730	* gettextP.h (_nl_locale_name): Don't declare inside glibc.
3731	* localename.c (_nl_locale_name): Remove _LIBC conditional.
3732
37332001-11-27  Ulrich Drepper  <drepper@redhat.com>
3734
3735	* dcigettext.c (guess_category_value): Inside glibc, use setlocale
3736	directly, not _nl_locale_name.
3737
37382001-11-27  Ulrich Drepper  <drepper@redhat.com>
3739
3740	* loadmsgcat.c (_nl_init_domain_conv): Modify #if expression.
3741
37422001-11-27  Ulrich Drepper  <drepper@redhat.com>
3743
3744	* plural-eval.c (plural_eval): Rename back from PLURAL_EVAL.
3745	* plural-exp.h (PLURAL_EVAL): Remove declaration.
3746	* dcigettext.c Include plural-eval.c.
3747	(plural_lookup): Call plural_eval instead of PLURAL_EVAL.
3748
37492001-11-22  Bruno Haible  <bruno@clisp.org>
3750
3751	* plural-exp.h (GERMANIC_PLURAL): New declaration.
3752	* plural-exp.c (GERMANIC_PLURAL): Renamed from germanic_plural.
3753	* loadmsgcat.c (_nl_unload_domain): Update.
3754
37552001-07-17  Ulrich Drepper  <drepper@redhat.com>
3756
3757	* localealias.c (read_alias_file): Disable implicit locking
3758	for the stream.  Use _unlocked functions for glibc.
3759
37602001-11-11  Bruno Haible  <haible@clisp.cons.org>
3761
3762	* Makefile.in (dist): Avoid using hard links, because the automake-1.5
3763	generated toplevel 'distdir' target chmods all the distributed files.
3764
37652001-11-10  Bruno Haible  <haible@clisp.cons.org>
3766
3767	* libgnuintl.h (_INTL_PARAMS): Renamed from PARAMS, to avoid polluting
3768	the user's namespace.
3769	Also test for __GNUC__, __SUNPRO_C and __PROTOTYPES because on
3770	64-bit Solaris, we need prototypes although __STDC__ is often defined
3771	to 0. __GNUC__ covers GCC, __SUNPRO_C covers Sun cc, regardless of
3772	compilation flags. __PROTOTYPES covers other compilers when compiling
3773	programs using autoconf's AC_C_PROTOTYPES.
3774	* gettextP.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris
3775	cc needs prototypes although it defines __STDC__ to 0 by default.
3776	Also test for __cplusplus and __PROTOTYPES, just for consistency with
3777	libgnuintl.h.
3778	* hash-string.h (PARAMS): Likewise.
3779	* loadinfo.h (PARAMS): Likewise.
3780	* plural-exp.h (PARAMS): Likewise.
3781
37822001-10-31  Bruno Haible  <haible@clisp.cons.org>
3783
3784	* plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
3785
37862001-10-31  Bruno Haible  <haible@clisp.cons.org>
3787
3788	* COPYING.LIB-2.0: Renamed from COPYING.LIB-2.
3789	* Makefile.in (DISTFILES.gettext, install-data, uninstall): Update.
3790	(DISTFILES.obsolete): Add COPYING.LIB-2.
3791
37922001-10-09  Bruno Haible  <haible@clisp.cons.org>
3793
3794	* localcharset.c (getc): Define as getc_unlocked if available.
3795
37962001-09-27  Bruno Haible  <haible@clisp.cons.org>
3797
3798	* Makefile.in (install-strip, installdirs): New rules.
3799
38002001-09-24  Bruno Haible  <haible@clisp.cons.org>
3801
3802	* localename.c: New file, integrating a function from
3803	Tor Lillqvist <tml@iki.fi>.
3804	* gettextP.h: New declaration.
3805	* dcigettext.c (guess_category_value): Call _nl_locale_name.
3806	* Makefile.in (COMSRCS): Add localename.c.
3807	(OBJECTS): Add localename.$lo.
3808
38092001-09-22  Bruno Haible  <haible@clisp.cons.org>
3810
3811	* plural-eval.c: New file, extracted from dcigettext.c.
3812	* plural-exp.h (PLURAL_EVAL): New declaration.
3813	* dcigettext.c (plural_eval): Remove function, moved to plural-eval.c.
3814	(plural_lookup): Call PLURAL_EVAL instead of plural_eval.
3815	* Makefile.in (COMSRCS): Add plural-eval.c.
3816	(OBJECTS): Add plural-eval.$lo.
3817
38182001-09-22  Bruno Haible  <haible@clisp.cons.org>
3819
3820	* plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that don't
3821	start with a digit; nplurals must be positive.
3822
38232001-10-20  Bruno Haible  <haible@clisp.cons.org>
3824
3825	Assume strchr() exists. (Without it, explodename.c wouldn't link
3826	anyway.)
3827	* dcigettext.c (strchr): Remove fallback definition; it conflicts with
3828	the variable 'index' in plural_lookup.
3829	* l10nflist.c (strchr): Likewise.
3830	* localealias.c (strchr): Likewise.
3831
38322001-09-24  Bruno Haible  <haible@clisp.cons.org>
3833
3834	* loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration
3835	when building on a glibc system but outside glibc.
3836
38372001-09-02  Bruno Haible  <haible@clisp.cons.org>
3838
3839	* plural-exp.h: New file, extracted from gettextP.h.
3840	* plural-exp.c: New file, extracted from loadmsgcat.c.
3841	* gettextP.h (struct expression, struct parse_args,
3842	__gettext_free_exp, __gettextparse): Move to plural-exp.h.
3843	* loadmsgcat.c: Include plural-exp.h.
3844	(PLURAL_PARSE): Move macro to plural-exp.h.
3845	(plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
3846	plural-exp.c.
3847	(_nl_load_domain): Move plural handling code to plural-exp.c. Call
3848	EXTRACT_PLURAL_EXPRESSION.
3849	* dcigettext.c: Include plural-exp.h.
3850	* plural.y: Include plural-exp.h, not gettextP.h.
3851	(FREE_EXPRESSION): Move macro to plural-exp.h.
3852	* Makefile.in (DEFS): Define IN_LIBINTL.
3853	(COMHDRS): Add plural-exp.h.
3854	(COMSRCS): Add plural-exp.c.
3855	(OBJECTS): Add plural-exp.$lo.
3856	Update dependencies.
3857
38582001-07-28  Bruno Haible  <haible@clisp.cons.org>
3859
3860	* l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, isdigit,
3861	tolower argument to 'unsigned char'.
3862	* loadmsgcat.c (_nl_load_domain): Cast isspace argument to
3863	'unsigned char'.
3864	* localealias.c (read_alias_file): Cast isspace argument to
3865	'unsigned char'.
3866
38672001-07-23  Bruno Haible  <haible@clisp.cons.org>
3868
3869	* gettext.h: Assume <limits.h> exists.
3870
38712001-09-13  Bruno Haible  <haible@clisp.cons.org>
3872
3873	* gettext-0.10.40 released.
3874
38752001-07-11  Ulrich Drepper  <drepper@redhat.com>
3876
3877	* locale.alias: Use he language code for hebrew, not iw.
3878
38792001-09-13  Bruno Haible  <haible@clisp.cons.org>
3880
3881	* *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL.
3882	This is a reaction to a blackmail from the GNOME project which
3883	threatened to distribute an LGPLed clone of libintl.
3884	* COPYING.LIB-2, COPYING.LIB-2.1: New files.
3885	* Makefile.in (DISTFILES.gettext): Add them.
3886	(install-data): Install them.
3887	(uninstall): Uninstall them.
3888
38892001-07-24  Bruno Haible  <haible@clisp.cons.org>
3890
3891	* gettext-0.10.39 released.
3892
38932001-06-24  Bruno Haible  <haible@clisp.cons.org>
3894
3895	* config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
3896	Change canonical name of SJIS to SHIFT_JIS.
3897
38982001-06-12  Bruno Haible  <haible@clisp.cons.org>
3899
3900	* dcigettext.c (DCIGETTEXT): Release the lock before returning.
3901
39022001-04-30  Bruno Haible  <haible@clisp.cons.org>
3903
3904	Silence "gcc -Wall -Wwrite-strings" warnings.
3905	* localcharset.c (charset_aliases): Change type to 'const char *'.
3906	(get_charset_aliases): Change type of 'cp' to 'const char *'.
3907
39082001-05-23  Bruno Haible  <haible@clisp.cons.org>
3909
3910	* gettext-0.10.38 released.
3911
39122001-05-22  Bruno Haible  <haible@clisp.cons.org>
3913
3914	* Makefile.in (install-data): Install plural.c as well.
3915	(uninstall): Uninstall plural.c as well.
3916
39172001-05-18  Bruno Haible  <haible@clisp.cons.org>
3918
3919	* Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute
3920	file in either current directory or $(srcdir), whichever exists.
3921
39222001-05-11  Bruno Haible  <haible@clisp.cons.org>
3923
3924	* Makefile.in (install-exec): Don't install charset.alias on glibc 2.1
3925	systems.
3926
39272001-04-30  Bruno Haible  <haible@clisp.cons.org>
3928
3929	* dcigettext.c (getuid, getgid, geteuid, getegid): Provide default
3930	definitions. Needed for mingw32.
3931
39322001-04-19  Bruno Haible  <haible@clisp.cons.org>
3933
3934	* gettext-0.10.37 released.
3935
39362001-04-19  Bruno Haible <haible@clisp.cons.org>
3937
3938	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0.
3939
39402001-04-19  Bruno Haible <haible@clisp.cons.org>
3941
3942	* loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when
3943	the libiconv version is smaller than 1.5.
3944
39452001-04-09  Bruno Haible <haible@clisp.cons.org>
3946
3947	* loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined.
3948	Apple's MacOS X compiler has not all the features that the regular
3949	GCC with the same version number has.
3950
39512001-04-07  Bruno Haible <haible@clisp.cons.org>
3952
3953	* gettextP.h (struct loaded_domain): Add codeset_cntr field.
3954	(struct binding): Add codeset_cntr field.
3955	(_nl_load_domain): Add domainbinding argument.
3956	(_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3957	(_nl_find_msg): New declaration, moved here from loadinfo.h.
3958	* loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3959	(_nl_make_l10nflist): Remove domainbinding argument.
3960	(_nl_find_msg): Move declaration to gettextP.h.
3961	* bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0.
3962	Increment it when ->codeset is changed.
3963	* dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3964	(_nl_find_msg): Add domainbinding argument. Reinitialize the converter
3965	if domainbinding->codeset_cntr has been incremented.
3966	* finddomain.c (_nl_find_domain): Don't pass domainbinding to
3967	_nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
3968	* l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3969	* loadmsgcat.c (_nl_init_domain_conv): New function, extracted from
3970	_nl_load_domain. Append //TRANSLIT also when using libiconv.
3971	(_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3972	(_nl_load_domain): Add domainbinding argument. Call
3973	_nl_init_domain_conv.
3974	(_nl_unload_domain): Call _nl_free_domain_conv.
3975
39762001-04-09  Bruno Haible  <haible@clisp.cons.org>
3977
3978	* dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2
3979	(Linux libc5).
3980
39812001-04-04  Bruno Haible  <haible@clisp.cons.org>
3982
3983	* dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
3984
39852001-04-04  Bruno Haible  <haible@clisp.cons.org>
3986
3987	* Makefile.in (libdir, includedir, datadir): Use the autoconf
3988	determined value, in order to respect the configure arguments.
3989	(gettextsrcdir): Use $(datadir), not @datadir@.
3990
39912001-03-29  Bruno Haible  <haible@clisp.cons.org>
3992
3993	* gettext-0.10.36 released.
3994
39952001-03-25  Bruno Haible  <haible@clisp.cons.org>
3996
3997	* Makefile.in (install-data): Set execution bits on installed
3998	config.charset.
3999
40002001-03-23  Bruno Haible  <haible@clisp.cons.org>
4001
4002	* Makefile.in (YACC): Use @INTLBISON@ instead of bison.
4003
40042001-03-21  Bruno Haible  <haible@clisp.cons.org>
4005
4006	* dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
4007	chokes on empty macro arguments.
4008	* plural.y: Add #pragma for alloca on AIX 3.
4009
40102001-03-20  Bruno Haible  <haible@clisp.cons.org>
4011
4012	* Makefile.in (DISTFILES.generated): New variable.
4013	(DISTFILES.gettext): Remove plural.c.
4014	(dist): Use DISTFILES.generated.
4015	(YACC): Use "bison -y" instead of @YACC@.
4016	Needed for "make dist" to work in normal packages.
4017
40182001-03-20  Bruno Haible  <haible@clisp.cons.org>
4019
4020	* Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate
4021	the files to be distributed through a recursive 'make' call.
4022
40232001-03-17  Bruno Haible  <haible@clisp.cons.org>
4024
4025	* gettextP.h (struct expression): Add operators lnot, less_than,
4026	greater_than, less_or_equal, greater_or_equal. Replace args2/args3
4027	union by a 'nargs' counter and an 'args[]' array.
4028	* plural.y: Don't include stdarg.h.
4029	(new_exp): New function.
4030	(new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp.
4031	(new_exp_1): New function.
4032	('?' ':'): Make right-associative.
4033	(EQUOP2): New token, replaces '=' and '!'.
4034	(CMPOP2): New token.
4035	(ADDOP2): New token, replaces '+' and '-'.
4036	(MULOP2): New token, replaces '*', '/' and '%'.
4037	('!'): New token.
4038	(exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
4039	(start): Call YYABORT here.
4040	(FREE_EXPRESSION): Update.
4041	(yylex): Don't skip "\\n". Recognize comparison and '!' operators.
4042	Update for new token symbols.
4043	* loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural):
4044	Update.
4045	* dcigettext.c (_nl_find_msg): Optimize for space.
4046	(plural_eval): Recognize comparison and '!' operators. Optimize for
4047	space.
4048
4049	* dcigettext.c (transcmp): New declaration.
4050
40512001-03-10  Bruno Haible  <haible@clisp.cons.org>
4052
4053	* Makefile.in (libintl.la): Pass -liconv and flag -no-undefined.
4054	Needed on platforms like BeOS.
4055
4056	* Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la.
4057	(libgnuintl.a, libgnuintl.la): New targets. Needed for linking
4058	../tests/tstgettext on systems which have gettext() in libintl.so.
4059
4060	* localcharset.c (locale_charset): Allow wildcard syntax. Resolve
4061	alias also if codeset is empty.
4062	* config.charset (BeOS): Use wildcard syntax.
4063
4064	* loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL
4065	any more.
4066
40672001-03-09  Bruno Haible  <haible@clisp.cons.org>
4068
4069	* config.charset: Update from libiconv-1.6.
4070	* localcharset.c: Likewise.
4071
40722001-02-25  Ulrich Drepper  <drepper@redhat.com>
4073
4074	* locale.alias: Don't use nb_NO but define aliases for it.
4075
40762001-01-26  Ulrich Drepper  <drepper@redhat.com>
4077
4078	* loadmsgcat.c: Include <locale.h> for _LIBC.
4079
40802001-03-09  Bruno Haible  <haible@clisp.cons.org>
4081
4082	* dcigettext.c (transmem_block_t): Change to unsigned char, to avoid
4083	compiler warning.
4084	(_nl_find_msg): Add casts to avoid compiler warnings.
4085
40862001-03-09  Bruno Haible  <haible@clisp.cons.org>
4087
4088	* Makefile.in (DISTFILES.common): Remove ChangeLog.
4089	(DISTFILES.obsolete): New variable.
4090	(install-data): Install ChangeLog.inst as ChangeLog. Remove the files
4091	listed in DISTFILES.obsolete.
4092	(uninstall): Simplify.
4093	(distclean): Remove ChangeLog.inst.
4094	(dist): Mention ChangeLog explicitly.
4095
40962001-03-04  Bruno Haible  <haible@clisp.cons.org>
4097
4098	* dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH,
4099	IS_PATH_WITH_DIR): New macros.
4100	(DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment
4101	path_max proportionally.
4102	* loadinfo.h (PATH_SEPARATOR): New macro.
4103	* l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'.
4104	* localealias.c (_nl_expand_alias): Likewise.
4105	* libgnuintl.h (gettext) [DJGPP]: Define as a macro as well.
4106
41072001-03-06  Bruno Haible  <haible@clisp.cons.org>
4108
4109	* libgnuintl.h (LC_MESSAGES): Don't define on Solaris.
4110
41112001-02-24  Bruno Haible  <haible@clisp.cons.org>
4112
4113	* dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4114
41152001-02-05  Bruno Haible  <haible@clisp.cons.org>
4116
4117	* libgnuintl.h (LC_MESSAGES): Provide a default value.
4118
41192001-01-30  Bruno Haible  <haible@clisp.cons.org>
4120
4121	* config.charset: Update for FreeBSD 4.2.
4122
41232001-01-21  Bruno Haible  <haible@clisp.cons.org>
4124
4125	Use libtool.
4126	* Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l.
4127	(all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL
4128	is 'yes', still build libintl.$la because the testsuite needs it.
4129	(libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC)
4130	must use all $(CFLAGS).
4131	(install-exec): Use libtool to install libintl.$la.
4132	(uninstall): Use libtool to uninstall libintl.$la.
4133	(mostlyclean): Remove *.la and the .libs subdir.
4134	* intl-compat.c: Reorder. Add comment.
4135
41362001-01-20  Bruno Haible  <haible@clisp.cons.org>
4137
4138	* loadmsgcat.c (O_BINARY): Define on platforms that don't have it.
4139	(_nl_load_domain): Open the catalog file in binary mode.
4140
41412001-01-24  Bruno Haible  <haible@clisp.cons.org>
4142
4143	* gettextP.h (SWAP): Remove declaration, to work around a compilation
4144	failure on alphaev5-cray-unicosmk2.0.5.X.
4145
41462001-01-15  Bruno Haible  <haible@clisp.cons.org>
4147
4148	* dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid
4149	a warning.
4150
41512001-01-07  Bruno Haible  <haible@clisp.cons.org>
4152
4153	* gettextP.h (__gettextdebug): Remove declaration.
4154	(gettext_free_exp__, gettextparse__): New non-libc declarations.
4155	* plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not
4156	__gettextparse, __gettext_free_exp.
4157	* loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4158
41592001-01-07  Bruno Haible  <haible@clisp.cons.org>
4160
4161	* libgnuintl.h: Renamed from intlh.inst.in.
4162	Remove comment about __builtin_constant_p.
4163	(gettext): Use NULL.
4164	* libgettext.h: Completely rewritten. Now a conditional wrapper around
4165	<libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove
4166	everything else.
4167	* gettextP.h: Include gettext.h, for nls_uint32.
4168	(gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__,
4169	bind_textdomain_codeset__): New declarations, from old libgettext.h.
4170	* gettext.h: Don't include <stdio.h>.
4171	* Makefile.in (HEADERS): Add libgnuintl.h.
4172	(DISTFILES.gettext): Remove intlh.inst.in.
4173	(all-yes): Depend on libintl.h instead of intlh.inst.
4174	(libintl.h): New target. Create as a copy of libgnuintl.h.
4175	(intlh.inst): Remove target.
4176	(install-exec): Update.
4177	($(OBJECTS): Depend on libgnuintl.h, not libgettext.h.
4178	(mostlyclean): Remove libintl.h instead of intlh.inst.
4179	(dist-libc): Remove target.
4180	* bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't
4181	include gettext.h.
4182	* dcgettext.c: Likewise.
4183	* dcigettext.c: Likewise.
4184	* dcngettext.c: Likewise.
4185	* dngettext.c: Likewise.
4186	* finddomain.c: Likewise.
4187	* ngettext.c: Likewise.
4188	* textdomain.c: Likewise.
4189	* dgettext.c: Include libgnuintl.h instead of libgettext.h. Include
4190	gettextP.h.
4191	* gettext.c: Likewise.
4192	* intl-compat.c: Likewise.
4193	* localealias.c: Don't include gettext.h.
4194	* plural.y: Likewise.
4195
41962001-01-07  Bruno Haible  <haible@clisp.cons.org>
4197
4198	Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
4199	* intlh.inst.in: Likewise.
4200	* libgettext.h: Likewise.
4201	* gettextP.h: Likewise.
4202	* bindtextdom.c: Likewise.
4203	* dcigettext.c: Likewise.
4204	* dgettext.c: Likewise.
4205	* dngettext.c: Likewise.
4206	* explodename.c: Likewise.
4207	* finddomain.c: Likewise.
4208	* gettext.c: Likewise.
4209	* l10nflist.c: Likewise.
4210	* loadmsgcat.c: Likewise.
4211	* localealias.c: Likewise.
4212	* ngettext.c: Likewise.
4213	* textdomain.c: Likewise.
4214
42152001-01-06  Bruno Haible  <haible@clisp.cons.org>
4216
4217	Remove catgets fallback code.
4218	- It does not handle message clash prevention through domains and
4219	  dgettext().
4220	- It does not handle message catalog inheritance and the LANGUAGE
4221	  environment variable.
4222	- It does not handle locale aliases.
4223	- It does not handle automatic charset conversion.
4224	- It does not handle plural form handling and ngettext().
4225	- It uses a slow string to integer conversion.
4226	- It is sensitive against installation problems.
4227	* cat-compat.c: Remove file.
4228	* po2msg.sin, po2tbl.sin: Remove files.
4229	* Makefile.in (datadir): Assume DATADIRNAME = share.
4230	(SOURCES): Remove cat-compat.c.
4231	(DISTFILES.common): Remove po2msg.sin, po2tbl.sin.
4232	(distclean): No need to remove po2msg.sed, po2tbl.sed.
4233	(../po/cat-id-tbl.$lo): Remove rule.
4234	* libgettext.h (_msg_ent): Remove.
4235	(_msg_tbl, _msg_tbl_length): Remove declarations.
4236	(gettext, dgettext, ngettext, dngettext): Don't depend on
4237	!HAVE_CATGETS.
4238
42392001-01-04  Ulrich Drepper  <drepper@redhat.com>
4240
4241	* plural.y (yylex): Minimal improvement in number scanner.
4242
42432001-01-02  Ulrich Drepper  <drepper@redhat.com>
4244
4245	* dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value
4246	is ignored if the selected locale is the C locale.
4247
42482000-11-20  Ulrich Drepper  <drepper@redhat.com>
4249
4250	* dcigettext.c (transcmp): Make s1 and s2 const.
4251	* loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to
4252	avoid warning.
4253
42542000-11-09  Ulrich Drepper  <drepper@redhat.com>
4255
4256	* locale.alias: Add thai.
4257	Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
4258
42592001-01-05  Bruno Haible  <haible@clisp.cons.org>
4260
4261	* Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib.
4262	(.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o
4263	rule, not the builtin .y.o rule.
4264	(.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make"
4265	specification. Remove $*.h explicitly: we don't need plural.h.
4266	* gettextP.h: Include <stddef.h>.
4267	(__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4268	syntax.
4269	* bindtextdom.c (offsetof): Provide fallback for platforms that lack
4270	it, like SunOS4.
4271	(set_binding_values): Convert prototype to K&R C syntax.
4272	* cat-compat.c: Include stdlib.h, string.h whenever possible.
4273	* dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a
4274	must not depend on external .o files.
4275	(offsetof): Provide fallback for platforms that lack it, like SunOS4.
4276	(transcmp): Convert to K&R C syntax.
4277	* explodename.c Include stdlib.h whenever possible.
4278	(_nl_find_language): Convert to K&R C syntax.
4279	* finddomain.c: Include stdlib.h whenever possible.
4280	* l10nflist.c Include stdlib.h whenever possible.
4281	(_nl_normalize_codeset): Use tolower, not _tolower.
4282	* loadmsgcat.c: Include stdlib.h whenever possible.
4283	Include headers needed for alloca().
4284	(freea): New macro.
4285	(_nl_load_domain): Add fallback code for platforms lacking strtoul,
4286	like SunOS4. Add fallback code for platforms lacking alloca.
4287	* localealias.c: Include stdlib.h whenever possible.
4288	(ADD_BLOCK, FREE_BLOCK): Remove macros.
4289	(freea): New macro.
4290	(read_alias_file): Simplify fallback code for platforms lacking alloca.
4291	* plural.y (new_exp_0, new_exp_2, new_exp_3): New functions.
4292	(new_exp): Remove function.
4293	(__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax.
4294	* textdomain.c: Include stdlib.h whenever possible.
4295	* gettext.c: Likewise.
4296	* ngettext.c: Likewise.
4297	* localcharset.c (volatile): Define to empty if not using ANSI C.
4298
42992001-01-01  Bruno Haible  <haible@clisp.cons.org>
4300
4301	* Makefile.in (mostlyclean): Remove intlh.inst, charset.alias,
4302	ref-add.sed, ref-del.sed.
4303	(distclean): In the gettext package, remove VERSION.
4304
43052001-01-01  Bruno Haible  <haible@clisp.cons.org>
4306
4307	Finish implementation of plural form handling.
4308	* dcigettext.c (known_translation_t): Rename 'domain' field to
4309	'domainname'. Remove 'plindex' field. Add 'domain' and
4310	'translation_length' fields.
4311	(transcmp): Don't compare 'plindex' fields.
4312	(plural_lookup): New function.
4313	(DCIGETTEXT): Change cache handing in the plural case. Don't call
4314	plural_eval before the translation and its catalog file have been
4315	found. Remove plindex from cache key. Add 'translation_length' and
4316	'domain' to cache result.
4317	(_nl_find_msg): Remove index argument, return length of translation
4318	to the caller instead. Weaken comparison of string lengths, to account
4319	for plural entries. Call iconv() on the entire result string, not
4320	only on the portion needed so far.
4321	* loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
4322	argument.
4323	* loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
4324
4325	* intl-compat.c (dcngettext, dngettext, ngettext): New functions.
4326	* libgettext.h (ngettext__, dngettext__, dcngettext__): New
4327	declarations.
4328	(ngettext, dngettext): Add missing macro argument.
4329
4330	* intlh.inst.in (ngettext, dngettext): Add missing macro argument.
4331
43322000-12-31  Bruno Haible  <haible@clisp.cons.org>
4333
4334	* gettextP.h (ZERO): New macro.
4335	(struct binding): Always use ZERO.
4336	* bindtextdom.c (set_binding_values): Use offsetof, not sizeof.
4337	Include <stddef.h> whenever possible.
4338	* dcigettext.c (ZERO): Remove macro.
4339	(struct transmem_list): Use ZERO.
4340	(DCIGETTEXT): Use offsetof, not sizeof.
4341	Include <stddef.h> whenever possible.
4342
4343	* config.charset: Update from libiconv-1.5.1.
4344	* localcharset.c: Likewise.
4345
43462000-12-30  Bruno Haible  <haible@clisp.cons.org>
4347
4348	* locale.alias: New file, moved here from ../misc/locale.alias. Add
4349	"Packages using this file" line.
4350	* Makefile.in (DISTFILES.common): Add locale.alias.
4351	(install-exec, uninstall): Install/deinstall locale.alias.
4352
43532000-10-30  Ulrich Drepper  <drepper@redhat.com>
4354
4355	* dcigettext.c (guess_category_value): For libc always use the
4356	setlocale() method.
4357
43582000-10-20  Ulrich Drepper  <drepper@redhat.com>
4359
4360	* libintl.glibc (ngettext macro): Add missing parameter.
4361	(dngettext macro): Likewise.
4362
43632000-10-14  Ulrich Drepper  <drepper@redhat.com>
4364
4365	* localealias.c (read_alias_file): Update string pointers in map[]
4366	if realloc() changed the values.
4367	Patch by Jakub Jelinek <jakub@redhat.com>.
4368
43692000-08-31  Ulrich Drepper  <drepper@redhat.com>
4370
4371	* loadmsgcat.c: Use *stat64 instead of *stat internally.
4372
4373	* dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings
4374	list.
4375
43762000-08-27  Ulrich Drepper  <drepper@redhat.com>
4377
4378	* dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to
4379	determine invalid locale name.
4380
43812000-08-20  Ulrich Drepper  <drepper@redhat.com>
4382
4383	* dcigettext.c: Unify use of function aliases to make more compact
4384	PLT.
4385
4386	* loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
4387	Pretty printing.
4388	* plural.y (new_exp): Take number of optional parameters in second
4389	parameter.  Test for correct number of parameters and free correctly
4390	in case of failure.  Adjust all callers.
4391	(yylex): Fix handling of '\0'.  Allow ';' as terminator character.
4392
43932000-07-14  Bruno Haible  <haible@clisp.cons.org>
4394
4395	* dcigettext.c (dcigettext): Call plural_eval on all platforms, not
4396	only those having tsearch.
4397
43982000-06-30  Ulrich Drepper  <drepper@redhat.com>
4399
4400	* dcigettext.c (_nl_find_msg): Correct reallocation of buffers in
4401	case the translation is too large.  Remember allocated memory blocks
4402	in a list.
4403	(free_mem): Free memory for translations.
4404
44052000-06-16  Ulrich Drepper  <drepper@redhat.com>
4406
4407	* loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new
4408	parameter to always enable transliteration.
4409
44101998-10-20  Paul Eggert  <eggert@twinsun.com>
4411
4412	* po2tbl.sin: Escape trigraphs.
4413
44142000-10-12  Bruno Haible  <haible@clisp.cons.org>
4415
4416	* finddomain.c: Remove unneeded includes.
4417
44182000-10-12  Bruno Haible  <haible@clisp.cons.org>
4419
4420	* localealias.c (memcpy): Return first argument, just like the real
4421	memcpy function does.
4422	* bindtextdom.c (memcpy): Likewise.
4423	* finddomain.c (memcpy): Likewise.
4424	* l10nflist.c (memcpy): Likewise.
4425	* textdomain.c (memcpy): Likewise.
4426	From Paul Eggert <eggert@twinsun.com>.
4427
44282000-09-29  Bruno Haible  <haible@clisp.cons.org>
4429
4430	* libintl.glibc: Update from current glibc version.
4431
44322000-09-18  Bruno Haible  <haible@clisp.cons.org>
4433
4434	* dcigettext.c: Outside libc, use local variable names that don't
4435	clash with those in libc.
4436	* bindtextdom.c: Likewise.
4437	* textdomain.c: Likewise.
4438
44392000-07-31  Bruno Haible  <haible@clisp.cons.org>
4440
4441	* plural.y: Include config.h. Needed to define 'inline' away for C
4442	compilers that don't support it.
4443	(yylex): Don't use gcc specific case range syntax.
4444	* loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers.
4445
44462000-07-28  Bruno Haible  <haible@clisp.cons.org>
4447
4448	Simplification: In all cases where $(gnulocaledir) is used, it is
4449	identical to $(localedir).
4450	* Makefile.in (DEFS): Remove setting for GNULOCALEDIR.
4451	* dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4452
44532000-07-28  Bruno Haible  <haible@clisp.cons.org>
4454
4455	* xopen-msg.sed: Renamed to ...
4456	* po2msg.sin: ... here.
4457	* linux-msg.sed: Remove file.
4458	* Makefile.in (DISTFILES.common): Update.
4459
44602000-07-28  Bruno Haible  <haible@clisp.cons.org>
4461
4462	* po2tbl.sed.in: Renamed to ...
4463	* po2tbl.sin: ... here.
4464	* Makefile.in (DISTFILES.common): Update.
4465
44662000-07-28  Bruno Haible  <haible@clisp.cons.org>
4467
4468	* Makefile.in (uninstall): Synchronize with the install target.
4469	Really remove charset.alias when its reference count drops to 0.
4470
44712000-07-28  Bruno Haible  <haible@clisp.cons.org>
4472
4473	* Makefile.in (mkinstalldirs): New macro. Needed when configured with
4474	--srcdir=<relative pathname>; then ac_aux_dir will be a relative
4475	pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise.
4476	(install-exec, install-data): Use it.
4477
44782000-07-26  Bruno Haible  <haible@clisp.cons.org>
4479
4480	* Makefile.in (install-exec, install-data): Use $(SHELL) for calling
4481	$(MKINSTALLDIRS), don't rely on its execution permissions.
4482
4483	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables.
4484	(libintl.la): Use them.
4485
4486	* Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR
4487	support, as recommended by GNU standards. Fix misapplied 2000-06-16
4488	patch.
4489
44902000-06-16  Bruno Haible  <haible@clisp.cons.org>
4491
4492	* Makefile.in (COMSRCS): Add localcharset.c.
4493	(OBJECTS): Add localcharset.$lo.
4494	(DISTFILES.common): Add config.charset, ref-{add,del}.sin.
4495	(DEFS): Add -DLIBDIR.
4496	(all-yes): Add charset.alias, ref-{add,del}.sed.
4497	(.SUFFIXES): Add .sin and .sed.
4498	(.sin.sed, charset.alias): New rules.
4499	(install-exec, uninstall): Install/deinstall charset.alias.
4500	* localcharset.c: New file, from fileutils-4.0u.
4501	* config.charset: New file, from fileutils-4.0u.
4502	* red-add.sin, ref-del.sin: New files, from fileutils-4.0u.
4503
4504	* intlh.inst.in (bind_textdomain_codeset): New declaration.
4505	* libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__):
4506	New declarations.
4507	(bind_textdomain_codeset) [!ENABLE_NLS]: New macro.
4508	* cat-compat.c (bind_textdomain_codeset): New function.
4509	* intl-compat.c (bind_textdomain_codeset): New function.
4510
4511	* libgettext.h (ngettext, dngettext, dcngettext): New
4512	declarations.
4513	(dcgettext): Remove macro definition.
4514	(textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument.
4515	* intlh.inst.in (ngettext, dngettext, dcngettext): New
4516	declarations.
4517	(dcgettext): Remove macro definition.
4518
4519	* *.h, *.c, *.y: Change copyright notice from LGPL to GPL.
4520
45212000-05-21  Ulrich Drepper  <drepper@redhat.com>
4522
4523	* dcigettext.c: Fix typo in comment.
4524
45252000-05-08  Andreas Jaeger  <aj@suse.de>
4526
4527	* bindtextdom.c (set_binding_values): Add prototype.
4528
45292000-05-05  Bruno Haible  <haible@clisp.cons.org>
4530
4531	* dcigettext.c (alignof): New macro.
4532	(_nl_find_msg): Use it instead of __alignof__. Pass correct output
4533	buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4534	freemem_size to 0.
4535
45362000-05-05  Bruno Haible  <haible@clisp.cons.org>
4537
4538	* dcigettext.c (dcigettext): Fix interpretation of tsearch
4539	return value.
4540
45412000-05-06  Ulrich Drepper  <drepper@redhat.com>
4542
4543	* dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4544	(mempcpy): Correct typo in parameter list.
4545
4546	* hash-string.h: Don't include <values.h>.
4547
4548	* *.c, *.h, *.y: Update from glibc version.
4549
45501998-04-29  Paul Eggert  <eggert@twinsun.com>
4551
4552	* Makefile.in (aliaspath): Don't put `.' at the end.
4553
45541998-06-01  Ulrich Drepper  <drepper@cygnus.com>
4555
4556	* localealias.c (read_alias_file): Undo last change.
4557	* l10nflist.c (_nl_normalize_codeset): Likewise.
4558	* loadinfo.h: Likewise.
4559
45601998-05-23  Ulrich Drepper  <drepper@cygnus.com>
4561
4562	* dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined.
4563
45641998-05-01 08:47  Ulrich Drepper  <drepper@cygnus.com>
4565
4566	* gettext-0.10.35 released.
4567
45681998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4569
4570	* intl/localealias.c (read_alias_file): Use unsigned char for
4571	local variables.  Remove unused variable tp.
4572	* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4573	for type of codeset.  For losing Solaris systems.
4574	* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4575	* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4576	len if not needed.
4577	Patches by Jim Meyering.
4578
45791998-04-28  Ulrich Drepper  <drepper@cygnus.com>
4580
4581	* loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
4582	mmap is not supported.
4583
4584	* hash-string.h: Don't include <values.h>.
4585
45861998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4587
4588	* textdomain.c: Use strdup is available.
4589
4590	* localealias.c: Define HAVE_MEMPCPY so that we can use this
4591	function.  Define and use semapahores to protect modfication of
4592	global objects when compiling for glibc.  Add code to allow
4593	freeing alias table.
4594
4595	* l10nflist.c: Don't assume stpcpy not being a macro.
4596
4597	* gettextP.h: Define internal_function macri if not already done.
4598	Use glibc byte-swap macros instead of defining SWAP when compiled
4599	for glibc.
4600	(struct loaded_domain): Add elements to allow unloading.
4601
4602	* Makefile.in (distclean): Don't remove libintl.h here.
4603
4604	* bindtextdomain.c: Carry over changes from glibc.  Use strdup if
4605	available.
4606
4607	* dcgettext.c: Don't assume stpcpy not being a macro.  Mark internal
4608	functions.  Add memory freeing code for glibc.
4609
4610	* dgettext.c: Update copyright.
4611
4612	* explodename.c: Include stdlib.h and string.h only if they exist.
4613	Use strings.h eventually.
4614
4615	* finddomain.c: Mark internal functions.  Use strdup if available.
4616	Add memory freeing code for glibc.
4617
46181997-10-10 20:00  Ulrich Drepper  <drepper@cygnus.com>
4619
4620	* libgettext.h: Fix dummy textdomain and bindtextdomain macros.
4621	They should return reasonable values.
4622	Reported by Tom Tromey <tromey@cygnus.com>.
4623
46241997-09-16 03:33  Ulrich Drepper  <drepper@cygnus.com>
4625
4626	* libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
4627	* intlh.inst.in: Likewise.
4628	Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
4629
4630	* libintl.glibc: Update from current glibc version.
4631
46321997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
4633
4634	* intlh.inst.in: Reformat copyright.
4635
46361997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
4637
4638	* dcgettext.c (DCGETTEXT): Remove wrong comment.
4639
46401997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
4641
4642	* Makefile.in (install-data): Don't change directory to install.
4643
46441997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
4645
4646	* cat-compat.c: Fix copyright.
4647
4648	* localealias.c: Don't define strchr unless !HAVE_STRCHR.
4649
4650	* loadmsgcat.c: Update copyright.  Fix typos.
4651
4652	* l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
4653	(_nl_make_l10nflist): Handle sponsor and revision correctly.
4654
4655	* gettext.c: Update copyright.
4656	* gettext.h: Likewise.
4657	* hash-string.h: Likewise.
4658
4659	* finddomain.c: Remoave dead code.  Define strchr only if
4660	!HAVE_STRCHR.
4661
4662	* explodename.c: Include <sys/types.h>.
4663
4664	* explodename.c: Reformat copyright text.
4665	(_nl_explode_name): Fix typo.
4666
4667	* dcgettext.c: Define and use __set_errno.
4668	(guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
4669	not defined.
4670
4671	* bindtextdom.c: Pretty printing.
4672
46731997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
4674
4675	* dcgettext.c (guess_category_value): Don't depend on
4676	HAVE_LC_MESSAGES.  We don't need the macro here.
4677	Patch by Bruno Haible <haible@ilog.fr>.
4678
4679	* cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
4680	macro.  Instead use HAVE_LOCALE_NULL and define it when using
4681	glibc, as in dcgettext.c.
4682	Patch by Bruno Haible <haible@ilog.fr>.
4683
4684	* Makefile.in (CPPFLAGS): New variable.  Reported by François
4685	Pinard.
4686
4687Mon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
4688
4689	* Makefile.in: Implement handling of libtool.
4690
4691	* gettextP.h: Change data structures for use of generic lowlevel
4692	i18n file handling.
4693
4694Wed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
4695
4696	* textdomain.c: Put parentheses around arguments of memcpy macro
4697	definition.
4698	* localealias.c: Likewise.
4699	* l10nflist.c: Likewise.
4700	* finddomain.c: Likewise.
4701	* bindtextdom.c: Likewise.
4702	Reported by Thomas Esken.
4703
4704Mon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
4705
4706	* textdomain.c: Move definition of `memcpy` macro to right
4707	position.
4708
4709Fri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
4710
4711	* finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
4712 	bcopy if not already defined.  Reported by Thomas Esken.
4713	* bindtextdom.c: Likewise.
4714	* l10nflist.c: Likewise.
4715	* localealias.c: Likewise.
4716	* textdomain.c: Likewise.
4717
4718Tue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
4719
4720	* Makefile.in (libdir): Change to use exec_prefix instead of
4721 	prefix.  Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>.
4722
4723Sat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
4724
4725	* l10nflist.c (_nl_normalize_codeset): We convert to lower case,
4726	so don't prepend uppercase `ISO' for only numeric arg.
4727
4728Fri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
4729
4730	* l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
4731	definition of _GNU_SOURCE.  Patch by Roland McGrath.
4732
4733	* Makefile.in (uninstall): Fix another bug with `for' loop and
4734	empty arguments.  Patch by Jim Meyering.  Correct name os
4735	uninstalled files: no intl- prefix anymore.
4736
4737	* Makefile.in (install-data): Again work around shells which
4738	cannot handle mpty for list.  Reported by Jim Meyering.
4739
4740Sat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
4741
4742	* Makefile.in (install): Split goal.  Now depend on install-exec
4743        and install-data.
4744	(install-exec, install-data): New goals.  Created from former
4745	install goal.
4746	Reported by Karl Berry.
4747
4748Sat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
4749
4750	* Makefile.in (MKINSTALLDIRS): New variable.  Path to
4751        mkinstalldirs script.
4752	(install): use MKINSTALLDIRS variable or if the script is not present
4753	try to find it in the $top_scrdir).
4754
4755Wed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
4756
4757	* l10nflist.c: Linux libc *partly* includes the argz_* functions.
4758	Grr.  Work around by renaming the static version and use macros
4759	for renaming.
4760
4761Tue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
4762
4763	* l10nflist.c: Correct presence test macros of __argz_* functions.
4764
4765	* l10nflist.c: Include <argz.h> based on test of it instead when
4766	__argz_* functions are available.
4767	Reported by Andreas Schwab.
4768
4769Thu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
4770
4771	* explodename.c, l10nflist.c: Define NULL for dumb systems.
4772
4773Tue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
4774
4775	* intlh.inst.in, libgettext.h (dcgettext): Rename local variable
4776	result to __result to prevent name clash.
4777
4778	* l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
4779        get prototype for stpcpy and strcasecmp.
4780
4781	* intlh.inst.in, libgettext.h: Move declaration of
4782	`_nl_msg_cat_cntr' outside __extension__ block to prevent warning
4783	from gcc's -Wnested-extern option.
4784
4785Fri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
4786
4787	* Makefile.in (install): Remove comment.
4788
4789Thu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
4790
4791	* Makefile.in (install): Work around for another Buglix stupidity.
4792	Always use an `else' close for `if's.  Reported by Nelson Beebe.
4793
4794	* Makefile.in (intlh.inst): Correct typo in phony rule.
4795	Reported by Nelson Beebe.
4796
4797Thu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
4798
4799	* dcgettext.c (read_alias_file): Rename variable alloca_list to
4800	block_list as the macro calls assume.
4801	Patch by Eric Backus.
4802
4803	* localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
4804        malloc.
4805	(read_alias_file): Rename varriabe alloca_list to block_list as the
4806	macro calls assume.
4807	Patch by Eric Backus.
4808
4809	* l10nflist.c: Correct conditional for <argz.h> inclusion.
4810	Reported by Roland McGrath.
4811
4812	* Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
4813        all-@USE_NLS@.
4814
4815	* Makefile.in (install): intlh.inst comes from local dir, not
4816        $(srcdir).
4817
4818	* Makefile.in (intlh.inst): Special handling of this goal.  If
4819	used in gettext, this is really a rul to construct this file.  If
4820	used in any other package it is defined as a .PHONY rule with
4821	empty body.
4822
4823	* finddomain.c: Extract locale file information handling into
4824	l10nfile.c.  Rename local stpcpy__ function to stpcpy.
4825
4826	* dcgettext.c (stpcpy): Add local definition.
4827
4828	* l10nflist.c: Solve some portability problems.  Patches partly by
4829	Thomas Esken.  Add local definition of stpcpy.
4830
4831Tue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
4832
4833	* intlh.inst.in: Don't depend including <locale.h> on
4834	HAVE_LOCALE_H.  Instead configure must rewrite this fiile
4835	depending on the result of the configure run.
4836
4837	* Makefile.in (install): libintl.inst is now called intlh.inst.
4838	Add rules for updating intlh.inst from intlh.inst.in.
4839
4840	* libintl.inst: Renamed to intlh.inst.in.
4841
4842	* localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
4843        because gcc has __buitlin_alloca.
4844	Reported by Roland McGrath.
4845
4846Mon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
4847
4848	* Makefile.in (installcheck): New goal to fulfill needs of
4849        automake's distcheck.
4850
4851	* Makefile.in (install): Reorder commands so that VERSION is
4852        found.
4853
4854	* Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
4855        @datadir@/gettext.
4856	(COMSRCS): Add l10nfile.c.
4857	(OBJECTS): Add l10nfile.o.
4858	(DISTFILES): Rename to DISTFILE.normal.  Remove $(DISTFILES.common).
4859	(DISTFILE.gettext): Remove $(DISTFILES.common).
4860	(all-gettext): Remove goal.
4861	(install): If $(PACKAGE) = gettext install, otherwose do nothing.  No
4862	package but gettext itself should install libintl.h + headers.
4863	(dist): Extend goal to work for gettext, too.
4864	(dist-gettext): Remove goal.
4865
4866	* dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
4867
4868Sun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
4869
4870	* loadmsgcat.c (_nl_load_domain): Parameter is now comes from
4871        find_l10nfile.
4872
4873Sat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
4874
4875	* l10nflist.c (__argz_next): Add definition.
4876
4877	* dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
4878	code.  Use new l10nfile handling.
4879
4880	* localealias.c [!HAVE_ALLOCA]: Add code for handling missing
4881        alloca code.
4882
4883	* l10nflist.c: Initial revision.
4884
4885Tue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
4886
4887	* Makefile.in (all-gettext): New goal.  Same as all-yes.
4888
4889Thu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
4890
4891	* Makefile.in (gettextsrcdir): Define using @datadir@.
4892
4893Tue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
4894
4895	* finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
4896
4897Sat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
4898
4899	* finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
4900        with external declaration.
4901
4902Sat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
4903
4904	* Makefile.in (all-no): Rename from all_no.
4905
4906Sat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
4907
4908	* gettextP.h [loaded_domain]: Array `successor' must now contain up
4909        to 63 elements (because of codeset name normalization).
4910
4911	* finddomain.c: Implement codeset name normalization.
4912
4913Thu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
4914
4915	* Makefile.in (all): Define to `all-@USE_NLS@'.
4916	(all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
4917	is former all.
4918
4919Mon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
4920
4921	* localealias.c (alias_compare): Increment string pointers in loop
4922        of strcasecmp replacement.
4923
4924Fri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
4925
4926	* Makefile.in (install-src): Who commented this goal out ? :-)
4927
4928Fri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
4929
4930	* dcgettext.c (DCGETTEXT): Save `errno'.  Failing system calls
4931	should not effect it because a missing catalog is no error.
4932	Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
4933
4934Tue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
4935
4936	* Makefile.in (Makefile): Explicitly use $(SHELL) for running
4937        shell scripts.
4938
4939Fri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4940
4941	* Makefile.in (install-src): Only install library and header when
4942	we use the own implementation.  Don't do it when using the
4943	system's gettext or catgets functions.
4944
4945	* dcgettext.c (find_msg): Must not swap domain->hash_size here.
4946
4947Sat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
4948
4949	* localealias.c, libintl.inst, libgettext.h, hash-string.h,
4950	gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
4951	Use PARAMS instead of __P.  Suggested by Roland McGrath.
4952
4953Tue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
4954
4955	* libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
4956	!_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
4957
4958Mon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
4959
4960	* Makefile.in (install-src):
4961	Install libintl.inst instead of libintl.h.install.
4962
4963Sat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
4964
4965	* cat-compat.c (textdomain):
4966	Reverse order in which files are tried you load.  First
4967	try local file, when this failed absolute path.
4968
4969Wed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
4970
4971	* cat-compat.c (bindtextdomain): Add missing { }.
4972
4973Sun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
4974
4975	* libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
4976
4977	* Makefile.in:
4978	Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
4979
4980Sat Nov 25 16:12:01 1995  François Pinard  <pinard@iro.umontreal.ca>
4981
4982	* hash-string.h: Capitalize arguments of macros.
4983
4984Sat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
4985
4986	* Makefile.in (DISTFILES): Prevent files names longer than 13
4987	characters.  libintl.h.glibc->libintl.glibc,
4988	libintl.h.install->libintl.inst.  Reported by Joshua R. Poulson.
4989
4990Sat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
4991
4992	* dcgettext.c: Fix bug in preprocessor conditionals.
4993
4994Sat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
4995
4996	* libgettext.h: Solaris cc does not understand
4997	 #if !SYMBOL1 && !SYMBOL2.  Sad	but true.
4998
4999Thu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
5000
5001	* hash-string.h (hash_string):
5002	Fix for machine with >32 bit `unsigned long's.
5003
5004	* dcgettext.c (DCGETTEXT):
5005	Fix horrible bug in loop for alternative translation.
5006
5007Thu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
5008
5009	* po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
5010	Some further simplifications in message number generation.
5011
5012Mon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
5013
5014	* libintl.h.glibc: Use __const instead of const in prototypes.
5015
5016	* Makefile.in (install-src):
5017	Install libintl.h.install instead of libintl.h.  This
5018	is a stripped-down version.  Suggested by Peter Miller.
5019
5020	* libintl.h.install, libintl.h.glibc: Initial revision.
5021
5022	* localealias.c (_nl_expand_alias, read_alias_file):
5023	Protect prototypes in type casts by __P.
5024
5025Tue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
5026
5027	* hash-string.h: Correct prototype for hash_string.
5028
5029Sun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
5030
5031	* hash-string.h (hash_string): Add prototype.
5032
5033	* gettextP.h: Fix copyright.
5034	(SWAP): Add prototype.
5035
5036Wed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
5037
5038	* localealias.c (read_alias_file): Forgot sizeof.
5039	Avoid calling *printf function.  This introduces a big overhead.
5040	Patch by Roland McGrath.
5041
5042Tue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
5043
5044	* finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
5045
5046	* finddomain.c (stpcpy):
5047	Define substitution function local.  The macro was to flaky.
5048
5049	* cat-compat.c: Fix typo.
5050
5051	* xopen-msg.sed, linux-msg.sed:
5052	While bringing message number to right place only accept digits.
5053
5054	* linux-msg.sed, xopen-msg.sed: Now that the counter does not have
5055	leading 0s we don't need to remove them.  Reported by Marcus
5056	Daniels.
5057
5058	* Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
5059	dependency.  Reported by Marcus Daniels.
5060
5061	* cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
5062	Generally cleanup using #if instead of #ifndef.
5063
5064	* Makefile.in: Correct typos in comment.  By François Pinard.
5065
5066Mon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
5067
5068	* Makefile.in (install-src): Don't install libintl.h and libintl.a
5069	if we use an available gettext implementation.
5070
5071Sun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
5072
5073	* libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
5074	by François Pinard.
5075
5076	* libgettext.h: Use #if instead of #ifdef/#ifndef.
5077
5078	* finddomain.c:
5079	Comments describing what has to be done should start with FIXME.
5080
5081Sun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
5082
5083	* Makefile.in (DISTFILES): Split.  Use DISTFILES with normal meaning.
5084	DISTFILES.common names the files common to both dist goals.
5085	DISTFILES.gettext are the files only distributed in GNU gettext.
5086
5087Sun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
5088
5089	* dcgettext.c (DCGETTEXT): Correct searching in derived locales.
5090	This was necessary since a change in _nl_find_msg several weeks
5091	ago.  I really don't know this is still not fixed.
5092
5093Sun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
5094
5095	* loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
5096	might mark a special condition.
5097
5098	* finddomain.c (make_entry_rec): Don't make illegal entry as decided.
5099
5100	* Makefile.in (dist): Suppress error message when ln failed.
5101	Get files from $(srcdir) explicitly.
5102
5103	* libgettext.h (gettext_const): Rename to gettext_noop.
5104
5105Fri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
5106
5107	* finddomain.c (make_entry_rec):
5108	Protect against wrong locale names by testing mask.
5109
5110	* libgettext.h (gettext_const): Add macro definition.
5111	Capitalize macro arguments.
5112
5113Thu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
5114
5115	* finddomain.c (_nl_find_domain):
5116	Test for pointer != NULL before accessing value.
5117	Reported by Tom Tromey.
5118
5119	* gettext.c (NULL):
5120	Define as (void*)0 instad of 0.  Reported by François Pinard.
5121
5122Mon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
5123
5124	* po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
5125
5126Sat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
5127
5128	* libgettext.h: Disable dcgettext optimization for Solaris 2.3.
5129
5130	* localealias.c (alias_compare):
5131	Peter Miller reported that tolower in some systems is
5132	even dumber than I thought.  Protect call by `isupper'.
5133
5134Fri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
5135
5136	* Makefile.in (libdir, includedir): New variables.
5137	(install-src): Install libintl.a and libintl.h in correct dirs.
5138
5139Fri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
5140
5141	* Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
5142
5143	* po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
5144
5145	* localealias.c:
5146	Fix typo and superflous test.  Reported by Christian von Roques.
5147
5148Fri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
5149
5150	* finddomain.c (_nl_find_domain):
5151	Correct some remainder from the pre-CEN syntax.  Now
5152	we don't have a constant number of successors anymore.
5153
5154Wed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
5155
5156	* Makefile.in (DISTFILES): Add libintl.h.glibc.
5157
5158	* Makefile.in (dist-libc): Add goal for packing sources for glibc.
5159	(COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
5160
5161	* loadmsgcat.c: Forget to continue #if line.
5162
5163	* localealias.c:
5164	[_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
5165	space clean.
5166
5167	* dcgettext.c, finddomain.c: Better comment to last change.
5168
5169	* loadmsgcat.c:
5170	[_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
5171	__fstat, __open, __close, __read, __mmap, and __munmap resp
5172	to keep ANSI C name space clean.
5173
5174	* finddomain.c:
5175	[_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
5176
5177	* dcgettext.c:
5178	[_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
5179	keep ANSI C name space clean.
5180
5181	* libgettext.h:
5182	Include sys/types.h for those old SysV systems out there.
5183	Reported by Francesco Potorti`.
5184
5185	* loadmsgcat.c (use_mmap): Define if compiled for glibc.
5186
5187	* bindtextdom.c: Include all those standard headers
5188	unconditionally if _LIBC is defined.
5189
5190	* finddomain.c: Fix 2 times defiend -> defined.
5191
5192	* textdomain.c: Include libintl.h instead of libgettext.h when
5193	compiling for glibc.  Include all those standard headers
5194	unconditionally if _LIBC is defined.
5195
5196	* localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
5197
5198	* gettext.c:
5199	Include libintl.h instead of libgettext.h when compiling for glibc.
5200	Get NULL from stddef.h if we compile for glibc.
5201
5202	* finddomain.c: Include libintl.h instead of libgettext.h when
5203	compiling for glibc.  Include all those standard headers
5204	unconditionally if _LIBC is defined.
5205
5206	* dcgettext.c: Include all those standard headers unconditionally
5207	if _LIBC is defined.
5208
5209	* dgettext.c: If compiled in glibc include libintl.h instead of
5210	libgettext.h.
5211	(locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
5212
5213	* dcgettext.c: If compiled in glibc include libintl.h instead of
5214	libgettext.h.
5215	(getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
5216
5217	* bindtextdom.c:
5218	If compiled in glibc include libintl.h instead of libgettext.h.
5219
5220Mon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
5221
5222	* localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
5223	Reported by Marcus Daniels.
5224
5225	* cat-compat.c (bindtextdomain):
5226	String used in putenv must not be recycled.
5227	Reported by Marcus Daniels.
5228
5229	* libgettext.h (__USE_GNU_GETTEXT):
5230	Additional symbol to signal that we use GNU gettext
5231	library.
5232
5233	* cat-compat.c (bindtextdomain):
5234	Fix bug with the strange stpcpy replacement.
5235	Reported by Nelson Beebe.
5236
5237Sat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
5238
5239	* cat-compat.c: Include <string.h> for stpcpy prototype.
5240
5241	* localealias.c (read_alias_file):
5242	While expand strdup code temporary variable `cp' hided
5243	higher level variable with same name.  Rename to `tp'.
5244
5245	* textdomain.c (textdomain):
5246	Avoid warning by using temporary variable in strdup code.
5247
5248	* finddomain.c (_nl_find_domain): Remove unused variable `application'.
5249
5250Thu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
5251
5252	* localealias.c (alias_compare):
5253	Use strcasecmp() only if available.  Else use
5254	implementation in place.
5255
5256	* intl-compat.c:
5257	Wrapper functions now call *__ functions instead of __*.
5258
5259	* libgettext.h: Declare prototypes for *__ functions instead for __*.
5260
5261	* cat-compat.c, loadmsgcat.c:
5262	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
5263	of the standard libc and so prevent libintl.a from being used
5264	standalone.
5265
5266	* bindtextdom.c:
5267	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
5268	of the standard libc and so prevent libintl.a from being used
5269	standalone.
5270	Rename to bindtextdomain__ if not used in GNU C Library.
5271
5272	* dgettext.c:
5273	Rename function to dgettext__ if not used in GNU C Library.
5274
5275	* gettext.c:
5276	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
5277	of the standard libc and so prevent libintl.a from being used
5278	standalone.
5279	Functions now called gettext__ if not used in GNU C Library.
5280
5281	* dcgettext.c, localealias.c, textdomain.c, finddomain.c:
5282	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
5283	of the standard libc and so prevent libintl.a from being used
5284	standalone.
5285
5286Sun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
5287
5288	* finddomain.c: Correct some bugs in handling of CEN standard
5289 	locale definitions.
5290
5291Thu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
5292
5293	* finddomain.c: Implement CEN syntax.
5294
5295	* gettextP.h (loaded_domain): Extend number of successors to 31.
5296
5297Sat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
5298
5299	* Makefile.in (aliaspath): Remove path to X11 locale dir.
5300
5301	* Makefile.in: Make install-src depend on install.  This helps
5302 	gettext to install the sources and other packages can use the
5303 	install goal.
5304
5305Sat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
5306
5307	* Makefile.in (uninstall): Remove stuff installed by install-src.
5308
5309Tue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
5310
5311	* VERSION.in: Initial revision.
5312
5313	* Makefile.in (DISTFILES):
5314	Add VERSION file.  This is not necessary for gettext, but
5315	for other packages using this library.
5316
5317Tue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
5318
5319	* gettextP.h (_nl_find_domain):
5320	New prototype after changing search strategy.
5321
5322	* finddomain.c (_nl_find_domain):
5323	We now try only to find a specified catalog.  Fall back to other
5324	catalogs listed in the locale list is now done in __dcgettext.
5325
5326	* dcgettext.c (__dcgettext):
5327	Now we provide message fall back even to different languages.
5328	I.e. if a message is not available in one language all the other
5329 	in the locale list a tried.  Formerly fall back was only possible
5330 	within one language.  Implemented by moving one loop from
5331 	_nl_find_domain to here.
5332
5333Mon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
5334
5335	* Makefile.in (gettextsrcdir):
5336	Directory where source of GNU gettext library are made
5337	available.
5338	(INSTALL, INSTALL_DATA): Programs used for installing sources.
5339	(gettext-src): New.  Rule to install GNU gettext sources for use in
5340	gettextize shell script.
5341
5342Sun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
5343
5344	* loadmsgcat.c (_nl_load_domain):
5345	Use mmap for loading only when munmap function is
5346	also available.
5347
5348	* Makefile.in (install): Depend on `all' goal.
5349
5350Wed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
5351
5352	* localealias.c (read_alias_file):
5353	Do not overwrite '\n' when terminating alias value string.
5354
5355	* localealias.c (read_alias_file):
5356	Handle long lines.  Ignore the rest not fitting in
5357	the buffer after the initial `fgets' call.
5358
5359Wed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
5360
5361	* gettextP.h (_nl_load_domain):
5362	Add prototype, replacing prototype for _nl_load_msg_cat.
5363
5364	* finddomain.c (_nl_find_domain):
5365	Remove unneeded variable filename and filename_len.
5366	(expand_alias): Remove prototype because functions does not
5367 	exist anymore.
5368
5369	* localealias.c (read_alias_file):
5370	Change type of fname_len parameter to int.
5371	(xmalloc): Add prototype.
5372
5373	* loadmsgcat.c: Better prototypes for xmalloc.
5374
5375Tue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
5376
5377	* finddomain.c (_nl_find_domain):
5378	Allow alias name to be constructed from the four components.
5379
5380	* Makefile.in (aliaspath): New variable.  Set to preliminary value.
5381	(SOURCES): Add localealias.c.
5382	(OBJECTS): Add localealias.o.
5383
5384	* gettextP.h: Add prototype for _nl_expand_alias.
5385
5386	* finddomain.c: Aliasing handled in intl/localealias.c.
5387
5388	* localealias.c: Aliasing for locale names.
5389
5390	* bindtextdom.c: Better prototypes for xmalloc and xstrdup.
5391
5392Mon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
5393
5394	* Makefile.in (DISTFILES): gettext.perl is now found in misc/.
5395
5396	* cat-compat.c (bindtextdomain):
5397	Correct implementation.  dirname parameter was not used.
5398	Reported by Marcus Daniels.
5399
5400	* gettextP.h (loaded_domain):
5401	New fields `successor' and `decided' for oo, lazy
5402	message handling implementation.
5403
5404	* dcgettext.c:
5405	Adopt for oo, lazy message handliing.
5406  	Now we can inherit translations from less specific locales.
5407	(find_msg): New function.
5408
5409	* loadmsgcat.c, finddomain.c:
5410	Complete rewrite.  Implement oo, lazy message handling :-).
5411  	We now have an additional environment variable `LANGUAGE' with
5412 	a higher priority than LC_ALL for the LC_MESSAGE locale.
5413  	Here we can set a colon separated list of specifications each
5414 	of the form `language[_territory[.codeset]][@modifier]'.
5415
5416Sat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
5417
5418	* finddomain.c (unistd.h):
5419	Include to get _PC_PATH_MAX defined on system having it.
5420
5421Fri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
5422
5423	* finddomain.c (stpcpy): Include prototype.
5424
5425	* Makefile.in (dist): Remove `copying instead' message.
5426
5427Wed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
5428
5429	* Makefile.in (ID, TAGS): Do not use $^.
5430
5431Tue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
5432
5433	* Makefile.in (TAGS, ID): Use $^ as command argument.
5434	(TAGS): Give etags -o option t write to current directory,
5435 	not $(srcdir).
5436	(ID): Use $(srcdir) instead os $(top_srcdir)/src.
5437	(distclean): Remove ID.
5438
5439Sun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
5440
5441	* Makefile.in (gnulocaledir):
5442	New variable, always using share/ for data directory.
5443	(DEFS): Add GNULOCALEDIR, used in finddomain.c.
5444
5445	* finddomain.c (_nl_default_dirname):
5446	Set to GNULOCALEDIR, because it always has to point
5447	to the directory where GNU gettext Library writes it to.
5448
5449	* intl-compat.c (textdomain, bindtextdomain):
5450	Undefine macros before function definition.
5451
5452Sat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
5453
5454	* libgettext.h (_LIBINTL_H):
5455	Protect definition in case where this file is included as
5456	libgettext.h on Solaris machines.  Add comment about this.
5457
5458Wed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
5459
5460	* intl-compat.c (textdomain): Correct typo.
5461
5462Wed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
5463
5464	* dcgettext.c (dcgettext): Function now called __dcgettext.
5465
5466	* dgettext.c (dgettext): Now called __dgettext and calls
5467 	__dcgettext.
5468
5469	* gettext.c (gettext):
5470	Function now called __gettext and calls __dgettext.
5471
5472	* textdomain.c (textdomain): Function now called __textdomain.
5473
5474	* bindtextdom.c (bindtextdomain): Function now called
5475 	__bindtextdomain.
5476
5477	* intl-compat.c: Initial revision.
5478
5479	* Makefile.in (SOURCES): Add intl-compat.c.
5480	(OBJECTS): We always compile the GNU gettext library functions.
5481  	OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
5482 	and intl-compat.o.
5483  	(GETTOBJS): Contains now only intl-compat.o.
5484
5485	* libgettext.h:
5486	Re-include protection matches dualistic character of libgettext.h.
5487	For all functions in GNU gettext library define __ counter part.
5488
5489	* finddomain.c (strchr): Define as index if not found in C library.
5490	(_nl_find_domain): For relative paths paste / in between.
5491
5492Tue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
5493
5494	* loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
5495
5496	* xopen-msg.sed: Fix bug with `msgstr ""' lines.
5497	A little bit better comments.
5498
5499Tue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
5500
5501	* Makefile.in:
5502	po-mode.el, makelinks, combine-sh are now found in ../misc.
5503
5504	* po-mode.el, makelinks, combine-sh, elisp-comp:
5505	Moved to ../misc/.
5506
5507	* libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
5508
5509Sun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
5510
5511	* Makefile.in (INSTALL, INSTALL_DATA): New variables.
5512	(install-data, uninstall): Install/uninstall .elc file.
5513
5514	* po-mode.el (Installation comment):
5515	Add .pox as possible extension of .po files.
5516
5517Sun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
5518
5519	* elisp-comp: Complete new version by François: This does not
5520 	fail when not compiling in the source directory.
5521
5522Sun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
5523
5524	* Makefile.in (../po/cat-id-tbl.o):
5525	Use $(MAKE) instead of make for recursive make.
5526
5527	* Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
5528	(install-exec): Add missing dummy goal.
5529	(install-data, uninstall): @ in multi-line shell command at
5530 	beginning, not in front of echo.  Reported by Eric Backus.
5531
5532Sat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
5533
5534	* Makefile.in (DISTFILES):
5535	Rename libgettext.perl to gettext.perl to fit in 14 chars
5536	file systems.
5537
5538	* gettext.perl:
5539 	Rename to gettext.perl to fit in 14 chars file systems.
5540
5541Thu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
5542
5543	* cat-compat.c: If !STDC_HEADERS try to include malloc.h.
5544
5545Thu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
5546
5547	* po2tbl.sed.in: Pretty printing.
5548
5549	* linux-msg.sed, xopen-msg.sed:
5550	Correct bugs with handling substitute flags in branches.
5551
5552	* hash-string.h (hash_string):
5553	Old K&R compilers don't under stand `unsigned char'.
5554
5555	* gettext.h (nls_uint32):
5556	Some old K&R compilers (eg HP) don't understand `unsigned int'.
5557
5558	* cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
5559
5560Thu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
5561
5562	* Makefile.in (ELCFILES): New variable.
5563	(DISTFILES): Add elisp-comp.
5564	Add implicit rule for .el -> .elc compilation.
5565	(install-data): install $ELCFILES
5566	(clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
5567
5568	* elisp-comp: Initial revision
5569
5570Wed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
5571
5572	* Makefile.in:
5573	cat-id-tbl.c is now found in po/.  This enables us to use an identical
5574	intl/ directory in all packages.
5575
5576	* dcgettext.c (dcgettext): hashing does not work for table size <= 2.
5577
5578	* textdomain.c: fix typo (#if def -> #if defined)
5579
5580Tue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
5581
5582	* Makefile.in (stamp-cat-id): use top_srcdir to address source files
5583	(DISTFILES,distclean): move tupdate.perl to src/
5584
5585	* po-to-tbl.sed.in:
5586	add additional jump to clear change flag to recognize multiline strings
5587
5588Tue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
5589
5590	* textdomain.c: Protect inclusion of stdlib.h and string.h.
5591
5592	* loadmsgcat.c: Protect inclusion of stdlib.h.
5593
5594	* libgettext.h: Protect inclusion of locale.h.
5595	Allow use in C++ programs.
5596	Define NULL is not happened already.
5597
5598	* Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
5599	po-to-tbl.sed.
5600	(distclean): remove po-to-tbl.sed and tupdate.perl.
5601
5602	* tupdate.perl.in: Substitute Perl path even in exec line.
5603	Don't include entries without translation from old .po file.
5604
5605Tue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
5606
5607	* tupdate.perl.in: use "Updated: " in msgid "".
5608
5609	* cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
5610 	Define getenv if !__STDC__.
5611
5612	* bindtextdom.c: Protect stdlib.h and string.h inclusion.
5613 	Define free if !__STDC__.
5614
5615	* finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
5616 	Define free if !__STDC__.
5617
5618	* cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
5619
5620Mon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
5621
5622	* Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
5623	Remove unneeded $(srcdir) from Makefile.in dependency.
5624
5625	* makelinks: Add copyright and short description.
5626
5627	* po-mode.el: Last version for 0.7.
5628
5629	* tupdate.perl.in: Fix die message.
5630
5631	* dcgettext.c: Protect include of string.h.
5632
5633	* gettext.c: Protect include of stdlib.h and further tries to get NULL.
5634
5635	* finddomain.c: Some corrections in includes.
5636
5637	* Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
5638
5639	* po-to-tbl.sed: Adopt for new .po file format.
5640
5641	* linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
5642
5643Sun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
5644
5645	* tupdate.perl.in: Complete rewrite for new .po file format.
5646
5647Sun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
5648
5649	* First official release.  This directory contains all the code
5650	needed to internationalize own packages.  It provides functions
5651	which allow to use the X/Open catgets function with an interface
5652	like the Uniforum gettext function.  For system which does not
5653	have neither of those a complete implementation is provided.
5654