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