error.c, md5.c, regex.c: Use '#if USE_UNLOCKED_IO' instead of
[gnulib.git] / ChangeLog
1 2004-10-04  Paul Eggert  <eggert@cs.ucla.edu>
2
3         * modules/argmatch, modules/argp, modules/closeout, modules/error,
4         modules/exclude, modules/getdate, modules/getline,
5         modules/getndelim2, modules/getpass, modules/getpass-gnu,
6         modules/getusershell, modules/linebuffer, modules/md5,
7         modules/mountlist, modules/posixtm, modules/readtokens,
8         modules/readutmp, modules/regex, modules/sha1,
9         modules/version-etc, modules/yesno:
10         Remove dependency on unlocked-io.
11
12 2004-10-04  Bruno Haible  <bruno@clisp.org>
13
14         * modules/README: New file.
15         * gnulib-tool (func_all_modules, func_verify_module): modules/README is
16         not a module.
17
18 2004-10-04  Simon Josefsson  <jas@extundo.com>
19
20         * modules/memmem: New file.
21         * tests/test-memmem.c: New file.
22         * MODULES.html.sh (Extra functions based on ANSI C 89): Add memmem.
23
24 2004-10-01  Bruno Haible  <bruno@clisp.org>
25
26         * MODULES.html.sh: Add strsep.
27
28 2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
29
30         * modules/strsep: New file.
31
32 2004-09-30  Paul Eggert  <eggert@cs.ucla.edu>
33
34         * MODULES.html.sh (Support for systems lacking ISO C 99): Add snprintf.
35
36 2004-09-30  Simon Josefsson  <jas@extundo.com>
37
38         * modules/snprintf: New file.
39
40 2004-09-30  Paul Eggert  <eggert@cs.ucla.edu>
41
42         * modules/argp (Maintainer): Replace Simon Josefsson
43         by Sergey Poznyakoff.
44
45 2004-09-29  Bruno Haible  <bruno@clisp.org>
46
47         * modules/alloca-opt: New file, derived from modules/alloca.
48         * modules/allocsa: Depend on alloca-opt instead of alloca.
49         * modules/setenv: Likewise.
50         * modules/vasnprintf: Likewise.
51         * MODULES.html.sh: Add alloca-opt.
52
53 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
54
55         * modules/dummy: Change license to LGPL.
56
57 2004-09-29  Simon Josefsson  <jas@extundo.com>
58
59         * gnulib-tool: New parameter --lgpl, to asseert that modules are
60         LGPL, and to replace license template from GPL to LGPL.
61
62 2004-09-23  Simon Josefsson  <jas@extundo.com>
63
64         * gnulib-tool (--import): Make sure *.m4 end up in m4/ by default.
65
66 2004-09-22  Bruno Haible  <bruno@clisp.org>
67
68         * modules/*: Add 'License' field.
69         * gnulib-tool: Accept --extract-license option.
70         (func_get_license): New function.
71
72 2004-09-21  Bruno Haible  <bruno@clisp.org>
73
74         * modules/vasnprintf (Files): Add m4/stdint_h.m4, m4/inttypes_h.m4.
75         Reported by Simon Josefsson.
76
77 2004-09-20  Paul Eggert  <eggert@cs.ucla.edu>
78
79         * modules/inttostr (Files): Add m4/longlong.m4, since it uses
80         gl_AC_TYPE_LONG_LONG.
81
82 2004-09-18  Simon Josefsson  <jas@extundo.com>
83        and  Paul Eggert  <eggert@cs.ucla.edu>
84
85         * gnulib-tool: Replace various ad-hoc automake/autoconf/aclocal
86         calls with autoreconf.  Define GL_LIB.
87
88 2004-09-09  Karl Berry  <karl@gnu.org>
89
90         * regex.[ch]: delete from the root.  These were supposed to be
91                 synced with emacs cvs, but this has not happened for about
92                 a year, and anyway nothing else uses emacs regex.[ch].
93                 bug-gnulib mail from Jeff Bailey, 9 Sep 2004 15:49:24 -0700.
94                 lib/regex[.ch] is untouched.
95
96 2004-09-09  Bruno Haible  <bruno@clisp.org>
97
98         * modules/vasnprintf (Files): Add m4/eoverflow.m4.
99
100 2004-09-08  Bruno Haible  <bruno@clisp.org>
101             Oskar Liljeblad  <oskar@osk.mine.nu>
102
103         * modules/stdint: New file.
104         * MODULES.html.sh (Support for systems lacking ISO C 99): Add stdint.
105
106 2004-09-08  Oskar Liljeblad  <oskar@osk.mine.nu>
107
108         * modules/xvasprintf: New file.
109         * MODULES.html.sh (Extra functions based on ANSI C 89): Add vasprintf.
110
111 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
112
113         * modules/userspec: Don't depend on alloca.
114
115 2004-08-17  Paul Eggert  <eggert@cs.ucla.edu>
116
117         * MODULES.html.sh: Add xalloc-die, c-strtod, c-strtold, raise,
118         readtokens0, getcwd, fcntl-safer, canonicalize, cycle-check,
119         utimecmp, utimens, xnanosleep.  Rename sha to sha1.
120
121 2004-08-16  Simon Josefsson  <jas@extundo.com>
122
123         * gnulib-tool: Use sed instead of autoconf --trace, inspired by
124         libtoolize behaviour by "Gary V. Vaughan" <gary@gnu.org>.
125         Add --dry-run for --import.
126         Let user provided command line parameters override configure.ac
127         settings.
128
129 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
130
131         * modules/argp (Files): Add m4/unlocked-io.m4.
132         (Depends-on): Add extensions.
133
134 2004-08-12  Simon Josefsson  <jas@extundo.com>
135
136         * gnulib-tool: Add --source-base, --m4-base, --libtool options.
137         Change default library name from libfoo to libgnu.
138         Now, if you have a configure.ac that says:
139                 gl_SOURCE_BASE(gl)
140                 gl_M4_BASE(gl/m4)
141                 gl_MODULES(error getopt etcetera)
142                 gl_INIT
143         you can import all you need by running:
144                 ../gnulib/gnulib-tool --import
145
146         * modules/getopt (Files): Rename getopt.h to getopt_.h.
147         (Makefile.am): Rewrite, use logic from argz.
148         (Include): Use <getopt.h> instead of "getopt.h".
149
150 2004-08-11  Paul Eggert  <eggert@cs.ucla.edu>
151
152         * modules/obstack (Files): Add m4/inttypes_h.m4, m4/stdint_h.m4,
153         m4/uintmax_t.m4.
154
155 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
156
157         * modules/xalloc-die: New file.
158         * modules/xalloc: Remove dependencies on error, gettext, exitfail.
159
160         * modules/md5 (Files): Add m4/uint32_t.m4.
161         * modules/sha1: Renamed from modules/sha.
162         (Files):
163         Rename lib/sha.h to lib/sha1.h.
164         Rename lib/sha.c to lib/sha1.c.
165         Rename m4/sha.m4 to m4/sha1.m4.
166         (lib_SOURCES): Likewise.
167         (configure.ac): Rename gl_SHA to gl_SHA1.
168         (Include): sha.h -> sha1.h.
169
170 2004-08-08  Simon Josefsson  <jas@extundo.com>
171
172         * modules/xgethostname (Depends-on): Remove exit and error (not
173         used).
174
175         * modules/getpass-gnu: Add getpass.h.
176         (Depends-on): Add stdbool.
177         * modules/getpass: Add getpass.h.
178
179 2004-08-06  Paul Eggert  <eggert@cs.ucla.edu>
180
181         More merge from coreutils.
182         * modules/raise, modules/readtokens0, modules/utimens,
183         modules/utimecmp, module/xnanosleep: New files.
184         * modules/strftime: Add lib/strftime.h.
185         Change include from <time.h> to "strftime.h".
186         * modules/yesno: Add lib/yesno.h.
187         * modules/backupfile: Remove lib/addext.c.
188         * modules/euidaccess: Add stat-macros.h.
189         * modules/canonicalize, modules/euidaccess,
190         modules/filemode, modules/lchown, modules/makepath,
191         modules/rmdir, modules/stat: Likewise.
192
193 2004-08-03  Simon Josefsson  <jas@extundo.com>
194
195         * modules/progname (Depends-on): Don't depend on stdbool.
196
197 2004-08-02  Simon Josefsson  <jas@extundo.com>
198
199         * modules/getsubopt: New file.
200         * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
201         getsubopt.
202
203 2004-08-05  Paul Eggert  <eggert@cs.ucla.edu>
204
205         Merge from coreutils.
206         * modules/c-strtod, modules/c-strtold, modules/canonicalize,
207         modules/cycle-check, modules/fcntl-safer, modules/getcwd: New files.
208         * modules/path-concat: Don't depend on strdup.
209
210 2004-08-03  Paul Eggert  <eggert@cs.ucla.edu>
211
212         * modules/fatal: Remove, as the "fatal" module wasn't used or working.
213         * MODULES.html.sh (func_all_modules): Remove fatal.
214
215 2004-07-19  Bruno Haible  <bruno@clisp.org>
216
217         * MODULES.html.sh (func_all_modules): Add dummy.
218
219 2004-07-16  Simon Josefsson  <jas@extundo.com>
220
221         * modules/dummy: New file.
222
223 2004-07-09  Paul Eggert  <eggert@cs.ucla.edu>
224
225         * modules/chown (Files): Add lib/fchown-stub.c, since
226         gl_PREREQ_CHOWN invokes AC_LIBOBJ(fchown-stub).
227
228 2004-06-22  Paul Eggert  <eggert@cs.ucla.edu>
229
230         * modules/argz: Omit "#include".
231
232         * MODULES.html.sh (func_all_modules): Add calloc, to match
233         2004-06-01 addition of calloc module.
234
235 2004-06-22  Gary V. Vaughan  <gary@gnu.org>
236
237         * modules/argz: New file.
238         * MODULES.html.sh (func_all_modules): Add argz.
239
240 2004-06-12  Jim Meyering  <jim@meyering.net>
241        and  Paul Eggert  <eggert@cs.ucla.edu>
242
243         * modules/hash (Files): Add lib/xalloc.h.
244         * modules/pipe (Depends-on): Add wait-process.
245         * modules/stat (Depends-on): Add xalloc.
246         * modules/userspec (Files): Add lib/userspec.h.
247         * modules/xstrtol (Depends-on): Add error.
248
249 2004-06-01  Jim Meyering  <jim@meyering.net>
250
251         * modules/calloc: New file.
252
253 2004-06-01  Paul Eggert  <eggert@cs.ucla.edu>
254
255         * modules/file-type: Add lib/stat-macros.h.
256
257 2004-05-30  Paul Eggert  <eggert@cs.ucla.edu>
258
259         * modules/hash (Depends-on): Remove malloc, realloc.
260         * modules/xalloc (Depends-on): Likewise.
261
262         * README: Mention that the 'free' module works around the
263         problem with 'free (0)'.
264         Mention LIA-1 and C99.
265         Add a copyright notice.
266
267 2004-05-17  Derek R. Price  <derek@ximbiot.com>
268             Paul Eggert  <eggert@cs.ucla.edu>
269
270         * modules/argp: Depend on alloca.
271
272 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
273
274         * modules/getdate: Depend on alloca.
275         * modules/setenv: Likewise.
276
277 2004-05-04  Derek Price  <derek@ximbiot.com>
278
279         * modules/argp: Remove dependency on alloca.
280
281 2004-04-27  Derek Price  <derek@ximbiot.com>
282
283         * m4/dos.m4 (gl_AC_DOS): Add Cygwin to list of Windows/DOS
284         environments that accept backslashes and drive letters in paths.
285
286 2004-04-20  Jim Meyering  <jim@meyering.net>
287
288         * modules/dirfd: Change UTILS_ macro name prefix to gl_.
289         * modules/mkstemp: Likewise.
290         * modules/mkdir: Likewise.
291
292 2004-04-18  Jim Meyering  <jim@meyering.net>
293
294         Change jm_ to gl_ in AC_DEFINE'd names.
295         * modules/assert, modules/chown, modules/fpending:
296         * modules/ftruncate, modules/getgroups, modules/group-member:
297         * modules/lchown, modules/lstat, modules/memcmp:
298         * modules/nanosleep, modules/putenv, modules/stat:
299         * modules/strftime, modules/unlocked-io, modules/utime:
300         * modules/xstrtoimax, modules/xstrtoumax:
301
302 2004-04-12  Paul Eggert  <eggert@twinsun.com>
303
304         * config/srclist.txt: Restore setenv.c, unsetenv.c from gettext.
305         Add intmax.m4, printf-posix.m4, sig_atomic_t.m4,
306         signalblocking.m4, ssize_t.m4.
307         * lib/unsetenv.c: Regenerate: this subtracts 1 from the
308         copyright year (!).
309         * m4/printf-posix.m4: Regenerate.
310
311         * modules/inttostr (EXTRA_DIST): Move inttostr.c here....
312         (lib_SOURCES): from here.
313         * modules/getopt (lib_SOURCES): Add getopt_int.h.
314
315 2004-04-12  Jim Meyering  <jim@meyering.net>
316
317         * MODULES.html.sh (func_all_modules): Add cloexec, inttostr, free,
318         tzset.
319
320 2004-03-30  Jim Meyering  <jim@meyering.net>
321
322         * modules/realloc (Files): Remove m4/realloc.m4.
323         (configure.ac): Depend on AC_FUNC_REALLOC, rather than jm_FUNC_REALLOC.
324         * modules/malloc (Files): Remove m4/malloc.m4.
325         (configure.ac): Depend on AC_FUNC_MALLOC, rather than jm_FUNC_MALLOC.
326
327 2004-03-30  Paul Eggert  <eggert@twinsun.com>
328
329         * modules/inttostr: New file.
330         * modules/getdate: Depend on timespec, stdbool, gettime.
331
332 2004-03-29  Paul Eggert  <eggert@twinsun.com>
333
334         * modules/getloadvg: Depend on cloexec and xalloc.
335
336 2004-03-09  Paul Eggert  <eggert@twinsun.com>
337
338         * modules/getopt: Add lib/getopt_int.h.
339
340 2004-01-18  Simon Josefsson  <jas@extundo.com>
341
342         * modules/strdup (Files, Makefile.am): Add strdup.h.
343
344 2004-02-22  Bruno Haible  <bruno@clisp.org>
345
346         * modules/xalloc: Remove dependency on stdbool.
347         Reported by Derek Robert Price <derek@ximbiot.com>.
348
349 2004-02-03  Bruno Haible  <bruno@clisp.org>
350
351         * modules/pipe: New file.
352         * MODULES.html.sh (func_all_modules): Add pipe.
353
354 2004-01-27  Bruno Haible  <bruno@clisp.org>
355
356         * modules/execute: New file.
357         * MODULES.html.sh (func_all_modules): Add execute.
358
359 2004-01-23  Paul Eggert  <eggert@twinsun.com>
360
361         * modules/argmatch, modules/obstack, modules/xstrtol:
362         Depend on exitfail.
363
364 2004-01-20  Bruno Haible  <bruno@clisp.org>
365
366         * modules/setenv: Depend on allocsa instead of alloca.
367
368 2004-01-20  Bruno Haible  <bruno@clisp.org>
369
370         * modules/xallocsa: New file.
371         * MODULES.html.sh (func_all_modules): Add xallocsa.
372
373 2004-01-20  Bruno Haible  <bruno@clisp.org>
374
375         * modules/allocsa: New file.
376         * MODULES.html.sh (func_all_modules): Add allocsa.
377
378 2004-01-20  Bruno Haible  <bruno@clisp.org>
379
380         * modules/eealloc: New file.
381         * MODULES.html.sh (func_all_modules): Add eealloc.
382
383 2004-01-15  Paul Eggert  <eggert@twinsun.com>
384
385         * modules/poll: Add BUILT_SOURCES.
386         Prefer "$@" to "poll.h" in rule for building poll.h.
387         All this is for consistency with alloca and fnmatch.
388
389         * modules/same: Depend on stdbool.
390
391 2003-12-03  Bruno Haible  <bruno@clisp.org>
392
393         Upgrade from gettext-0.13.
394         * modules/gettext (Files): Add m4/intmax.m4, m4/longdouble.m4,
395         m4/longlong.m4, m4/printf-posix.m4, m4/signed.m4, m4/size_max.m4,
396         m4/wchar_t.m4, m4/wint_t.m4, m4/xsize.m4.
397
398 2003-11-25  Bruno Haible  <bruno@clisp.org>
399
400         * modules/vasnprintf (Files): Remove m4/ssize_t.m4.
401
402 2003-11-24  Paul Eggert  <eggert@twinsun.com>
403
404         * modules/alloca: Remove dependency on xalloc.
405
406 2003-11-17  Paul Eggert  <eggert@twinsun.com>
407
408         * README: Mention that S+T cannot overflow if S is the size of
409         an existing object and T is sufficiently small.
410
411 2003-11-17  Bruno Haible  <bruno@clisp.org>
412
413         * modules/vasnprintf (Files): Add m4/ssize_t.m4.
414         (Depends-on): Add xsize.
415
416 2003-11-12  Paul Eggert  <eggert@twinsun.com>
417
418         * modules/xalloc (Files): Undo latest change, since xalloc.h
419         no longer needs SIZE_MAX or PTRDIFF_MAX.
420
421 2003-11-11  Bruno Haible  <bruno@clisp.org>
422
423         * modules/xsize (Files): Add m4/size_max.m4.
424         * modules/xalloc (Files): Add m4/size_max.m4, m4/ptrdiff_max.m4.
425
426 2003-11-04  Bruno Haible  <bruno@clisp.org>
427
428         * modules/xsize: New file.
429         * modules/linebreak: Depend on xsize.
430         * MODULES.html.sh (func_all_modules): Add xsize.
431
432 2003-11-04  Jim Meyering  <jim@meyering.net>
433
434         * modules/sysexits: Use the `$(VAR)' notation for AC_SUBST'd
435         variable names, rather than @VAR@.
436         * modules/poll: Likewise.
437
438 2003-11-03  Jim Meyering  <jim@meyering.net>
439
440         * modules/userspec (lib_SOURCES): Add userspec.h.
441         (Include): Add "userspec.h".
442         Improve description.
443
444 2003-10-29  Paul Eggert  <eggert@twinsun.com>
445
446         * modules/group-member: Depend on stdbool.
447
448 2003-10-20  Bruno Haible  <bruno@clisp.org>
449
450         * modules/wait-process: New file.
451         * MODULES.html.sh (func_all_modules): Add wait-process.
452
453 2003-10-16  Paul Eggert  <eggert@twinsun.com>
454
455         * README: Mention that gnulib assumes that (foo *) NULL + 0 == NULL.
456
457 2003-10-14  Bruno Haible  <bruno@clisp.org>
458
459         * modules/fatal-signal: Add m4/sig_atomic_t.m4 to file list.
460
461 2003-10-12  Paul Eggert  <eggert@twinsun.com>
462
463         * modules/xalloc: Do not depend on 'exit'.  Depend on 'stdbool'.
464         Change maintainer from Bruno Haible to 'all'.
465
466 2003-10-10  Simon Josefsson  <jas@extundo.com>
467
468         * modules/argp (Depends-on): Add restrict and strcase.
469
470 2003-10-08  Paul Eggert  <eggert@twinsun.com>
471
472         * modules/getpass: Depend on stdbool.
473
474 2003-10-06  Bruno Haible  <bruno@clisp.org>
475
476         * modules/version-etc-2: Remove file.
477         * MODULES.html.sh (func_all_modules): Remove version-etc-2.
478
479 2003-10-06  Bruno Haible  <bruno@clisp.org>
480
481         * modules/fatal-signal: New file.
482         * MODULES.html.sh (func_all_modules): Add fatal-signal.
483
484 2003-10-05  Paul Eggert  <eggert@twinsun.com>
485
486         * README: Rework advice for preventing empty .o files.
487         Don't recommend ELIDE constructs.  Recommend <stddef.h>,
488         not <sys/types.h>.
489
490 2003-10-02  Bruno Haible  <bruno@clisp.org>
491
492         * modules/lchown (Include): Add lchown.h.
493         * modules/time_r (Include): Use "..." syntax.
494         * modules/xgetdomainname (Include): Add xgetdomainname.h.
495
496 2003-10-01  Simon Josefsson  <jas@extundo.com>
497
498         * MODULES.html.sh (func_all_modules): Move gethostname from section
499         'based on' to section 'lacking' POSIX:2001.
500
501 2003-09-27  Oskar Liljeblad  <oskar@osk.mine.nu>
502
503         Trivial fixes to Makefile.am parts of module listings.
504         * modules/strstr: Append strstr.h to lib_SOURCES.
505         * modules/strcase: Likewise, for strcase.h.
506
507 2003-09-27  Paul Eggert  <eggert@twinsun.com>
508
509         * modules/free: New file.
510
511 2003-09-25  Bruno Haible  <bruno@clisp.org>
512
513         * modules/version-etc-2: New file, from modules/version-etc with
514         modifications.
515         * MODULES.html.sh (func_all_modules): Add version-etc-2.
516
517 2003-09-25  Simon Josefsson  <jas@extundo.com>
518             Bruno Haible  <bruno@clisp.org>
519
520         * modules/getdomainname: New file.
521         * modules/xgetdomainname: New file.
522         * MODULES.html.sh (func_all_modules): Add getdomainname, xgetdomainname.
523
524 2003-09-24  Paul Eggert  <eggert@twinsun.com>
525
526         * README: Document assumptions that 'int' is at least 32 bits
527         wide, that integer arithmetic is 2's complement without overflow,
528         that there are no holes in integer values, that adding sizes of
529         two nonoverlapping objects can't overflow, and that all-bits-zero
530         yields scalar zero.  Fix spelling and capitalization typos.
531
532 2003-09-24  Simon Josefsson  <jas@extundo.com>
533
534         * modules/xgethostname: Add xgethostname.h.
535
536 2003-09-17  Paul Eggert  <eggert@twinsun.com>
537
538         * gnulib-tool: Use "test -h", not "test -L", for portability
539         to Solaris 8 /bin/sh.  (This bug is fixed in Solaris 9.)
540         (tags_regexp): Remove, since \| doesn't conform to POSIX.
541         (sed_extract_prog): Issue s commands one-by-one, rather than
542         using \| in one s command.
543
544 2003-09-16  Bruno Haible  <bruno@clisp.org>
545
546         * gnulib-tool (func_create_testdir): Warn about duplicated
547         dependencies.
548
549 2003-09-15  Paul Eggert  <eggert@twinsun.com>
550
551         * modules/argmatch, modules/fatal, modules/obstack,
552         modules/xalloc, modules/xgethostname: Sort dependencies by
553         importance, not alphabetically.
554
555 2003-09-14  Bruno Haible  <bruno@clisp.org>
556
557         * modules/fwriteerror: New file.
558         * MODULES.html.sh (func_all_modules): Add fwriteerror.
559
560 2003-09-12  Paul Eggert  <eggert@twinsun.com>
561
562         * modules/argmatch, modules/exitfail, modules/fatal, modules/obstack,
563         modules/xgethostname, modules/xalloc: Depend on exit.
564
565 2003-09-09  Paul Eggert  <eggert@twinsun.com>
566
567         * README: New section: portability guidelines.
568
569 2003-09-07  Paul Eggert  <eggert@twinsun.com>
570
571         * modules/time_r: Depend on 'restrict'.  Fix from Simon Josefsson in
572         <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>.
573
574 2003-09-06  Paul Eggert  <eggert@twinsun.com>
575
576         * MODULES.html.sh (func_all_modules): Add time_r.
577         * modules/time_r: New file.
578         * modules/mktime, modules/strftime, modules/timegm: Depend on time_r.
579         * modules/timegm: Depend on mktime.  Change maintainer to "all, glibc".
580
581 2003-08-31  Simon Josefsson  <jas@extundo.com>
582
583         * modules/timegm: New file.
584         * MODULES.html.sh (func_all_modules): Add timegm.
585
586 2003-08-22  Simon Josefsson  <jas@extundo.com>
587
588         * modules/strndup (Makefile.am): Add strndup.h to lib_SOURCES.
589
590 2003-08-20  Bruno Haible  <bruno@clisp.org>
591
592         * modules/progname: New file.
593         * MODULES.html.sh (func_all_modules): Add progname.
594
595 2003-08-18  Paul Eggert  <eggert@twinsun.com>
596
597         * modules/stdbool: Add BUILT_SOURCES.  Prefer $@ to target name
598         in makefile rules.
599
600 2003-08-17  Simon Josefsson  <jas@extundo.com>
601
602         * modules/argp: Fix autoconf macro name. Add more dependencies.
603
604 2003-08-17  Simon Josefsson  <jas@extundo.com>
605
606         * modules/xstrndup: New file.
607         * MODULES.html.sh (func_all_modules): Add xstrndup.
608
609 2003-08-17  Bruno Haible  <bruno@clisp.org>
610
611         * modules/strndup (Files, Include): Add lib/strndup.h.
612
613 2003-08-17  Bruno Haible  <bruno@clisp.org>
614
615         * gnulib-tool (func_create_testdir): Handle gl_USE_SYSTEM_EXTENSIONS
616         like AC_GNU_SOURCE.
617         * modules/extensions (configure.ac): Comment out the invocation of
618         gl_USE_SYSTEM_EXTENSIONS.
619
620 2003-08-17  Bruno Haible  <bruno@clisp.org>
621
622         * modules/euidaccess (Files): Add lib/euidaccess.h.
623
624 2003-08-16  Paul Eggert  <eggert@twinsun.com>
625
626         Document merge from coreutils.
627         * modules/alloca: Append $(ALLOCA_H) to BUILT_SOURCES.
628         * modules/fnmatch: Append $(FNMATCH_H) to BUILT_SOURCES.
629         * modules/utime: Add m4/utimes-null.m4.
630
631 2003-08-15  Paul Eggert  <eggert@twinsun.com>
632
633         Document merge from coreutils.
634         * modules/userspec: Depend on posixver.
635         * modules/strftime: Depend on tzset.
636
637 2003-08-14  Jim Meyering  <jim@meyering.net>
638
639         Merges from coreutils.
640         * modules/fnmatch: Use the `$(FNMATCH_H)' notation for AC_REPLACED
641         variable names, rather than @FNMATCH_H@.
642         * modules/alloca: Likewise for $(ALLOCA_H).
643
644         * modules/fnmatch (fnmatch.h): Use `$@' in the commands, in place of
645         the three copies of the literal target, `fnmatch.h'.
646         * modules/alloca (alloca.h): Likewise.
647
648 2003-08-14  Paul Eggert  <eggert@twinsun.com>
649
650         * modules/tzset: New file.
651
652 2003-08-12  Paul Eggert  <eggert@twinsun.com>
653
654         Merge from coreutils.
655         * modules/euidaccess: Add lib_SOURCES, include for new
656         file euidaccess.h
657
658 2003-08-11  Paul Eggert  <eggert@twinsun.com>
659
660         * modules/gnu-source, m4/gnu-source.m4:
661         Remove; we're assuming Autoconf 2.54 or later now.
662         Suggested by Bruno Haible.
663         * MODULES.html.sh (func_all_modules): Remove gnu-source.
664
665 2003-08-08  Paul Eggert  <eggert@twinsun.com>
666
667         * MODULES.html.sh (func_all_modules): Add extensions, gnu-source.
668         * modules/extensions, modules/gnu-source: New files.
669         * modules/timespec, modules/unlocked-io: Depend on extensions.
670
671 2003-08-07 Paul Eggert  <eggert@twinsun.com>
672
673         * modules/restrict: New file.
674         * MODULES.html.sh (func_all_modules): Add restrict.
675         * modules/regex: Depend on restrict.
676
677 2003-08-07  Bruno Haible  <bruno@clisp.org>
678
679         * modules/getndelim2 (Makefile.am): Add the files to EXTRA_DIST, not
680         lib_SOURCES, because getndelim2.m4 now uses AC_LIBOBJ(getndelim2).
681
682 2003-08-05  Paul Eggert  <eggert@twinsun.com>
683
684         * MODULES.html.sh (func_all_modules): Remove bumpalloc.
685         * modules/bumpalloc: Remove.
686
687 2003-07-31  Bruno Haible  <bruno@clisp.org>
688
689         * modules/getpass-gnu: New file.
690         * MODULES.html.sh (func_all_modules): Add getpass-gnu.
691
692 2003-07-22  Paul Eggert  <eggert@twinsun.com>
693
694         * modules/xalloc (Depends-on): Add exitfail.
695         * modules/xmemcoll: Likewise.
696
697 2003-07-20  Jim Meyering  <jim@meyering.net>
698
699         * modules/closeout (Depends-on): Add exitfail.
700         Suggestion from Bruno Haible.
701
702 2003-07-18  Bruno Haible  <bruno@clisp.org>
703
704         * modules/getndelim2: New file.
705         * modules/getline: Share files with module getndelim2.
706         * modules/getnline: Depend on getndelim2 instead of sharing files with
707         it. Add getnline.c to lib_SOURCES.
708         * MODULES.html.sh (func_all_modules): Add getndelim2.
709
710 2003-07-17  Bruno Haible  <bruno@clisp.org>
711
712         * modules/getnline: New file.
713         * modules/getline: Add lib/getndelim2.c to source file list.
714         * MODULES.html.sh (func_all_modules): Add getnline.
715
716 2003-07-17  Bruno Haible  <bruno@clisp.org>
717
718         * configure.in: Remove file.
719         * Makefile.in: Remove file.
720
721 2003-07-17  Bruno Haible  <bruno@clisp.org>
722
723         * MODULES.html.sh: Put the </BODY> right before </HTML>.
724
725 2003-07-16  Jim Meyering  <jim@meyering.net>
726
727         * modules/save-cwd: Depend on xgetcwd.  From Derek Price.
728
729 2003-07-15  Jim Meyering  <jim@meyering.net>
730
731         * modules/save-cwd: Don't depend on error.  From Derek Price.
732
733 2003-07-14  Simon Josefsson  <jas@extundo.com>
734
735         * modules/mempcpy: New file.
736         * MODULES.html.sh (func_all_modules): Add mempcpy.
737
738 2003-07-14  Paul Eggert  <eggert@twinsun.com>
739
740         * modules/getdate, modules/posixtm: Depend on mktime.
741
742 2003-07-10  Simon Josefsson  <jas@extundo.com>
743
744         * modules/strchrnul (Makefile.am): Add strchrnul.h.
745
746 2003-06-26  Bruno Haible  <bruno@clisp.org>
747
748         * modules/human: Depend on module stdbool.
749
750 2003-06-25  Bruno Haible  <bruno@clisp.org>
751
752         * modules/readlink: New file.
753         * modules/xreadlink: Depend on it.
754         * MODULES.html.sh (func_all_modules): Add readlink.
755
756 2003-06-22  Bruno Haible  <bruno@clisp.org>
757
758         * modules/safe-read: Add m4/ssize_t.m4.
759         * modules/xreadlink: Add m4/ssize_t.m4.
760
761 2003-06-11  Simon Josefsson  <jas@extundo.com>
762
763         * modules/sysexits: New file.
764         * MODULES.html.sh (func_all_modules): Add sysexits.
765
766 2003-06-10  Bruno Haible  <bruno@clisp.org>
767
768         * MODULES.html.sh (func_all_modules): Add strchrnul and argp.
769
770 2003-06-10  Simon Josefsson  <jas@extundo.com>
771
772         * modules/strchrnul: New file.
773
774 2003-06-10  Simon Josefsson  <jas@extundo.com>
775
776         * modules/argp: New file.
777
778 2003-06-07  Bruno Haible  <bruno@clisp.org>
779
780         * modules/poll (Makefile.am): Use explicit creation rule for poll.h, to
781         avoid AC_CONFIG_LINKS.
782         * modules/fnmatch (Makefile.am): Use explicit creation rule for
783         fnmatch.h, to avoid AC_CONFIG_LINKS.
784         * modules/alloca (Makefile.am): Make creation of alloca.h Ctrl-C safe.
785
786 2003-06-07  Jim Meyering  <jim@meyering.net>
787
788         * modules/strtod: Use $(...) notation, not @...@ for
789         AC_REPLACE'd variables.
790         * modules/localcharset: Likewise.
791
792 2003-06-06  Jim Meyering  <jim@meyering.net>
793             Bruno Haible  <bruno@clisp.org>
794
795         * modules/stdbool: Reflect renaming: stdbool.h.in -> stdbool_.h.
796         Adjust Makefile.am snippet not to redirect directly to target.
797         Use $(STDBOOL_H) notation, not @STDBOOL_H@ for AC_REPLACE'd variables.
798
799 2003-05-30  Bruno Haible  <bruno@clisp.org>
800
801         * modules/gettext: Add files m4/nls.m4 and m4/po.m4.
802         * config/config.rpath: Upgrade to gettext-0.12.1.
803
804 2003-05-22    <karl@gnu.org>
805
806         * gnulib-tool (func_usage): =LIBRARY not =libRARY in help msg.
807
808 2003-05-09  Bruno Haible  <bruno@clisp.org>
809
810         * modules/error: Add m4/strerror_r.m4 to file list.
811
812 2003-04-10  Bruno Haible  <bruno@clisp.org>
813
814         * modules/findprog: New file.
815         * MODULES.html.sh (func_all_modules): Add it.
816
817 2003-04-04  Bruno Haible  <bruno@clisp.org>
818
819         * modules/linebreak: New file.
820         * MODULES.html.sh (func_all_modules): Add it.
821
822 2003-04-03  Bruno Haible  <bruno@clisp.org>
823
824         * modules/utf8-ucs4: New file.
825         * modules/utf16-ucs4: New file.
826         * modules/ucs4-utf8: New file.
827         * modules/ucs4-utf16: New file.
828         * MODULES.html.sh (func_all_modules): Add them.
829
830 2003-04-02  Bruno Haible  <bruno@clisp.org>
831
832         * modules/binary-io: New file.
833         * MODULES.html.sh (func_all_modules): Add it.
834
835 2003-04-01  Bruno Haible  <bruno@clisp.org>
836
837         * modules/pathname: New file.
838         * MODULES.html.sh (func_all_modules): Add it.
839
840 2003-03-28  Bruno Haible  <bruno@clisp.org>
841
842         * modules/copy-file: New file.
843         * MODULES.html.sh (func_all_modules): Add it.
844
845 2003-02-20  Bruno Haible  <bruno@clisp.org>
846
847         * MODULES.html.sh (func_all_modules): Add poll.
848
849 2003-02-19  Paolo Bonzino  <bonzini@gnu.org>
850
851         * modules/poll: New file.
852
853 2003-02-18  Bruno Haible  <bruno@clisp.org>
854
855         * MODULES.html.sh (func_all_modules): Add mathl.
856
857 2003-02-18  Paolo Bonzino  <bonzini@gnu.org>
858
859         * modules/mathl: New file.
860
861 2003-02-17  Bruno Haible  <bruno@clisp.org>
862
863         * modules/mkdtemp: New module.
864         * MODULES.html.sh (func_all_modules): Add it.
865
866 2003-01-30  Bruno Haible  <bruno@clisp.org>
867
868         * modules/vasnprintf, modules/vasprintf: New modules.
869         * MODULES.html.sh (func_all_modules): Add them.
870
871 2003-01-29  Bruno Haible  <bruno@clisp.org>
872
873         * modules/stpncpy: New module.
874         * MODULES.html.sh (func_all_modules): Add it.
875
876 2003-01-28  Bruno Haible  <bruno@clisp.org>
877
878         * modules/c-ctype: New module.
879         * MODULES.html.sh (func_all_modules): Add it.
880
881 2003-01-27  Bruno Haible  <bruno@clisp.org>
882
883         * modules/xsetenv: New module.
884         * MODULES.html.sh (func_all_modules): Add it.
885
886 2003-01-23  Bruno Haible  <bruno@clisp.org>
887
888         * modules/minmax: New module.
889         * MODULES.html.sh (func_all_modules): Add it.
890
891 2003-01-22  Bruno Haible  <bruno@clisp.org>
892
893         * modules/exit: New module.
894         * MODULES.html.sh (func_all_modules): Add it.
895
896 2003-01-19  Bruno Haible  <bruno@clisp.org>
897
898         * gnulib-tool: Recognize option --extract-maintainer.
899         (func_get_maintainer): New function.
900         * modules/*: Add Maintainer entry.
901
902 2003-01-16  Bruno Haible  <bruno@clisp.org>
903
904         * MODULES.html.sh: Add a table of contents. Add the module name as
905         leftmost column. Add hyperlinks.
906
907 2003-01-11  Bruno Haible  <bruno@clisp.org>
908
909         * modules/stpcpy: Distribute lib/stpcpy.h.
910         * modules/setenv: Depend on alloca. Distribute lib/setenv.h.
911
912 2003-01-11  Bruno Haible  <bruno@clisp.org>
913
914         * gnulib-tool (func_create_testdir): Store config/* files in the main
915         directory.
916         * config.rpath: Move to ...
917         * config/config.rpath: ... here.
918         * modules/gettext: Contains config/config.rpath, not config.rpath.
919         * modules/iconv: Likewise.
920
921 2003-01-11  Bruno Haible  <bruno@clisp.org>
922
923         * modules/*: Add a description.
924         * modules/strpbrk: Fix Makefile.am snippet.
925         * modules/strtoimax: Fix dependencies.
926         * modules/strtoumax: Likewise.
927
928 2003-01-11  Bruno Haible  <bruno@clisp.org>
929
930         * gnulib-tool (func_create_testdir): Substitute lib_OBJECTS.
931         * modules/alloca (Makefile.am): All object files depend on alloca.h.
932         * modules/stdbool (Makefile.am): All object files depend on stdbool.h.
933
934 2003-01-12  Paul Eggert  <eggert@twinsun.com>
935
936         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
937         to avoid collisions with libcurses and libreadline.
938         * getstr: Remove.
939         * MODULES.html.sh: Remove getstr.
940         * modules/getline: Depend on unlocked-io, not getstr.
941
942 2003-01-10  Bruno Haible  <bruno@clisp.org>
943
944         * modules/alloca: Change Makefile.am requirements. Simplify Include
945         requirements. Add lib/alloca_.h to file list.
946
947 2003-01-09  Bruno Haible  <bruno@clisp.org>
948
949         * modules/stdbool: Change configure.ac, Makefile.am requirements.
950         Simplify Include requirements. Add lib/stdbool.h.in to file list.
951
952 2003-01-09  Bruno Haible  <bruno@clisp.org>
953
954         * gnulib-tool (func_all_modules): Ignore files ending in ~.
955         * MODULES.html.sh: Likewise.
956
957 2003-01-09    <karl@gnu.org>
958
959         * MODULES.html.sh: include `dirname $0` in PATH, to find
960         gnulib-tool.
961
962 2003-01-08  Bruno Haible  <bruno@clisp.org>
963
964         * modules/full-read: Depend on full-write.
965
966 2003-01-07  Bruno Haible  <bruno@clisp.org>
967
968         * MODULES.html.sh: Add copyright notice.
969         (missed_files): Omit CVS directory entries.
970         (func_module): Make it work with sed-3.02.
971         * MODULES.txt: Remove file.
972
973 2003-01-01    <karl@gnu.org>
974
975         * gnulib-tool (func_verify_module): report module name $module in
976         error message, not $1.
977         * gnulib-tool (create-testdir): don't complain if destdir couldn't
978         be created, only if it doesn't exist.
979         * gnulib-tool (last_checkin_date): don't expand the $Date here.
980
981 2002-12-24  Bruno Haible  <bruno@clisp.org>
982
983         * MODULES.txt: Update according to m4/ changes.
984
985         Module gettext.
986         * config.rpath: New file, from gettext-0.11.5.
987
988         * modules/*: New module descriptions.
989         * gnulib-tool: New file.
990         * MODULES.html.sh: New file.
991
992 2002-11-01  Bruno Haible  <bruno@clisp.org>
993
994         * configure.in: Add AC_CONFIG_AUX_DIR call.
995         (AC_OUTPUT): Add m4/Makefile, lib/Makefile. Remove doc/Makefile,
996         test/Makefile.
997         * Makefile.in (subdirs): Add m4, lib. Remove doc, test.
998
999 2002-08-23  Stefan Monnier  <monnier@cs.yale.edu>
1000
1001         * regex.c (PATFETCH): Remove the translating fetch.
1002         (PATFETCH_RAW): Rename to PATFETCH.
1003         (set_image_of_range): New fun.
1004         (SET_RANGE_TABLE_WORK_AREA): Use it.
1005         (regex_compile): Don't translate the pattern chars so eagerly.
1006         Only do it when inserting an `exactn' bytecode or when handling
1007         a char-range.
1008         (mutually_exclusive_p): Avoid empty statement.
1009
1010 2001-10-22  Jeff Bailey  <jbailey@outpost.dnsalias.org>
1011
1012         * README: New file
1013         * doc/*: Add COPYING, COPYING.LIB, COPYING.DOC, fdl.texi
1014         (per RMS's instructions, this is now the canonical source)
1015         * lgpl/, gpl/: New directories.
1016
1017 2001-01-24  Stefan Monnier  <monnier@cs.yale.edu>
1018
1019         * regex.c (mutually_exclusive_p): Don't blindly handle `charset_not'
1020         as if it was a `charset'.
1021
1022 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
1023
1024         * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
1025         (regex_compile): Catch bogus \(\1\).
1026
1027 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
1028
1029         * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
1030         (re_match_2_internal, re_match_2_internal, re_match_2_internal):
1031         Giving in to popular pressure to shut up the compiler with casts.
1032
1033 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
1034
1035         * regex.c: More `unsigned char' -> `re_char' changes.
1036         Also change several `int' into `re_wchar_t'.
1037         (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
1038         (PUSH_FAILURE_POINTER): Don't cast any more.
1039         (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
1040         We want GCC to complain, since this piece of code makes
1041         re_match non-reentrant, which *should* be fixed.
1042         (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
1043         (EXTEND_BUFFER): Use RETALLOC.
1044         (SET_LIST_BIT): Don't cast.
1045         (re_wchar_t): New type.
1046         (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
1047         that those two functions will always properly return.
1048         (IMMEDIATE_QUIT_CHECK): Cast to void.
1049         (analyse_first): Use recursion rather than an explicit stack.
1050         (re_compile_fastmap): Can't fail anymore.
1051         (re_search_2): Don't check re_compile_fastmap for failure.
1052         (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
1053         Now also sets the new value (passed in a new argument).
1054         (re_match_2_internal): Use it.
1055         Also, use a new var `reg' of type size_t when looping through regs
1056         rather than reuse the inappropriate `mcnt'.
1057
1058 2000-10-24  Andrew Innes  <andrewi@gnu.org>
1059
1060         * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
1061         NT-Emacs only.
1062         (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
1063         so that re_search functions only quit when callers expect them to.
1064
1065 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
1066
1067         * regex.c (regex_compile): Change the way of handling a range from
1068         a char less than 256 to a char not less than 256.
1069
1070 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1071
1072         * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.
1073
1074
1075 Copyright (C) 2000, 2001, 2002, 2003, 2004
1076   Free Software Foundation, Inc.
1077 Copying and distribution of this file, with or without modification,
1078 are permitted provided the copyright notice and this notice are preserved.