Imported Upstream version 0.18.3.2
[platform/upstream/gettext.git] / gnulib-local / lib / ChangeLog.0
1 2003-01-12  Bruno Haible  <bruno@clisp.org>
2
3         * linebreak.c (mbs_possible_linebreaks): Return immediately if n = 0.
4         (mbs_width_linebreaks): Likewise.
5
6 2003-01-12  Bruno Haible  <bruno@clisp.org>
7
8         * mkdtemp.c: Use the simpler macro names HAVE_STDINT_H,
9         HAVE_INTTYPES_H. (Including <stdint.h> or <inttypes.h> even when not
10         necessary doesn't hurt.)
11
12 2002-12-11  Bruno Haible  <bruno@clisp.org>
13
14         * setenv.c (alloca): Fall back to malloc.
15         (freea): New macro.
16         (setenv): Use freea() to free memory allocated with alloca().
17
18 2003-01-12  Bruno Haible  <bruno@clisp.org>
19
20         * classpath.h: New file.
21         * classpath.c: Turn into an independent source file.
22         (new_classpath, set_classpath, reset_classpath): Make non-static.
23         * javacomp.c: Include classpath.h instead of classpath.c.
24         * javaexec.c: Likewise.
25         * Makefile.am (libgettextlib_la_SOURCES): Add classpath.h, classpath.c.
26         (EXTRA_DIST): Remove classpath.c.
27
28 2003-01-12  Bruno Haible  <bruno@clisp.org>
29
30         * localcharset.h: New file.
31         * localcharset.c: Include it.
32         * Makefile.am (libgettextlib_la_SOURCES): Add localcharset.h.
33
34 2003-01-12  Bruno Haible  <bruno@clisp.org>
35
36         * alloca_.h: New file, from gnulib.
37         * liballoca.h: Remove file.
38         * Makefile.am: Add snippet from gnulib module alloca.
39         (LIBADD_SOURCE): Remove liballoca.h.
40         * javacomp.c: Include alloca.h instead of liballoca.h.
41         * javaexec.c: Likewise.
42         * setenv.c: Likewise.
43
44 2003-01-12  Bruno Haible  <bruno@clisp.org>
45
46         * Makefile.am: Make use of += for variables.
47         (install-exec-local): Avoid creating $(libdir) if it would be empty.
48
49 2003-01-12  Bruno Haible  <bruno@clisp.org>
50
51         * linebreak.c (iconv_string_keeping_offsets): Add an assertion, to
52         protect against Solaris 2.9 iconv() bug.
53
54 2003-01-10  Bruno Haible  <bruno@clisp.org>
55
56         * linebreak.c (mbs_possible_linebreaks, mbs_width_linebreaks):
57         Work around Solaris 2.9 iconv() bug.
58
59 2003-01-08  Bruno Haible  <bruno@clisp.org>
60
61         * safe-read.h: Update from current gnulib version.
62         * safe-read.c: Update from current gnulib version.
63         * safe-write.h: Update from current gnulib version.
64         * safe-write.c: Update from current gnulib version.
65         * full-write.h: Update from current gnulib version.
66         * full-write.c: Update from current gnulib version.
67
68 2002-12-16  Bruno Haible  <bruno@clisp.org>
69
70         * copy-file.c: Include <sys/utime.h> if <utime.h> doesn't exist.
71         Needed for mingw32.
72         Reported by Steven Edwards <Steven_Ed4153@yahoo.com>.
73
74 2002-11-22  Bruno Haible  <bruno@clisp.org>
75
76         * safe-write.h: New file, from current gnulib version.
77         * safe-write.c: New file, from current gnulib version.
78         * full-write.h: Update from current gnulib version.
79         * full-write.c: Update from current gnulib version.
80         * copy-file.c (copy_file): Change test of full_write return value.
81         * Makefile.am (libgettextlib_la_SOURCES): Add safe-write.h,
82         safe-write.c.
83
84         * safe-read.h: Update from current gnulib version.
85         * safe-read.c: Update from current gnulib version.
86
87         * argmatch.h: Update from current gnulib version.
88         * argmatch.c: Update from current gnulib version, with simplifications.
89
90 2002-11-19  Bruno Haible  <bruno@clisp.org>
91
92         * pathmax.h: Update from current gnulib version.
93         * obstack.h: Update from current gnulib version.
94         * obstack.c: Update from current gnulib version.
95
96 2002-11-06  Bruno Haible  <bruno@clisp.org>
97
98         * gcd.h (gcd): Change argument type to 'unsigned long'.
99         * gcd.c (gcd): Likewise.
100
101 2002-11-15  Bruno Haible  <bruno@clisp.org>
102
103         * alloca.c: Update from current gnulib version.
104         * memset.c: Update from current gnulib version.
105
106 2002-11-13  Bruno Haible  <bruno@clisp.org>
107
108         Assume ANSI C.
109         * libstdarg.h: Remove file.
110         * Makefile.am (LIBADD_SOURCE): Remove libstdarg.h.
111         * addext.c (addext): Use ANSI C function declarations.
112         * alloca.c (alloca): Likewise.
113         * argmatch.h (PARAMS): Remove macro.
114         (argmatch, argmatch_exit_fn, argmatch_invalid, argmatch_valid,
115         __xargmatch_internal, argmatch_to_argument): Use ANSI C function
116         declarations.
117         * argmatch.c (argmatch, argmatch_invalid, argmatch_valid,
118         __xargmatch_internal, argmatch_to_argument): Likewise.
119         * backupfile.h (PARAMS): Remove macro.
120         (find_backup_file_name, get_version, xget_version, addext): Use ANSI C
121         function declarations.
122         * backupfile.c (find_backup_file_name, max_backup_version,
123         version_number, get_version, xget_version): Likewise.
124         * basename.h (gnu_basename): Likewise.
125         * basename.c (basename): Likewise.
126         * c-ctype.h (PARAMS): Remove macro.
127         (c_isascii, c_isalnum, c_isalpha, c_isblank, c_iscntrl, c_isdigit,
128         c_islower, c_isgraph, c_isprint, c_ispunct, c_isspace, c_isupper,
129         c_isxdigit, c_tolower, c_toupper): Use ANSI C function declarations.
130         * c-ctype.c (c_isascii, c_isalnum, c_isalpha, c_isblank, c_iscntrl,
131         c_isdigit, c_islower, c_isgraph, c_isprint, c_ispunct, c_isspace,
132         c_isupper, c_isxdigit, c_tolower, c_toupper): Likewise.
133         * classpath.c (new_classpath, set_classpath, reset_classpath):
134         Likewise.
135         * concatpath.c (concatenated_pathname): Likewise.
136         * copy-file.h (copy_file): Likewise.
137         * copy-file.c (copy_file): Likewise.
138         * execute.h (execute): Likewise.
139         * execute.c (nonintr_close, nonintr_open, execute): Likewise.
140         * findprog.h (find_in_path): Likewise.
141         * findprog.c (find_in_path): Likewise.
142         * fstrcmp.h (fstrcmp): Likewise.
143         * fstrcmp.c (diag, compareseq, fstrcmp): Likewise.
144         * full-write.h (full_write): Likewise.
145         * full-write.c (full_write): Likewise.
146         * gcd.h (PARAMS): Remove macro.
147         (gcd): Use ANSI C function declarations.
148         * gcd.c (gcd): Likewise.
149         * getline.h (PARAMS): Remove macro.
150         (getline, getdelim): Use ANSI C function declarations.
151         * getline.c (getstr, getline, getdelim): Likewise.
152         * hash.h (PARAMS): Remove macro.
153         (init_hash, delete_hash, insert_entry, find_entry, iterate_table,
154         next_prime): Use ANSI C function declarations.
155         * hash.c (init_hash, delete_hash, insert_entry, insert_entry_2,
156         find_entry, iterate_table, lookup, compute_hashval, next_prime,
157         is_prime): Likewise.
158         * javacomp.h (compile_java_class): Likewise.
159         * javacomp.c (compile_java_class): Likewise.
160         * javaexec.h (execute_fn, execute_java_class): Likewise.
161         * javaexec.c (execute_java_class): Likewise.
162         * linebreak.h (PARAMS): Remove macro.
163         (locale_charset, uc_width, u8_width, u16_width, u32_width,
164         u8_possible_linebreaks, u16_possible_linebreaks,
165         u32_possible_linebreaks, mbs_possible_linebreaks, u8_width_linebreaks,
166         u16_width_linebreaks, u32_width_linebreaks, mbs_width_linebreaks): Use
167         ANSI C function declarations.
168         * linebreak.c (u32_mbtouc, is_cjk_encoding, is_utf8_encoding,
169         uc_width, u8_width, u16_width, u32_width, lbrkprop_lookup,
170         u8_possible_linebreaks, u16_possible_linebreaks,
171         u32_possible_linebreaks, u8_width_linebreaks, u16_width_linebreaks,
172         u32_width_linebreaks, read_file, main, iconv_string_length,
173         iconv_string_keeping_offsets, is_all_ascii, mbs_possible_linebreaks,
174         mbs_width_linebreaks, read_file, main): Likewise.
175         * mbswidth.h (PARAMS): Remove macro.
176         (mbswidth, mbsnwidth): Use ANSI C function declarations.
177         * mbswidth.c (mbswidth, mbsnwidth): Likewise.
178         * memmove.c (memmove): Likewise.
179         * memset.c (memset): Likewise.
180         * mkdtemp.h (PARAMS): Remove macro.
181         (mkdtemp): Use ANSI C function declarations.
182         * mkdtemp.c (gen_tempname, mkdtemp): Likewise.
183         * pathname.h (PARAMS): Remove macro.
184         (concatenated_pathname): Use ANSI C function declarations.
185         * pfnmatch.h (PARAMS): Remove macro.
186         (fnmatch): Use ANSI C function declarations.
187         * pfnmatch.c (fnmatch): Likewise.
188         * pipe.h (create_pipe_out, create_pipe_in, create_pipe_bidi):
189         Likewise.
190         * pipe-bidi.c (nonintr_close, create_pipe_bidi): Likewise.
191         * pipe-in.c (nonintr_close, nonintr_open, create_pipe_in): Likewise.
192         * pipe-out.c (nonintr_close, nonintr_open, create_pipe_out): Likewise.
193         * progname.h (set_program_name, maybe_print_progname): Likewise.
194         * progname.c (set_program_name): Likewise.
195         * safe-read.h (safe_read): Likewise.
196         * safe-read.c (safe_read): Likewise.
197         * setenv.h (PARAMS): Remove macro.
198         (setenv, unsetenv): Use ANSI C function declarations.
199         * setenv.c (compar_fn_t, __add_to_environ, setenv): Likewise.
200         * sh-quote.h (shell_quote_length, shell_quote_copy, shell_quote,
201         shell_quote_argv): Likewise.
202         * sh-quote.c (shell_quote_length, shell_quote_copy, shell_quote,
203         shell_quote_argv): Likewise.
204         * stpcpy.h (PARAMS): Remove macro.
205         (stpcpy): Use ANSI C function declarations.
206         * stpcpy.c (__stpcpy): Likewise.
207         * stpncpy.h (PARAMS): Remove macro.
208         (gnu_stpncpy): Use ANSI C function declarations.
209         * stpncpy.c (__stpncpy): Likewise.
210         * strcase.h (PARAMS): Remove macro.
211         (strcasecmp, strncasecmp): Use ANSI C function declarations.
212         * strcasecmp.c (__strcasecmp): Likewise.
213         * strncasecmp.c (__strncasecmp): Likewise.
214         * strcspn.c (strcspn): Likewise.
215         * strpbrk.h (PARAMS): Remove macro.
216         (strpbrk): Use ANSI C function declarations.
217         * strpbrk.c (strpbrk): Likewise.
218         * strstr.h (PARAMS): Remove macro.
219         (strstr): Use ANSI C function declarations.
220         * strstr.c (strstr): Likewise.
221         * tmpdir.h (PARAMS): Remove macro.
222         (path_search): Use ANSI C function declarations.
223         * tmpdir.c (direxists, path_search): Likewise.
224         * ucs4-utf8.h (u8_uctomb_aux, u8_uctomb): Likewise.
225         * ucs4-utf16.h (u16_uctomb_aux, u16_uctomb): Likewise.
226         * unsetenv.c (unsetenv): Likewise.
227         * utf8-ucs4.h (u8_mbtouc_aux, u8_mbtouc): Likewise.
228         * utf16-ucs4.h (u16_mbtouc_aux, u16_mbtouc): Likewise.
229         * vasprintf.h (PARAMS): Remove macro.
230         Include <stdarg.h> instead of libstdarg.h.
231         (asprintf, vasprintf): Use ANSI C function declarations.
232         * vasprintf.c: Include <stdarg.h> instead of libstdarg.h.
233         (int_vasprintf, asprintf, checkit): Use ANSI C function declarations.
234         Use va_start instead of VA_START.
235         * wait-process.h (wait_subprocess): Likewise.
236         * wait-process.c (wait_subprocess): Likewise.
237         * xerror.h (xasprintf, multiline_warning, multiline_error): Likewise.
238         * xerror.c: Include <stdarg.h> instead of libstdarg.h.
239         (xasprintf, multiline_warning, multiline_error): Use ANSI C function
240         declarations. Use va_start instead of VA_START.
241         * xgetcwd.h (PARAMS): Remove macro.
242         (xgetcwd): Use ANSI C function declarations.
243         * xmalloc.h (xmalloc, xcalloc, xrealloc, xstrdup): Likewise.
244         * xmalloc.c (fixup_null_alloc, xmalloc, xcalloc, xrealloc): Likewise.
245         * xsetenv.h (xsetenv): Likewise.
246         * xsetenv.c (xsetenv): Likewise.
247         * xstrdup.c (xstrdup): Likewise.
248
249 2002-11-05  Bruno Haible  <bruno@clisp.org>
250
251         * argmatch.c: Include gettext.h instead of <locale.h> and <libintl.h>.
252         * error.c [!_LIBC]: Include gettext.h instead of <libintl.h>.
253         * getopt.c [!_LIBC]: Include gettext.h instead of <libintl.h>.
254         * obstack.c [!_LIBC]: Include gettext.h instead of <libintl.h>.
255
256 2002-11-04  Bruno Haible  <bruno@clisp.org>
257
258         * getopt.c: Don't test HAVE_LIBINTL_H.
259
260         * getopt.h: Update from current gnulib version.
261         * getopt.c: Likewise.
262         * getopt1.c: Likewise.
263
264 2002-10-29  Bruno Haible  <bruno@clisp.org>
265
266         * libstdarg.h: Treat SunPro C like ANSI C; it defines __STDC__ to 0.
267
268 2002-10-27  Bruno Haible  <bruno@clisp.org>
269
270         * liballoca.h: Put under LGPL.
271         * libstdarg.h: Likewise.
272
273 2002-10-26  Bruno Haible  <bruno@clisp.org>
274
275         * vasprintf.c (int_vasprintf): Treat 'F' like 'f'.
276
277 2002-08-25  Bruno Haible  <bruno@clisp.org>
278
279         * Makefile.am (MOSTLYCLEANFILES): Add stdbool.h unconditionally.
280
281 2002-08-06  Bruno Haible  <bruno@clisp.org>
282
283         * gettext-0.11.5 released.
284
285 2002-07-25  Bruno Haible  <bruno@clisp.org>
286
287         * gettext-0.11.4 released.
288
289 2002-07-21  Bruno Haible  <bruno@clisp.org>
290
291         * mkdtemp.c: Test HAVE_STDINT_H_WITH_UINTMAX instead of HAVE_STDINT_H.
292         Test HAVE_INTTYPES_H_WITH_UINTMAX instead of HAVE_INTTYPES_H.
293
294 2002-07-17  Bruno Haible  <bruno@clisp.org>
295
296         * gettext-0.11.3 released.
297
298 2002-07-16  Bruno Haible  <bruno@clisp.org>
299
300         * javaexec.h (execute_java_class): Add argument exe_dir.
301         * javaexec.c (execute_java_class): Add argument exe_dir. If given,
302         attempt to run a native executable.
303         * Makefile.am (DEFS): Define EXEEXT.
304         * javacomp.sh.in: Use HAVE_GCJ_C instead of HAVE_GCJ.
305
306 2002-06-15  Bruno Haible  <bruno@clisp.org>
307
308         * javacomp.c (compile_java_class): Ignore gcj versions that start with
309         "3.0" or "3.1". (gcj 3.0.4 compiles GetURL.java to invalid bytecode,
310         that crashes with an IllegalAccessError when executed by gij 3.0.4 or
311         with a VerifyError when executed by Sun Java. Likewise for gcj 3.1.)
312
313 2002-05-29  Bruno Haible  <bruno@clisp.org>
314
315         * linebreak.c (nonspacing_table_data, uc_width): Upgrade to
316         Unicode 3.2.0.
317
318 2002-05-18  Bruno Haible  <bruno@clisp.org>
319
320         * basename.h: Use __GLIBC__ >= 2, because BeOS (which defines __GLIBC__
321         to -2) doesn't declare basename() properly.
322         * basename.c: Likewise.
323
324 2002-05-18  Bruno Haible  <bruno@clisp.org>
325
326         * Makefile.am (RM): New variable.
327         (install-exec-am): Depend on install-exec-clean.
328         (install-exec-clean): New rule.
329
330 2002-05-09  Bruno Haible  <bruno@clisp.org>
331
332         * config.charset: Update for newest glibc. Add canonical names
333         ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS.
334
335 2002-05-09  Bruno Haible  <bruno@clisp.org>
336
337         * localcharset.c (get_charset_aliases): Add more Windows specific
338         aliases.
339
340 2002-05-08  Owen Taylor  <otaylor@redhat.com>
341
342         * config.charset: A few additions for Solaris.
343
344 2001-12-05  Bruno Haible  <bruno@clisp.org>
345
346         * localcharset.c (locale_charset): Don't return an empty string.
347
348 2001-10-23  Bruno Haible  <haible@clisp.cons.org>
349
350         * config.charset: msdos in uk_UA uses CP1125.
351
352 2001-08-05  Bruno Haible  <haible@clisp.cons.org>
353
354         Make it possible to build libcharset with CC=gcc CFLAGS="-x c++".
355         * localcharset.c (locale_charset): Declare as extern "C".
356         (get_charset_aliases): Cast malloc and realloc results to 'char *'.
357
358 2002-05-10  Bruno Haible  <bruno@clisp.org>
359
360         * gettext.h: On Solaris, include <locale.h>.
361
362 2002-05-04  Bruno Haible  <bruno@clisp.org>
363
364         * javacomp.c (compile_java_class): Ignore non-digits in the first
365         line of the output of "gcj --version". Needed for gcj 3.1.
366
367 2002-04-30  Bruno Haible  <bruno@clisp.org>
368
369         * stdbool.h.in (_Bool): Omit the definition if _Bool is already known
370         as a builtin primitive type. Needed for cc on OSF/1 5.1.
371         * Makefile.am (stdbool.h): Substitute the value of HAVE__BOOL.
372
373 2002-04-26  Bruno Haible  <bruno@clisp.org>
374
375         * basename.h: Use __GLIBC__ instead of __GNU_LIBRARY__, because
376         Linux libc5 doesn't declare basename() properly.
377         * basename.c: Likewise.
378
379 2002-04-24  Bruno Haible  <bruno@clisp.org>
380
381         * gettext-0.11.2 released.
382
383 2002-03-12  Bruno Haible  <bruno@clisp.org>
384
385         * gettext-0.11.1 released.
386
387 2002-03-10  Bruno Haible  <bruno@clisp.org>
388
389         Upgrade to Unicode-3.1.
390         * Combining.txt: New file, extracted from Unicode-3.0 PropList.txt.
391         * gen-lbrkprop.c: Replace 0x10000 with 0x110000 everywhere.
392         (fill_width): Adapt to changed format of EastAsianWidth.txt in
393         Unicode-3.1.
394         (get_lbp): Make more compatible to Unicode-3.1 LineBreak.txt.
395         (debug_output_lbp): Avoid gcc-3.0 warning.
396         (unicode_org_lbp): New variable.
397         (fill_org_lbp): New function.
398         (debug_output_org_lbp): New function.
399         (debug_output_org_tables): New function.
400         (output_lbp): Handle new negative entries in level1[] correctly.
401         Pretty-print level1 contents.
402         (main): Expect one more argument.
403         * lbrkprop.h: Regenerated with Unicode-3.1 tables.
404         * linebreak.c (nonspacing_table_data): Add one more block.
405         (nonspacing_table_ind): Extend up to 0x1dfff.
406         (uc_width): Update for Unicode-3.1.
407         * Makefile.am (EXTRA_DIST): Add Combining.txt.
408
409 2001-08-07  Andreas Jaeger  <aj@suse.de>
410             Andreas Schwab  <schwab@suse.de>
411             Bruno Haible  <bruno@clisp.org>
412
413         * 3level.h (EMPTY): New macro.
414         (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
415
416 2002-03-09  Bruno Haible  <bruno@clisp.org>
417
418         Portability to AIX 4.3.3.
419         * stpncpy.h (gnu_stpncpy): Renamed from stpncpy.
420         (stpncpy): Define as an alias.
421         * stpncpy.c: Compile nothing on glibc systems is set. Otherwise name
422         the function gnu_stpncpy.
423         * Makefile.am (LIBADD_SOURCE): Remove stpncpy.h, stpncpy.c.
424         (libgettextlib_la_SOURCES): Add stpncpy.h, stpncpy.c.
425
426 2002-03-04  Bruno Haible  <bruno@clisp.org>
427
428         Portability to AIX 4.3.3.
429         * unsetenv.c: New file, extracted from setenv.c.
430         * setenv.c: Move the unsetenv() function to unsetenv.c.
431         * setenv.h: Cope with systems that have setenv() but not unsetenv().
432         * Makefile.am (LIBADD_SOURCE): Add unsetenv.c.
433         (c-ctype.lo, tmpdir.lo): Depend on stdbool.h.
434
435 2002-02-21  Bruno Haible  <bruno@clisp.org>
436
437         * strncasecmp.c (__strncasecmp): Trivial simplification.
438
439 2002-02-24  Bruno Haible  <bruno@clisp.org>
440
441         * libstdarg.h: New file.
442         * vasprintf.c: Include it.
443         (asprintf): Modernize varargs handling.
444         (checkit): Likewise.
445         * xerror.c: Include libstdarg.h.
446         (xasprintf): Modernize varargs handling.
447         * Makefile.am (LIBADD_SOURCE): Add libstdarg.h.
448
449 2002-02-24  Bruno Haible  <bruno@clisp.org>
450
451         * vasprintf.h: New file.
452         * vasprintf.c: Include it.
453         * xerror.c: Likewise.
454         * Makefile.am (LIBADD_SOURCE): Add vasprintf.h.
455
456 2002-02-17  Bruno Haible  <bruno@clisp.org>
457
458         * utf8-ucs4.h (u8_mbtouc_aux): Stricter range checking.
459
460 2002-02-15  Bruno Haible  <bruno@clisp.org>
461
462         * config.charset [msdosdjgpp]: For Russian, use CP866.
463
464 2002-02-09  Bruno Haible  <bruno@clisp.org>
465
466         * c-ctype.h (c_is*): Change return type to bool.
467         * c-ctype.c (c_is*): Likewise.
468
469         * tmpdir.h (path_search): Change last argument's type to bool.
470         * tmpdir.c (path_search): Likewise.
471         (direxists): Change return type to bool.
472
473         * vasprintf.c (int_vasprintf): Change total_width to size_t.
474
475 2002-02-11  Bruno Haible  <bruno@clisp.org>
476
477         * config.charset: Add support for NetBSD.
478
479 2002-02-02  Bruno Haible  <bruno@clisp.org>
480
481         * ucs4-utf8.h: New file.
482         * ucs4-utf16.h: New file.
483         * Makefile.am (libgettextlib_la_SOURCES): Add them.
484
485 2002-02-03  Bruno Haible  <bruno@clisp.org>
486
487         * xerror.c (multiline_warning): Remove temporary hack.
488
489 2002-01-31  Bruno Haible  <bruno@clisp.org>
490
491         * gettext-0.11 released.
492
493 2002-01-30  Bruno Haible  <bruno@clisp.org>
494
495         * error.c: Compile nothing if HAVE_ERROR_AT_LINE is set.
496         * strtoul.c: Compile nothing if HAVE_STRTOUL is set.
497         * Makefile.am (libgettextlib_la_SOURCES): Add error.h, error.c,
498         strtoul.c.
499         (LIBADD_SOURCE): Remove error.h, error.c, strtoul.c.
500
501 2002-01-24  Bruno Haible  <bruno@clisp.org>
502
503         * getline.c: Remove NDEBUG. It killed the effect of assert().
504
505 2002-01-24  Bruno Haible  <bruno@clisp.org>
506
507         * Makefile.am (libgettextlib_la_LDFLAGS): Use @LTLIBINTL@ instead of
508         @INTLLIBS@, and @LTLIBICONV@ instead of @LIBICONV@.
509
510 2002-01-19  Bruno Haible  <bruno@clisp.org>
511
512         * xerror.c (multiline_warning): Add a newline if the message doesn't
513         terminate with a newline.
514
515 2002-01-12  Bruno Haible  <bruno@clisp.org>
516
517         * gettext.h (gettext_noop): Remove the parentheses around the
518         expansion.
519
520 2002-01-10  Bruno Haible  <bruno@clisp.org>
521
522         * liballoca.h: Fix typo.
523
524 2002-01-10  Andrew Zabolotny  <zap@cobra.ru>
525             Bruno Haible  <bruno@clisp.org>
526
527         * localcharset.c: Rework OS/2 support.
528         * config.charset: Add OS/2 support.
529
530 2002-01-09  Bruno Haible  <bruno@clisp.org>
531
532         * setenv.h: Make it possible to include this file from C++.
533         * xsetenv.h: Likewise.
534
535 2002-01-05  Bruno Haible  <bruno@clisp.org>
536
537         * Makefile.am (libgettextlib_la_LDFLAGS): Add -lc. Needed on AIX.
538
539 2002-01-05  Bruno Haible  <bruno@clisp.org>
540
541         * wait-process.c (WIFSIGNALED): Make it return false when WIFSTOPPED
542         returns true.
543         (wait_subprocess): Use WIFSIGNALED instead of WCOREDUMP || WTERMSIG.
544         On AIX and OSF/1, WTERMSIG has a negative value if !WIFSIGNALED. And
545         WCOREDUMP is a BSDism, not POSIX.
546
547 2001-12-23  Bruno Haible  <bruno@clisp.org>
548
549         * xsetenv.h: New file.
550         * xsetenv.c: New file.
551         * Makefile.am (libgettextlib_la_SOURCES): Add them.
552         * classpath.c (set_classpath): Use xsetenv instead of setenv.
553         (reset_classpath): Likewise.
554         * javacomp.c (compile_java_class): Likewise.
555         * javaexec.c (execute_java_class): Likewise.
556
557 2001-12-23  Bruno Haible  <bruno@clisp.org>
558
559         * Makefile.am (libgettextlib_la_SOURCES): Add the contents of
560         libgettextlib_la_HEADER, except liballoca.h.
561         (LIBADD_SOURCE): Add the contents of LIBADD_HEADER, plus liballoca.h.
562         (UNUSED_SOURCE): Add the contents of UNUSED_HEADER.
563         (libgettextlib_la_HEADER, LIBADD_HEADER, UNUSED_HEADER): Remove
564         variables.
565         (noinst_HEADERS): Update.
566
567 2001-12-21  Bruno Haible  <bruno@clisp.org>
568
569         * localcharset.c (ISSLASH): Provide definition for DOS-like systems.
570         * basename.c (FILESYSTEM_PREFIX_LEN, ISSLASH): Likewise.
571
572 2001-12-22  Bruno Haible  <bruno@clisp.org>
573
574         * binary-io.h: New file, extracted from system.h.
575         * exit.h: New file, extracted from system.h.
576         * liballoca.h: New file, extracted from system.h.
577         * pathname.h: New file, extracted from system.h.
578         * stpcpy.h: New file, extracted from system.h.
579         * stpncpy.h: New file, extracted from system.h.
580         * strcase.h: New file, extracted from system.h.
581         * xgetcwd.h: New file, extracted from system.h.
582         * system.h: Remove file.
583         * Makefile.am (libgettextlib_la_SOURCES): Remove xgetcwd.c.
584         (libgettextlib_la_HEADER): Add binary-io.h, exit.h, liballoca.h,
585         pathname.h. Remove system.h.
586         (LIBADD_HEADER): Add stpcpy.h, stpncpy.h, strcase.h.
587         (UNUSED_SOURCE): Add xgetcwd.c.
588         (UNUSED_HEADER): Add xgetcwd.h.
589         * argmatch.c: Include exit.h instead of <stdlib.h>.
590         (EXIT_FAILURE): Remove fallback definition.
591         * concatpath.c: Include pathname.h, <string.h>, stpcpy.h instead of
592         system.h.
593         * copy-file.c: Include <unistd.h>, binary-io.h, exit.h instead of
594         system.h.
595         (O_BINARY): Remove fallback definition.
596         * execute.c: Include exit.h.
597         (EXIT_FAILURE): Remove fallback definition.
598         * findprog.c: Include pathname.h instead of system.h.
599         * javacomp.c: Include liballoca.h. Remove alloca() declaration stuff.
600         * javaexec.c: Likewise.
601         * setenv.c: Likewise.
602         * linebreak.h: Include <stddef.h> instead of <stdlib.h>.
603         * linebreak.c: Include <stdlib.h> instead of <stddef.h>.
604         * pipe-bidi.c: Include exit.h.
605         (EXIT_FAILURE): Remove fallback definition.
606         * pipe-in.c: Include exit.h.
607         (EXIT_FAILURE): Remove fallback definition.
608         * pipe-out.c: Include exit.h.
609         (EXIT_FAILURE): Remove fallback definition.
610         * wait-process.c: Include exit.h.
611         (EXIT_FAILURE): Remove fallback definition.
612         * xerror.c: Include exit.h.
613         (EXIT_FAILURE): Remove fallback definition.
614         * xmalloc.c: Include exit.h.
615         (EXIT_FAILURE): Remove fallback definition.
616
617 2001-12-21  Bruno Haible  <bruno@clisp.org>
618
619         * minmax.h: New file, extracted from system.h.
620         * system.h (MIN, MAX): Remove macros.
621         * Makefile.am (libgettextlib_la_HEADER): Add minmax.h.
622
623 2001-12-21  Bruno Haible  <bruno@clisp.org>
624
625         * gettext.h: Moved here from ../intl/libgettext.h.
626         * Makefile.am (noinst_HEADERS): Add it.
627         (gettextsrcdir, gettextsrc_DATA): New variables.
628         * copy-file.c: Include gettext.h instead of libgettext.h.
629         * execute.c: Likewise.
630         * javacomp.c: Likewise.
631         * javaexec.c: Likewise.
632         * pipe-bidi.c: Likewise.
633         * pipe-in.c: Likewise.
634         * pipe-out.c: Likewise.
635         * wait-process.c: Likewise.
636         * xerror.c: Likewise.
637         * xmalloc.c: Likewise.
638
639 2001-12-20  Bruno Haible  <bruno@clisp.org>
640
641         * execute.c (nonintr_open): Omit prototype. On some platforms mode_t
642         promotes to int, not mode_t.
643         * pipe-in.c (nonintr_open): Likewise.
644         * pipe-out.c (nonintr_open): Likewise.
645
646 2001-12-20  Bruno Haible  <bruno@clisp.org>
647
648         * setenv.c (__add_to_environ): Don't call realloc(NULL,...), use
649         malloc instead. For SunOS4.
650
651 2001-12-17  Bruno Haible  <bruno@clisp.org>
652
653         * pfnmatch.h: New file, from fileutils-4.1/lib/fnmatch.h with
654         modifications.
655         * pfnmatch.c: New file, from fileutils-4.1/lib/fnmatch.c with
656         modifications.
657         * Makefile.am (LIBADD_SOURCE): Add pfnmatch.c.
658         (LIBADD_HEADER): Add pfnmatch.h.
659         (DISTCLEANFILES): New variable.
660
661 2001-12-18  Bruno Haible  <bruno@clisp.org>
662
663         * getline.h: Include <stddef.h>, for size_t.
664
665 2001-12-15  Bruno Haible  <bruno@clisp.org>
666
667         * localcharset.c: Add OS/2 support.
668
669 2001-12-11  Bruno Haible  <bruno@clisp.org>
670
671         * argmatch.c: Include <stdlib.h>, to declare exit().
672         * copy-file.c: Include <sys/stat.h>, for struct stat.
673         * gcd.c: Include <stdlib.h>, to declare abort().
674         * setenv.c: Declare alloca.
675         (compar_fn_t): New typedef.
676         (KNOWN_VALUE, STORE_VALUE): Use it.
677
678 2001-12-08  Bruno Haible  <bruno@clisp.org>
679
680         * pipe-in.c (create_pipe_in): Don't redirect stdin if prog_stdin
681         is NULL.
682         * pipe-out.c (create_pipe_out): Don't redirect stdout if prog_stdout
683         is NULL.
684
685 2001-11-24  Bruno Haible  <bruno@clisp.org>
686
687         * javaexec.h (execute_java_class): New argument 'quiet'.
688         * javaexec.c (execute_java_class): Likewise.
689
690 2001-11-17  Bruno Haible  <haible@clisp.cons.org>
691
692         * hash.c (lookup_2): Remove function, identical to 'lookup'.
693         (init_hash): Remove test for NULL that can never succeed.
694         (insert_entry_2): Resize at 75%, not 90%. Call 'lookup' instead of
695         'lookup_2'.
696         (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
697         improves the quality of the hash function, especially for short
698         strings.
699
700 2001-11-11  Bruno Haible  <haible@clisp.cons.org>
701
702         * javaexec.sh.in: Use HAVE_JAVA instead of HAVE_JAVA_JVM.
703         The problem seen with automake-1.4 is gone with automake-1.5.
704
705 2001-11-10  Bruno Haible  <haible@clisp.cons.org>
706
707         * argmatch.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris
708         cc needs prototypes although it defines __STDC__ to 0 by default.
709         Also test for __cplusplus and __PROTOTYPES, just for consistency with
710         libgnuintl.h.
711         * c-ctype.h (PARAMS): Likewise.
712         * gcd.h (PARAMS): Likewise.
713         * getline.h (PARAMS): Likewise.
714         * hash.h (PARAMS): Likewise.
715         * linebreak.h (PARAMS): Likewise.
716         * mbswidth.h (PARAMS): Likewise.
717         * mkdtemp.h (PARAMS): Likewise.
718         * setenv.h (PARAMS): Likewise.
719         * strpbrk.h (PARAMS): Likewise.
720         * strstr.h (PARAMS): Likewise.
721         * system.h (PARAMS): Likewise.
722         * tmpdir.h (PARAMS): Likewise.
723
724 2001-11-05  Bruno Haible  <haible@clisp.cons.org>
725
726         * tmpdir.c: Include string.h.
727
728 2001-11-01  Bruno Haible  <haible@clisp.cons.org>
729
730         * execute.c (execute): If the subprocess fails, exit with return code
731         127, not -1 (which becomes 255).
732         * pipe-bidi.c (create_pipe_bidi): Likewise.
733         * pipe-in.c (create_pipe_in): Likewise.
734         * pipe-out.c (create_pipe_out): Likewise.
735
736 2001-10-31  Bruno Haible  <haible@clisp.cons.org>
737
738         * Makefile.am (execute.lo, javacomp.lo, javaexec.lo, pipe-bidi.lo,
739         pipe-in.lo, pipe-out.lo, progname.lo, wait-process.lo, xerror.lo):
740         Depend on @STDBOOL_H@.
741         * execute.c (EXIT_FAILURE): Provide a fallback definition, for SunOS 4.
742         * pipe-bidi.c (EXIT_FAILURE): Likewise.
743         * pipe-in.c (EXIT_FAILURE): Likewise.
744         * pipe-out.c (EXIT_FAILURE): Likewise.
745         * wait-process.c (EXIT_FAILURE): Likewise.
746         * xerror.c (EXIT_FAILURE): Likewise.
747         (xasprintf): Use VA_START instead of va_start.
748         * javacomp.c: Include alloca() declaration stuff.
749         * javaexec.c: Likewise.
750
751 2001-10-28  Bruno Haible  <haible@clisp.cons.org>
752
753         * progname.c (set_program_name) [BeOS]: Make program_name absolute
754         before removing "lt-".
755
756 2001-10-21  Bruno Haible  <haible@clisp.cons.org>
757
758         Create a libgettextlib shared library.
759         * Makefile.am (noinst_LIBRARIES): Remove variable.
760         (lib_LTLIBRARIES): New variable.
761         (libgettextlib_la_SOURCES): Renamed from libnlsut_a_SOURCES.
762         (libgettextlib_la_HEADER): Renamed from libnlsut_a_HEADER.
763         (libgettextlib_la_LIBADD): Renamed from libnlsut_a_LIBADD.
764         (libgettextlib_la_LDFLAGS): New variable.
765
766 2001-10-21  Bruno Haible  <haible@clisp.cons.org>
767
768         * mkdtemp.c: Include <inttypes.h> if it exists. Needed on platforms
769         which have <inttypes.h> but not <stdint.h>, like BeOS.
770
771 2001-10-21  Bruno Haible  <haible@clisp.cons.org>
772
773         * stdbool.h.in: Avoid syntax error on BeOS if <sys/socket.h> has
774         already been included.
775
776 2001-10-21  Bruno Haible  <haible@clisp.cons.org>
777
778         * basename.c: #undef basename before defining it. This avoids a
779         warning on non-glibc platforms.
780
781 2001-10-09  Bruno Haible  <haible@clisp.cons.org>
782
783         * localcharset.c (getc): Define as getc_unlocked if available.
784
785 2001-10-10  Bruno Haible  <haible@clisp.cons.org>
786
787         * wait-process.h (wait_subprocess): New argument 'exit_on_error'.
788         * wait-process.c (wait_subprocess): Implement 'exit_on_error' handling.
789         Treat exitcode 127 like a failure to create the subprocess.
790         * execute.h (execute): New argument 'exit_on_error'.
791         * execute.c (execute): Implement 'exit_on_error' handling.
792         * pipe.h (create_pipe_out, create_pipe_in, create_pipe_bidi): New
793         arguments 'null_stderr' and 'exit_on_error'.
794         * pipe-in.c (create_pipe_in): Implement 'null_stderr' and
795         'exit_on_error' handling.
796         * pipe-out.c (create_pipe_out): Likewise.
797         * pipe-bidi.c (create_pipe_bidi): Likewise.
798         * javacomp.c: Include pipe.h, wait-process.h, safe-read.h.
799         (compile_java_class): Update for changed execute(). When testing for
800         gcj, ignore gcj version 2.xx, require at least gcj 3.0.
801         * javaexec.c (execute_java_class): Update for changed execute().
802         * Makefile.am (libnlsut_a_SOURCES): Add safe-read.c.
803         (libnlsut_a_HEADER): Add safe-read.h.
804         (UNUSED_SOURCE): Remove safe-read.c.
805         (UNUSED_HEADER): Remove safe-read.h.
806
807 2001-09-25  Bruno Haible  <haible@clisp.cons.org>
808
809         Upgrade to automake-1.5.
810         * Makefile.am (AUTOMAKE_OPTIONS): Add 'no-dependencies'.
811
812 2001-10-20  Bruno Haible  <haible@clisp.cons.org>
813
814         Assume strchr() exists.
815         * system.h (strchr): Remove fallback definition.
816
817 2001-09-17  Bruno Haible  <haible@clisp.cons.org>
818
819         * backupfile.h: New file, from fileutils-4.1 with modifications.
820         * backupfile.c: New file, from fileutils-4.1 with modifications.
821         * addext.c: New file, from fileutils-4.1 with modifications.
822         * Makefile.am (libnlsut_a_SOURCES): Add backupfile.c, addext.c.
823         (libnlsut_a_HEADER): Add backupfile.h.
824
825 2001-09-17  Bruno Haible  <haible@clisp.cons.org>
826
827         * argmatch.h: New file, from fileutils-4.1 with simplifications.
828         * argmatch.c: New file, from fileutils-4.1 with simplifications.
829         * Makefile.am (libnlsut_a_SOURCES): Add argmatch.c.
830         (libnlsut_a_HEADER): Add argmatch.h.
831
832 2001-09-17  Bruno Haible  <haible@clisp.cons.org>
833
834         * copy-file.h: New file.
835         * copy-file.c: New file.
836         * Makefile.am (libnlsut_a_SOURCES): Add copy-file.c.
837         (libnlsut_a_HEADER): Add copy-file.h.
838
839 2001-09-17  Bruno Haible  <haible@clisp.cons.org>
840
841         * basename.h: New file.
842         * basename.c: Include it. Don't compile the function if already
843         present in the GNU C library.
844         * Makefile.am (libnlsut_a_HEADER): Add basename.h.
845         * system.h (gnu_basename, basename): Remove.
846
847 2001-09-09  Bruno Haible  <haible@clisp.cons.org>
848
849         * xmalloc.h: New file.
850         * strstr.h: New file.
851         * system.h (xmalloc, xrealloc, xstrdup): Remove declarations, now in
852         xmalloc.h.
853         (parse_printf_format, asprintf): Remove declarations.
854         (strstr): Remove declaration, now in strstr.h.
855         * xmalloc.c: Include xmalloc.h. Modernize. Assume <stdlib.h> exists.
856         * xstrdup.c: Include xmalloc.h. Modernize. Assume <string.h> exists.
857         * concatpath.c: Include xmalloc.h.
858         * findprog.c: Likewise.
859         * fstrcmp.c: Include xmalloc.h instead of system.h.
860         * javacomp.c: Likewise.
861         * javaexec.c: Likewise.
862         * sh-quote.c: Likewise.
863         * hash.c: Include xmalloc.h. Don't declare xmalloc, xcalloc.
864         * xgetcwd.c: Include stdlib.h and xmalloc.h. Don't declare xmalloc,
865         xstrdup, free.
866         * Makefile.am (libnlsut_a_HEADER): Add xmalloc.h.
867         (LIBADD_HEADER): Add strstr.h.
868
869         * Makefile.am (INCLUDES): Add -I$(top_srcdir)/intl. Needed because
870         some files include "libgettext.h", in the case $builddir != $srcdir.
871
872 2001-09-25  Bruno Haible  <haible@clisp.cons.org>
873
874         * javacomp.c (compile_java_class): Recognize javac exit code 2.
875
876 2001-09-16  Bruno Haible  <haible@clisp.cons.org>
877
878         * Makefile.am (libnlsut_a_SOURCES): Remove safe-read.c.
879         (libnlsut_a_HEADER, LIBADD_SOURCE, LIBADD_HEADER, UNUSED_SOURCE,
880         UNUSED_HEADER): New variables.
881         (noinst_HEADERS, EXTRA_DIST): Use them.
882
883 2001-09-08  Bruno Haible  <haible@clisp.cons.org>
884
885         * pipe-bidi.c (nonintr_close): Add function prototypes.
886         * pipe-in.c (nonintr_close, nonintr_open): Likewise.
887         * pipe-out.c (nonintr_close, nonintr_open): Likewise.
888
889 2001-09-08  Bruno Haible  <haible@clisp.cons.org>
890
891         * findprog.c: Include specification header before all other headers.
892         * fstrcmp.c: Likewise.
893         * full-write.c: Likewise.
894         * hash.c: Likewise.
895         * linebreak.c: Likewise.
896         * mbswidth.c: Likewise.
897         * progname.c: Likewise.
898         * safe-read.c: Likewise.
899         * wait-process.c: Likewise.
900         * xerror.c: Likewise.
901         * getline.c: Include getline.h.
902         * mbswidth.h: Include <stddef.h>, for size_t.
903         * wait-process.h: Include <unistd,h> and <sys/types.h>, for pid_t.
904
905 2001-09-08  Bruno Haible  <haible@clisp.cons.org>
906
907         * javacomp.sh.in: New file.
908         * javaexec.sh.in: New file.
909
910 2001-09-06  Bruno Haible  <haible@clisp.cons.org>
911
912         * javacomp.h: New file.
913         * javacomp.c: New file.
914         * javaexec.h: New file.
915         * javaexec.c: New file.
916         * classpath.c: New file.
917         * Makefile.am (EXTRA_DIST): Add classpath.c.
918         (libnlsut_a_SOURCES): Add javacomp.c, javaexec.c.
919         (noinst_HEADERS): Add javacomp.h, javaexec.h.
920
921 2001-09-06  Bruno Haible  <haible@clisp.cons.org>
922
923         * sh-quote.h: New file.
924         * sh-quote.c: New file.
925         * Makefile.am (libnlsut_a_SOURCES): Add sh-quote.c.
926         (noinst_HEADERS): Add sh-quote.h.
927
928 2001-09-06  Bruno Haible  <haible@clisp.cons.org>
929
930         * strpbrk.h: New file.
931         * strpbrk.c: New file, from glibc-2.2.4.
932         * Makefile.am (EXTRA_DIST): Add strpbrk.c.
933         (noinst_HEADERS): Add strpbrk.h.
934
935 2001-09-06  Bruno Haible  <haible@clisp.cons.org>
936
937         * setenv.h: New file.
938         * setenv.c: New file, from glibc-2.2.4.
939         * Makefile.am (EXTRA_DIST): Add setenv.c.
940         (noinst_HEADERS): Add setenv.h.
941
942 2001-09-02  Bruno Haible  <haible@clisp.cons.org>
943
944         * mkdtemp.h: New file.
945         * mkdtemp.c: New file, mostly taken from glibc-2.2.4.
946         * tmpdir.h: New file.
947         * tmpdir.c: New file, mostly taken from glibc-2.2.4.
948         * Makefile.am (EXTRA_DIST): Add mkdtemp.c.
949         (libnlsut_a_SOURCES): Add tmpdir.c.
950         (noinst_HEADERS): Add mkdtemp.h, tmpdir.h.
951
952 2001-09-02  Bruno Haible  <haible@clisp.cons.org>
953
954         * execute.h: New file.
955         * execute.c: New file.
956         * Makefile.am (libnlsut_a_SOURCES): Add execute.c.
957         (noinst_HEADERS): Add execute.h.
958
959 2001-09-02  Bruno Haible  <haible@clisp.cons.org>
960
961         * gcd.h: New file.
962         * gcd.c: New file.
963         * Makefile.am (libnlsut_a_SOURCES): Add gcd.c.
964         (noinst_HEADERS): Add gcd.h.
965
966 2001-09-02  Bruno Haible  <haible@clisp.cons.org>
967
968         * pipe.h: Ensure pid_t gets declared.
969         * pipe-bidi.c: Include pipe.h.
970         * pipe-in.c: Likewise.
971         * pipe-out.c: Likewise.
972
973 2001-08-26  Bruno Haible  <haible@clisp.cons.org>
974
975         * printf-parse.h: Remove file.
976         * printf.h: Remove file.
977         * printf-prs.c: Remove file.
978         * Makefile.am (EXTRA_DIST): Remove printf-prs.c.
979         (noinst_HEADERS): Remove printf-parse.h, printf.h.
980         * system.h (MIN): New macro.
981
982 2001-07-28  Bruno Haible  <haible@clisp.cons.org>
983
984         * printf-parse.h: Don't include <ctype.h>.
985         (ISDIGIT): New macro.
986         (read_int, parse_one_spec): Use ISDIGIT instead of isdigit.
987
988 2001-08-05  Bruno Haible  <haible@clisp.cons.org>
989
990         * stdbool.h.in (_Bool): Define differently in C++ mode.
991
992 2001-07-23  Bruno Haible  <haible@clisp.cons.org>
993
994         * system.h: Assume <limits.h> exists.
995         * fstrcmp.c: Likewise.
996
997 2001-07-01  Bruno Haible  <haible@clisp.cons.org>
998
999         * utf8-ucs4.h: New file, extracted from linebreak.c.
1000         * utf16-ucs4.h: New file, extracted from linebreak.c.
1001         * linebreak.c (u8_mbtouc_aux, u8_mbtouc): Moved to utf8-ucs4.h.
1002         (u16_mbtouc_aux, u16_mbtouc): Moved to utf16-ucs4.h.
1003         * Makefile.am (noinst_HEADERS): Add utf8-ucs4.h, utf16-ucs4.h.
1004
1005 2001-06-30  Bruno Haible  <haible@clisp.cons.org>
1006
1007         * stdbool.h.in: New file.
1008         * Makefile.am (EXTRA_DIST): Add stdbool.h.in.
1009         (all-local): Depend on @STDBOOL_H@.
1010         (stdbool.h): New rule.
1011         (MOSTLYCLEANFILES): New variable.
1012         * progname.h: Include stdbool.h.
1013         (error_with_progname): Change type to bool.
1014         * progname.c (error_with_progname): Likewise.
1015
1016 2001-06-10  Bruno Haible  <haible@clisp.cons.org>
1017
1018         * findprog.h: New file.
1019         * findprog.c: New file.
1020         * full-write.h: New file.
1021         * full-write.c: New file.
1022         * pipe.h: New file.
1023         * pipe-bidi.c: New file.
1024         * pipe-in.c: New file.
1025         * pipe-out.c: New file.
1026         * safe-read.h: New file.
1027         * safe-read.c: New file.
1028         * wait-process.h: New file.
1029         * wait-process.c: New file.
1030         * Makefile.am (libnlsut_a_SOURCES): Add findprog.c, full-write.c,
1031         pipe-bidi.c, pipe-in.c, pipe-out.c, safe-read.c, wait-process.c.
1032         (noinst_HEADERS): Add findprog.h, full-write.h, pipe.h, safe-read.h,
1033         wait-process.h.
1034
1035 2001-05-15  Bruno Haible  <haible@clisp.cons.org>
1036
1037         * progname.h (set_program_name): New declaration.
1038         * progname.c: Include <string.h>.
1039         (set_program_name): New function.
1040
1041 2001-05-02  Bruno Haible  <haible@clisp.cons.org>
1042
1043         * xerror.h: New file.
1044         * xerror.c: New file.
1045         * Makefile.am (libnlsut_a_SOURCES): Add xerror.c.
1046         (noinst_HEADERS): Add xerror.h.
1047
1048 2001-05-01  Bruno Haible  <haible@clisp.cons.org>
1049
1050         Prefix most error messages with the program name, except those
1051         starting with "filename:lineno:".
1052         * progname.h: New file.
1053         * progname.c: New file.
1054         * Makefile.am (libnlsut_a_SOURCES): Add progname.c.
1055         (noinst_HEADERS): Add progname.h.
1056
1057 2001-05-01  Bruno Haible  <haible@clisp.cons.org>
1058
1059         * vasprintf.c (int_vasprintf): Upon allocation failure, return -1,
1060         not 0, to be consistent with glibc documentation.
1061
1062 2001-09-13  Bruno Haible  <haible@clisp.cons.org>
1063
1064         * gettext-0.10.40 released.
1065
1066 2001-09-13  Bruno Haible  <haible@clisp.cons.org>
1067
1068         * alloca.c (alloca): Replace 'REGISTER' with 'register'.
1069         Reported by Len Makin <len@hpc.csiro.au>.
1070
1071 2001-07-24  Bruno Haible  <haible@clisp.cons.org>
1072
1073         * gettext-0.10.39 released.
1074
1075 2001-06-24  Bruno Haible  <haible@clisp.cons.org>
1076
1077         * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
1078         Change canonical name of SJIS to SHIFT_JIS.
1079
1080 2001-06-25  Bruno Haible  <haible@clisp.cons.org>
1081
1082         * mbswidth.c (mbsinit): Define to 1 if not defined. For SCO 3.2v5.0.2.
1083
1084 2001-04-30  Bruno Haible  <haible@clisp.cons.org>
1085
1086         Silence "gcc -Wall -Wwrite-strings" warnings.
1087         * localcharset.c (charset_aliases): Change type to 'const char *'.
1088         (get_charset_aliases): Change type of 'cp' to 'const char *'.
1089
1090 2001-05-23  Bruno Haible  <haible@clisp.cons.org>
1091
1092         * gettext-0.10.38 released.
1093
1094 2001-05-23  Bruno Haible  <haible@clisp.cons.org>
1095
1096         * linebreak.c (mbs_possible_linebreaks): Avoid broken EUC-KR
1097         conversion in glibc-2.1.
1098         (mbs_width_linebreaks): Likewise.
1099
1100 2001-05-02  Bruno Haible  <haible@clisp.cons.org>
1101
1102         * linebreak.c (iconv_string_keeping_offsets): Work around a glibc-2.1
1103         bug.
1104
1105 2001-04-19  Bruno Haible  <haible@clisp.cons.org>
1106
1107         * gettext-0.10.37 released.
1108
1109 2001-04-04  Bruno Haible  <haible@clisp.cons.org>
1110
1111         * mbswidth.h: New file, from textutils-2.0.13 with modifications.
1112         * mbswidth.c: Likewise.
1113         * Makefile.am (noinst_HEADERS): Add mbswidth.h.
1114         (libnlsut_a_SOURCES): Add mbswidth.c.
1115
1116 2001-04-04  Bruno Haible  <haible@clisp.cons.org>
1117
1118         * linebreak.h (UC_BREAK_UNDEFINED): New enum value.
1119         (u8_width_linebreaks, u16_width_linebreaks, u32_width_linebreaks,
1120         mbs_width_linebreaks): Add overrides argument.
1121         * linebreak.c (u8_width_linebreaks, u16_width_linebreaks,
1122         u32_width_linebreaks, mbs_width_linebreaks): Add overrides argument.
1123
1124 2001-03-29  Bruno Haible  <haible@clisp.cons.org>
1125
1126         * gettext-0.10.36 released.
1127
1128 2001-03-21  Bruno Haible  <haible@clisp.cons.org>
1129
1130         * linebreak.c: Include string.h, needed for memset() declaration.
1131
1132 2001-03-11  Bruno Haible  <haible@clisp.cons.org>
1133
1134         * xmalloc.c (fixup_null_alloc): Unify messages.
1135
1136 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1137
1138         * linebreak.c (iconv_string_length): Don't call
1139         iconv(cd,NULL,NULL,NULL,NULL) on glibc-2.1; it crashes.
1140
1141         * localcharset.c (locale_charset): Allow wildcard syntax. Resolve
1142         alias also if codeset is empty.
1143         * config.charset (BeOS): Use wildcard syntax.
1144
1145 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1146
1147         * config.charset: Update from libiconv-1.6.
1148         * localcharset.c: Likewise.
1149
1150 2001-03-04  Bruno Haible  <haible@clisp.cons.org>
1151
1152         * system.h (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH, IS_PATH_WITH_DIR,
1153         FILESYSTEM_PREFIX_LEN): New macros.
1154         (concatenated_pathname): New declaration.
1155         (SET_BINARY): New macro.
1156         * concatpath.c: New file.
1157         * Makefile.am (libnlsut_a_SOURCES): Add concatpath.c.
1158
1159 2001-03-03  Bruno Haible  <haible@clisp.cons.org>
1160
1161         * gen-lbrkprop.c: New file.
1162         * 3level.h: New file.
1163         * lbrkprop.h: New file, generated by gen-lbrkprop.
1164         * linebreak.h: New file.
1165         * linebreak.c: New file.
1166         * Makefile.am (EXTRA_DIST): Add gen-lbrkprop.c, 3level.h.
1167         (libnlsut_a_SOURCES): Add linebreak.c.
1168         (noinst_HEADERS): Add linebreak.h, lbrkprop.h.
1169
1170         * c-ctype.h: New file.
1171         * c-ctype.c: New file.
1172         * Makefile.am (libnlsut_a_SOURCES): Add c-ctype.c.
1173         (noinst_HEADERS): Add c-ctype.h.
1174
1175         Allow the use of locale_charset() in src.
1176         * config.charset: New file, from ../intl/.
1177         * localcharset.c: New file, from ../intl/.
1178         * ref-add.sin: New file, from ../intl/.
1179         * ref-del.sin: New file, from ../intl/.
1180         * Makefile.am (EXTRA_DIST): Add config.charset, ref-{add,del}.sin.
1181         (libnlsut_a_SOURCES): Add localcharset.c.
1182         (DEFS): Define to set LIBDIR.
1183         (INCLUDES): Add -I. -I$(srcdir) -I.. to compensate for automake's
1184         default DEFS setting.
1185         (all-local, install-exec-local, uninstall-local, charset.alias): New
1186         targets.
1187         (SUFFIXES): New variable.
1188         (.sin.sed): New rule.
1189         (CLEANFILES): New variable.
1190
1191 2001-03-03  Bruno Haible  <haible@clisp.cons.org>
1192
1193         * printf.h (PARAMS): GNU C always supports prototypes.
1194         * system.h (PARAMS): Likewise.
1195
1196 2001-03-05  Bruno Haible  <haible@clisp.cons.org>
1197
1198         * vasprintf.c (int_vasprintf): Cast second arg of strtoul, to avoid
1199         warning.
1200
1201 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1202
1203         * system.h (O_BINARY, O_TEXT, setmode, fileno): New macros for systems
1204         that distinguish between text and binary I/O.
1205
1206 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1207
1208         * error.c: Include <libintl.h> only if ENABLE_NLS || _LIBC.
1209         * getopt.c: Test ENABLE_NLS instead of 'defined HAVE_LIBINTL_H'.
1210         * obstack.c: Likewise.
1211
1212 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1213
1214         * system.h: Assume <stdlib.h>, <string.h> exist.
1215         * fstrcmp.c: Likewise.
1216         * vasprintf.c: Likewise.
1217
1218 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1219
1220         * basename.c: Include <stdio.h>, needed by assert on SunOS4.
1221         (basename): Convert to K&R C syntax.
1222         * vasprintf.c (int_vasprintf): Don't use fabs, it needs -lm on some
1223         platforms.
1224
1225 2000-12-31  Bruno Haible  <haible@clisp.cons.org>
1226
1227         * hash.c (insert_entry): Use obstack_copy instead of obstack_copy0.
1228
1229 2000-12-30  Bruno Haible  <haible@clisp.cons.org>
1230
1231         * system.h (open_po_file): Remove declaration.
1232
1233 2000-12-30  Bruno Haible  <haible@clisp.cons.org>
1234
1235         * printf.h (printf_info): New fields is_char, is_longlong.
1236         (PA_FLAG_CHAR): New macro.
1237         * printf-parse.h: Include inttypes.h.
1238         (long_long_int): Define depending on HAVE_UNSIGNED_LONG_LONG.
1239         (ptrdiff_t): Define depending on HAVE_PTRDIFF_T.
1240         (parse_one_spec): Handle new ISO C99 length modifiers 'j', 't', 'z'.
1241
1242 2000-12-30  Bruno Haible  <haible@clisp.cons.org>
1243
1244         * basename.c: Update from current fileutils version, keeping the
1245         function name as `basename' or `gnu_basename'.
1246
1247         * error.c: Update from glibc-2.2 version.
1248
1249         * fstrcmp.h: extern declaration.
1250
1251         * getline.h: Comment out declarations on glibc2 systems.
1252         * getline.c: Make getstr() static, to avoid conflict with libncurses.
1253
1254         * getopt.h: Update from glibc-2.2 version.
1255         * getopt.c: Likewise.
1256
1257         * hash.h: Update from glibc-2.2 version. Don't assume keys are NUL
1258         terminated.
1259         (insert_entry, find_entry): Change argument type from 'const char*' to
1260         'const void*'.
1261         (iterate_table): Add keylen argument.
1262         * hash.c: Update from glibc-2.2 version. Don't assume keys are NUL
1263         terminated.
1264         (xcalloc): New declaration.
1265         (struct hash_entry): Add keylen field.
1266         (init_hash): Use xcalloc instead of xmalloc.
1267         (insert_entry_2): Add keylen argument. Use xcalloc instead of xmalloc.
1268         (iterate_table): Add keylen argument.
1269         (lookup): Compare using memcmp, not strncmp.
1270         (lookup_2): Add keylen argument. Compare using memcmp, not strcmp.
1271
1272         * memmove.c: Revert to gettext-0.10.35 version, independent of glibc.
1273         * memset.c: Likewise.
1274
1275         * obstack.h: Update from glibc-2.2 version. Add a few consts.
1276         * obstack.c: Update from glibc-2.2 version.
1277
1278         * pathmax.h: Update from current fileutils version.
1279
1280         * printf-prs.c: Revert to old, not multibyte aware version. Since the
1281         messages in the catalog can be in any encoding, use of the current
1282         locale's encoding is wrong here.
1283         * printf-parse.h (find_spec): Likewise.
1284
1285         * strtol.c: Update from glibc-2.2 version.
1286
1287         * strstr.c (strstr): Add an empty statement after 'shloop' label.
1288
1289         * vasprintf.c: Include stdlib.h if it exists.
1290         (int_vasprintf): Increase buffer size for float/double values with
1291         positive exponent only. Recognize new ISO C99 length modifiers 'j',
1292         't', 'z'.
1293         (main): Add more tests.
1294
1295         * xgetcwd.c (xgetcwd): If the required pathname length is smaller
1296         than 1024, return a memory chunk of least possible size, instead
1297         of size PATH_MAX + 2. In the loop, increment the size proportionally.
1298         Use free/xmalloc instead of xrealloc to avoid copying for very long
1299         paths.
1300
1301         * xmalloc.c: Use NULL where appropriate.
1302
1303         * xstrdup.c (xstrdup): Change argument type to 'const char *'.
1304
1305 1999-12-27  Geoff Keating  <geoffk@cygnus.com>
1306
1307         * vasprintf.c (int_vasprintf): Don't re-read the format character
1308         as this mishandles strings like '%%s'.
1309
1310 1998-01-18  Michael Snyder  <msnyder@cleaver.cygnus.com>
1311
1312         * vasprintf.c (int_vasprintf): Increase buffer size for float/double
1313         values.
1314
1315 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
1316
1317         * Makefile.am (EXTRA_DIST): Add basename.c.
1318         (libnlsut_a_SOURCES): Add basename.c.
1319
1320 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
1321
1322         * printf-parse.h: Change back from using `unsigned char' to `char'.
1323
1324 1998-05-01 08:47  Ulrich Drepper  <drepper@cygnus.com>
1325
1326         * gettext-0.10.35 released.
1327
1328 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
1329
1330         * printf-parse.h: Use unsigned char for parameters to read_int and
1331         parse_one_spec (for losing Solaris systems).
1332         Patch by Jim Meyering.
1333
1334 1998-04-28 11:42  Ulrich Drepper  <drepper@cygnus.com>
1335
1336         * hash.c: Include malloc.h if stdlib.h is not available.
1337         Include either string.h or strings.h.
1338
1339         * system.h: Include limits.h before defining MAX to prevent
1340         redefinitions.
1341
1342         * Makefile.am: Move basename.c from EXTRA_DIST to libnlsut_a_SOURCES.
1343
1344 1998-04-27 20:51  Ulrich Drepper  <drepper@cygnus.com>
1345
1346         * Makefile (EXTRA_DIST): Remove obstack.c here.
1347         (libnlsut_a_SOURCES): Add obstack.c here.
1348
1349         * alloca.c: Include string.h and stdlib.h if available.  Fix typos.
1350
1351         * getopt.c: Update from glibc version.
1352
1353         * hash.c: Include stdlib.h.  Use #if instead of #ifdef while testing
1354         HAVE_* macros.  Don't include system.h.
1355
1356         * printf-parse.h: Use #if instead of #ifdef.
1357
1358 1997-08-18 13:47  Philippe De Muyter  <phdm@info.ucl.ac.be>
1359
1360         * xstrdup.c (sys/types.h): File included.
1361         * system.h (strstr): Function prototype added.
1362
1363 1997-08-15 03:01  Ulrich Drepper  <drepper@cygnus.com>
1364
1365         * stpcpy.c, stpncpy.c: Copy version from glibc to fix severe bugs.
1366
1367 1997-08-01 15:47  Ulrich Drepper  <drepper@cygnus.com>
1368
1369         * Makefile.am (AUTOMAKE_OPTIONS): Require version 1.2.
1370
1371 Mon Mar 10 06:52:59 1997  Ulrich Drepper  <drepper@cygnus.com>
1372
1373         * xstrdup.c: Add more compatibility handling.  Pretty-print
1374         preprocessor directives.
1375
1376         * printf-parse.h: Define _GNU_SOURCE not __USE_GNU.
1377
1378         * Makefile.am: Change for use with automake-1.1.
1379
1380 1997-02-08 04:26  Ulrich Drepper  <drepper@cygnus.com>
1381
1382         * stpncpy.c: Update from version in GNU libc 2.0.  This corrects
1383         a long standing bug in xgettext.
1384
1385 Fri Dec  6 04:20:56 1996  Ulrich Drepper  <drepper@cygnus.com>
1386
1387         * system.h: Use PARAMS not __P for basename prototype.
1388         Reported by Kaveh R. Ghazi <ghazi@caip.rutgers.edu>.
1389
1390 Tue Dec  3 17:50:34 1996  Ulrich Drepper  <drepper@cygnus.com>
1391
1392         * system.h: Add prototype for basename.
1393
1394         * Makefile.am (EXTRA_DIST): Add basename.c.
1395
1396 Fri Nov 22 03:32:34 1996  Ulrich Drepper  <drepper@cygnus.com>
1397
1398         * Makefile.am (EXTRA_DIST): Rename strncase.c to strncasecmp.c.
1399
1400 Sat Aug 31 04:52:56 1996  Ulrich Drepper  <drepper@cygnus.com>
1401
1402         * Makefile.am (nlsut_SOURCES): Move error.c to EXTRA_DIST.
1403
1404 Wed Jun 19 02:45:02 1996  Ulrich Drepper  <drepper@cygnus.com>
1405
1406         * system.h: Add prototypes for stpncpy, strcasecmp, and
1407         strncasecmp.
1408
1409         * Makefile.am (EXTRA_DIST): Add strncase and stpncpy.
1410
1411 Fri Jun 14 03:56:23 1996  Ulrich Drepper  <drepper@cygnus.com>
1412
1413         * getline.c (_GNU_SOURCE): Define this macro, not __USE_GNU.
1414
1415         * Makefile.am (nlsut_SOURCES): Move getline.c and printf-prs.c to
1416         EXTRA_DIST.  Reported by Kaveh R. Ghazi.
1417
1418 Tue Jun 11 15:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
1419
1420         * printf-prs.c: Add some casts for `n'.
1421
1422         * printf-parse.h: Add prototypes and __USE_GNU definition.
1423
1424         * getline.c: Define __USE_GNU to get prototype.
1425
1426         * Makefile.am (AUTOMAKE_OPTIONS): Add variable.  Must be defined
1427         in all subdirs.
1428
1429 Wed Jun  5 16:54:43 1996  Ulrich Drepper  <drepper@cygnus.com>
1430
1431         * Makefile.am (INCLUDES): Define include paths to intl/ dir for
1432         <libintl.h> file.
1433
1434 Mon Jun  3 19:13:36 1996  Ulrich Drepper  <drepper@cygnus.com>
1435
1436         * getopt.c: Update from latest GNU libc source.  We don't need
1437         the AC_REPLACE_GNU_GETOPT anymore.
1438
1439         * Makefile.am (EXTRA_DIST): Remove files mentioned in
1440         nlsut_SOURCES from EXTRA_DIST.
1441         (nlsut_SOURCES): Add getopt.c and getopt1.c.
1442
1443 Wed Apr 24 23:48:42 1996  Ulrich Drepper  <drepper@myware>
1444
1445         * Makefile.in (GETOPT): Remove variable.
1446         (OBJECTS): Don't use $(GETOPT).  If not present the getopt are now
1447         listed in @LIBOBJS@.
1448
1449 Fri Apr  5 12:00:51 1996  Ulrich Drepper  <drepper@myware>
1450
1451         * Makefile.in (SOURCES): Remove whoami.c.
1452         (OBJECTS): Remove whoami.o.
1453
1454         * system.h: Remove prototype for `get_submitter'.
1455
1456 Thu Apr  4 21:14:51 1996  Ulrich Drepper  <drepper@myware>
1457
1458         * system.h: Add prototype for asprintf.
1459
1460 Tue Apr  2 18:53:38 1996  Ulrich Drepper  <drepper@myware>
1461
1462         * Makefile.in (all-gettext): New goal.  Same as all.
1463
1464 Tue Apr  2 12:57:44 1996  Ulrich Drepper  <drepper@myware>
1465
1466         * error.c, error.h: Update from version in GNU libc.
1467
1468 Tue Mar 26 12:35:56 1996  Ulrich Drepper  <drepper@myware>
1469
1470         * error.c, error.h: Applied François' patches for more
1471         portability.
1472
1473 Mon Mar 25 01:21:31 1996  Ulrich Drepper  <drepper@myware>
1474
1475         * Makefile.in (SOURCES): Add strstr.c.
1476
1477 Sun Mar 24 18:41:42 1996  Ulrich Drepper  <drepper@myware>
1478
1479         * error.c (error_with_loc): In `one error per line' mode check for
1480         old_file_name to be NULL first.  Reported by François Pinard.
1481
1482 Fri Mar  1 13:38:26 1996  Ulrich Drepper  <drepper@myware>
1483
1484         * getopt.c: Update from latest version in GNU C Library.
1485         * getopt1.c: Ditto.
1486         * getopt.h: Ditto.
1487
1488         * error.c (error_with_loc): Not simply compare string pointers to
1489         test for same file name.
1490         (error_with_loc): file_name parameter is really const.
1491
1492         * error.c (error_one_per_line): New variable.
1493         (error_with_loc): If error_one_per_line != 0, print at most one
1494         error per line.
1495
1496         * error.h: Declare new variable error_one_per_line.
1497
1498 Mon Jan  1 03:12:08 1996  Ulrich Drepper  <drepper@myware>
1499
1500         * Makefile.in (GETOPTSRC): Remove this variable.
1501
1502 Sat Dec 30 16:26:07 1995  Ulrich Drepper  <drepper@myware>
1503
1504         * Makefile.in (ERROR, ERRORSRC): New variables.  error.c is now
1505         part of GNU libc and will not be needed on systems running this
1506         lib.
1507         (SOURCES): Replace error.c with $(ERRORSRC).
1508         (OBJECTS): Replace error.o with $(ERROR).
1509
1510 Tue Dec 19 22:08:10 1995  Ulrich Drepper  <drepper@myware>
1511
1512         * Makefile.in (Makefile): Explicitly use $(SHELL) for running
1513         shell scripts.
1514
1515 Sat Dec  9 16:40:49 1995  Ulrich Drepper  <drepper@myware>
1516
1517         * whoami.c, system.h, printf.h, printf-parse.h, hash.h, hash.c,
1518         getline.h, fstrcmp.h, fstrcmp.c, error.h, error.c:
1519         Use PARAMS instead of __P.  Suggested by Roland McGrath.
1520
1521 Wed Dec  6 16:07:27 1995  ghazi@caip.rutgers.edu  <Kaveh R. Ghazi>
1522
1523         * system.h: Fix alloca declaration so that it matches the one
1524         generated by bison on HPUX.
1525
1526 Sat Nov 25 16:13:50 1995  Ulrich Drepper  <drepper@myware>
1527
1528         * whoami.c: Don't use #ifdef, prefer #if.
1529
1530         * error.c: Capitalize arguments of macros.  Patch by François Pinard.
1531
1532 Thu Nov 16 22:41:32 1995  Ulrich Drepper  <drepper@myware>
1533
1534         * whoami.c: Correct prototype declarations.
1535
1536         * xmalloc.c: Include "error.h" instead of defining error ourself.
1537
1538         * system.h: Include <stdio.h> to get FILE definition.
1539
1540         * hash.c: Peter Miller suggested not to use `div' as a variable name.
1541
1542         * error.c (error_print_progname): For ANSI C provide complete type.
1543         Include error.h.  Patches by Peter Miller.
1544
1545 Sun Nov 12 12:34:12 1995  Ulrich Drepper  <drepper@myware>
1546
1547         * whoami.c: Add prototypes.
1548         (get_submitter): Use stpcpy if available.
1549
1550 Sat Nov 11 00:26:31 1995  Ulrich Drepper  <drepper@myware>
1551
1552         * Makefile.in (HEADERS):
1553         Add missing pathmax.h file.  Reported by François Pinard.
1554
1555 Fri Nov 10 09:59:06 1995  Ulrich Drepper  <drepper@myware>
1556
1557         * error.h (error_print_progname):
1558         Provide real prototype, i.e. with argument types.
1559         Patch by Peter Miller.
1560
1561 Wed Nov  8 23:25:00 1995  Ulrich Drepper  <drepper@myware>
1562
1563         * system.h: Add prototype for xgetcwd.
1564
1565         * Makefile.in (SOURCES): Add xgetcwd.c.
1566         (OBJECTS): Add xgetcwd.o.
1567
1568 Tue Nov  7 11:44:32 1995  Ulrich Drepper  <drepper@myware>
1569
1570         * Makefile.in (intldir):
1571         New variable.  Use its value instead of ../intl.
1572
1573 Sun Nov  5 19:40:03 1995  Ulrich Drepper  <drepper@myware>
1574
1575         * Makefile.in (dist-gettext): Make synonym for dist.
1576
1577 Sun Nov  5 18:04:11 1995  Ulrich Drepper  <drepper@myware>
1578
1579         * hash.c (find_entry): Remove unused variable retval.
1580
1581 Sun Nov  5 11:38:19 1995  Ulrich Drepper  <drepper@myware>
1582
1583         * Makefile.in (dist): Suppress error message when ln failed.
1584         Get files from $(srcdir) explicitly.
1585
1586 Sat Oct 28 14:25:13 1995  Ulrich Drepper  <drepper@myware>
1587
1588         * fstrcmp.c:
1589         Revised version by Peter Miller.  Now based on GNU diff's version
1590         of this algorithm.
1591
1592 Wed Sep 27 20:18:44 1995  Ulrich Drepper  <drepper@myware>
1593
1594         * system.h: Include sys/types.h for those old SysV systems out there.
1595         Reported by Francesco Potorti`.
1596
1597 Mon Sep 25 22:26:28 1995  Ulrich Drepper  <drepper@myware>
1598
1599         * obstack.h (ptrdiff_t):
1600         Don't define unless HAVE_PTRDIFF_T is not defined.  This
1601         solves problems with Sun's compiler.  Reported by Marcus Daniels.
1602
1603 Mon Sep 18 10:45:48 1995  Ulrich Drepper  <drepper@myware>
1604
1605         * fstrcmp.h, fstrcmp.c: Initial revision
1606
1607 Sun Sep 17 23:37:15 1995  Ulrich Drepper  <drepper@myware>
1608
1609         * Makefile.in: Add fstrcmp.[ch] to libgettext.
1610
1611         * system.h (open_po_file): Remove unused `use_path' parameter.
1612
1613         * hash.c:
1614         Rewrite for uniform return values: < 0 for error cases, else >= 0.
1615
1616         * Makefile.in: hash.[ch] moved from src/ to lib/ subdirectory.
1617
1618 Mon Aug 28 10:05:31 1995  Ulrich Drepper  <drepper@myware>
1619
1620         * Makefile.in: Remove Emacs hints.
1621
1622         * Makefile.in (libnlsut.a): Use $@ instead of full name.
1623
1624 Sat Aug 19 17:37:24 1995  Ulrich Drepper  <drepper@myware>
1625
1626         * Makefile.in (install-src): Make depend on `all'.
1627
1628 Tue Aug 15 05:51:25 1995  Ulrich Drepper  <drepper@myware>
1629
1630         * system.h (xgetcwd): Remove prototype.
1631
1632 Mon Aug 14 23:52:41 1995  Ulrich Drepper  <drepper@myware>
1633
1634         * Makefile.in (install-src): New no-op goal.
1635
1636 Wed Aug  9 10:05:09 1995  Ulrich Drepper  <drepper@myware>
1637
1638         * system.h (MAX):
1639         Mark GCC variant with __extension__ and change typeof to __typeof__.
1640
1641 Tue Aug  8 21:02:28 1995  Ulrich Drepper  <drepper@myware>
1642
1643         * strcasecmp.c: Initial revision.
1644
1645         * Makefile.in (SOURCES): Add strcasecmp.c.
1646
1647 Mon Aug  7 21:17:51 1995  Ulrich Drepper  <drepper@myware>
1648
1649         * strcspn.c: Initial revision.
1650
1651         * Makefile.in (SOURCES): Add strcspn.c.
1652
1653 Fri Aug  4 15:44:00 1995  Ulrich Drepper  <drepper@myware>
1654
1655         * Makefile.in (dist): Remove `copying instead' message.
1656
1657 Wed Aug  2 18:51:33 1995  Ulrich Drepper  <drepper@myware>
1658
1659         * Makefile.in (ID, TAGS): Do not use $^.
1660
1661 Tue Aug  1 20:07:40 1995  Ulrich Drepper  <drepper@myware>
1662
1663         * Makefile.in (distclean): Remove ID file.
1664
1665         * Makefile.in (TAGS, ID): Use $^ as command argument.
1666         (TAGS): Give etags -o option t write to current directory,
1667         not $(srcdir).
1668         (ID): Use $(srcdir) instead os $(top_srcdir)/src.
1669
1670 Wed Jul 19 23:54:32 1995  Ulrich Drepper  <drepper@myware>
1671
1672         * strtol.c: Change copyright from LGPL to GPL.
1673
1674 Tue Jul 18 20:09:04 1995  Ulrich Drepper  <drepper@myware>
1675
1676         * strtol.c (ULONG_MAX): Define if not defined in system header.
1677         Reported by Francesco Potorti`.
1678
1679         * printf-parse.h (parse_one_spec): Define prototype.
1680
1681         * obstack.h: Put stddef.h include statement back in.
1682
1683 Tue Jul 18 00:19:54 1995  Ulrich Drepper  <drepper@myware>
1684
1685         * vasprintf.c, strtol.c, obstack.c, getopt1.c, getopt.c, system.h,
1686         printf.h, obstack.h, getline.h: Uniform test for __STDC__.
1687
1688 Mon Jul 17 01:13:09 1995  Ulrich Drepper  <drepper@myware>
1689
1690         * system.h (HAVE_MALLOC_H):
1691         Remove obsolete #else case.  Was needed when we tried
1692         to define free ourself.
1693
1694         * system.h, error.h, strtoul.c, printf-parse.h, memmove.c,
1695         getline.h: Add `Free' to Software Foundation.
1696
1697         * getline.h:
1698         Remove unneeded comment after #endif.  We now use indentation.
1699
1700         * getline.c: Indent preprocessor directives.
1701
1702         * strtol.c (NULL): Define manualy if not defined in any included file.
1703
1704 Sat Jul 15 23:59:26 1995  Ulrich Drepper  <drepper@myware>
1705
1706         * obstack.h: Add accidentally removed #endif.
1707
1708 Sat Jul 15 23:31:45 1995  Ulrich Drepper  <drepper@myware>
1709
1710         * vasprintf.c, printf-prs.c, obstack.h, obstack.c, memmove.c,
1711         printf.h, printf-parse.h:
1712         Exchange old LGPL against new GPL (no LGPL code in normal packages).
1713
1714         * getline.h: Add copyright.
1715
1716         * strtoul.c, strtol.c: Initial revision
1717
1718         * obstack.h (ptrdiff_t):
1719         Don't include stddef.h.  Try to get it with sys/types.h and
1720         if _PTRDIFF_T and ptrdiff_t are not defined, define it to off_t
1721         (which is at least defined in config.h).
1722
1723         * system.h (HAVE_STDLIB_H):
1724         Is not useful if STDC_HEADERS is not also defined.
1725
1726 Sat Jul 15 00:49:22 1995  Ulrich Drepper  <drepper@myware>
1727
1728         * error.h: Correct definition of size_t: don't try to include
1729         stddef.h, but instead use sys/types.  If it is not found here,
1730         the config.h file will define it.
1731
1732         * system.h: Load <stdlib.h> before defining prototypes.  This
1733         avoids problems with size_t not defined in the prototypes.
1734
1735         * printf-parse.h (find_spec): Handle missing mblen function.
1736
1737 Thu Jul 13 22:28:38 1995  Ulrich Drepper  <drepper@myware>
1738
1739         * system.h (MAX):
1740         Move definition to end to reduce possibility of redefinition.
1741
1742         * whoami.c (get_username, get_hostname, get_submitter):
1743         Use K&R prototypes.
1744
1745         * vasprintf.c: Include config.h.
1746
1747         * printf.h (printf_info):
1748         Use `char' and `unsigned' instead of `unsigned char' and
1749         `unsigned int' resp. to help these dumb K&R compilers.
1750
1751         * printf-parse.h:
1752         Compilers other than GCC don't have `long long', K&R compiler
1753         even don't have `long double'.
1754
1755 Thu Jul 13 01:41:41 1995  Ulrich Drepper  <drepper@myware>
1756
1757         * Makefile.in (check): New goal.
1758
1759 Tue Jul 11 21:37:19 1995  Ulrich Drepper  <drepper@myware>
1760
1761         * vasprintf.c (HAVE_STRTOUL):
1762         Not needed anymore because we substitute strtoul if not present.
1763
1764 Tue Jul 11 01:34:06 1995  Ulrich Drepper  <drepper@myware>
1765
1766         * whoami.c: Define NULL is necessary.
1767
1768         * obstack.h: Protect inclusion of stddef and define ptrdiff_t if
1769         necessary.
1770
1771         * memmove.c: Include sys/types.h and perhaps stdlib.h instead of
1772         stddef.h for getting size_t defined.
1773
1774         * system.h: Don't define free, qsort, and strtol when no header
1775         file is available.
1776         Define EXIT_{FAILURE,SUCCESS} after stdlib.h is included.
1777
1778         * printf.h: Protect non-ANSI header inclusion.
1779         Protect __P definition.
1780         Don't use __const in prototypes.
1781
1782         * printf-prs.c: Include config.h.
1783         Protect stdlib.h inclusion.
1784
1785         * printf-parse.h: Protect header inclusion for non-ANSI environments.
1786         Protect and de-GCC-ify MAX/MIN definition.
1787
1788         * Makefile.in (SOURCES): New files: strtol.c and strtoul.c.
1789         Depend $(OBJECT) on config.h,, instead of $(LIBOBJS).
1790         Better dependency for printf-prs.o.
1791
1792 Tue Jul  4 22:09:00 1995  Ulrich Drepper  <drepper@myware>
1793
1794         * Makefile.in (SOURCES): add memmove.c.
1795
1796         * memmove.c: Initial revision.
1797
1798         * error.h: Make size_t definition correct for !__STDC__.
1799         Include <stddef.h> for getting size_t defined.
1800
1801         * vasprintf.c: Don't use strtoul if !HAVE_STRTOUL.
1802
1803         * system.h: Include <stdlib.h> also if defined HAVE_STDLIB_H.
1804         Make sure that qsort, free and strtoul are prototyped.
1805
1806 Mon Jul  3 15:02:50 1995  Ulrich Drepper  <drepper@myware>
1807
1808         * system.h: system.h (MAX): don't use GCC feature if !__STDC__.
1809         Fix typo in EXIT_FAILURE defintion.
1810
1811         * xmalloc.c: Include prototype for calloc.c.
1812
1813         * Makefile.in (INCLUDES): even better path list.
1814         (INCLUDES): remove unnecessary paths.
1815         Correct path to original version.
1816
1817 Sun Jul  2 02:01:43 1995  Ulrich Drepper  <drepper@myware>
1818
1819         * First official release.  This directory contains supplementary
1820         code taken from GNU C Library and other package's lib/
1821         directories.