gnulib.git
21 years agoUpdate after Jim's changes.
Bruno Haible [Wed, 8 Jan 2003 18:49:30 +0000 (18:49 +0000)]
Update after Jim's changes.

21 years agoInclude specification first.
Bruno Haible [Wed, 8 Jan 2003 18:42:38 +0000 (18:42 +0000)]
Include specification first.

21 years ago*** empty log message ***
Jim Meyering [Wed, 8 Jan 2003 15:41:44 +0000 (15:41 +0000)]
*** empty log message ***

21 years agoUndefine and define-away `const' after inclusion
Jim Meyering [Wed, 8 Jan 2003 15:41:33 +0000 (15:41 +0000)]
Undefine and define-away `const' after inclusion
of errno.h, not before.  Suggestion from Bruno Haible.

21 years ago*** empty log message ***
Jim Meyering [Tue, 7 Jan 2003 14:11:03 +0000 (14:11 +0000)]
*** empty log message ***

21 years agoRework so that it may serve to define full_read, too.
Jim Meyering [Tue, 7 Jan 2003 14:10:53 +0000 (14:10 +0000)]
Rework so that it may serve to define full_read, too.

21 years agoSimply #define FULL_READ and include full-write.c.
Jim Meyering [Tue, 7 Jan 2003 14:10:40 +0000 (14:10 +0000)]
Simply #define FULL_READ and include full-write.c.

21 years agoAutogenerated.
Bruno Haible [Tue, 7 Jan 2003 13:34:26 +0000 (13:34 +0000)]
Autogenerated.

21 years agoMODULES.html replaces MODULES.txt.
Bruno Haible [Tue, 7 Jan 2003 13:33:24 +0000 (13:33 +0000)]
MODULES.html replaces MODULES.txt.

21 years agoUpdate according to m4/ changes.
Bruno Haible [Tue, 7 Jan 2003 13:16:07 +0000 (13:16 +0000)]
Update according to m4/ changes.

21 years agoMore consistent inttypes.h / stdint.h handling.
Bruno Haible [Tue, 7 Jan 2003 13:09:32 +0000 (13:09 +0000)]
More consistent inttypes.h / stdint.h handling.

21 years ago*** empty log message ***
Jim Meyering [Mon, 6 Jan 2003 13:20:22 +0000 (13:20 +0000)]
*** empty log message ***

21 years agoUpdate year in translatable copyright string.
Jim Meyering [Mon, 6 Jan 2003 13:20:08 +0000 (13:20 +0000)]
Update year in translatable copyright string.

21 years agoMore consistent inttypes.h / stdint.h handling.
Bruno Haible [Mon, 6 Jan 2003 12:38:36 +0000 (12:38 +0000)]
More consistent inttypes.h / stdint.h handling.

21 years agoupdate from prep
Karl Berry [Fri, 3 Jan 2003 13:53:40 +0000 (13:53 +0000)]
update from prep

21 years agoupdate COPYING.DOC to fdl version 1.2.
Karl Berry [Thu, 2 Jan 2003 23:16:50 +0000 (23:16 +0000)]
update COPYING.DOC to fdl version 1.2.

21 years ago.
Karl Berry [Wed, 1 Jan 2003 14:58:58 +0000 (14:58 +0000)]
.

21 years ago(func_verify_module): report module name $module
Karl Berry [Wed, 1 Jan 2003 14:58:41 +0000 (14:58 +0000)]
(func_verify_module): report module name $module
in error message, not $1.

21 years ago.
Karl Berry [Wed, 1 Jan 2003 14:51:32 +0000 (14:51 +0000)]
.

21 years ago(create-testdir): don't complain if destdir
Karl Berry [Wed, 1 Jan 2003 14:51:23 +0000 (14:51 +0000)]
(create-testdir): don't complain if destdir
couldn't be created, only if it doesn't exist.

21 years ago.
Karl Berry [Wed, 1 Jan 2003 14:49:36 +0000 (14:49 +0000)]
.

21 years ago(last_checkin_date): don't expand the $Date here.
Karl Berry [Wed, 1 Jan 2003 14:49:10 +0000 (14:49 +0000)]
(last_checkin_date): don't expand the $Date here.

21 years ago* memcoll.c (memcoll): Fall back on a simple algorithm using
Paul Eggert [Tue, 31 Dec 2002 22:13:07 +0000 (22:13 +0000)]
* memcoll.c (memcoll): Fall back on a simple algorithm using
memcmp if strcoll doesn't work.

21 years ago* memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
Paul Eggert [Tue, 31 Dec 2002 22:12:39 +0000 (22:12 +0000)]
* memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.

21 years ago(gl_MEMCOLL): Require AC_FUNC_MEMCMP.
Paul Eggert [Tue, 31 Dec 2002 22:11:51 +0000 (22:11 +0000)]
(gl_MEMCOLL): Require AC_FUNC_MEMCMP.

21 years ago(memcoll): Fall back on a simple algorithm using
Paul Eggert [Tue, 31 Dec 2002 22:11:34 +0000 (22:11 +0000)]
(memcoll): Fall back on a simple algorithm using
memcmp if strcoll doesn't work.

21 years agoObsoleted by unlocked-io.m4.
Bruno Haible [Tue, 31 Dec 2002 14:07:01 +0000 (14:07 +0000)]
Obsoleted by unlocked-io.m4.

21 years agoRenamed to unlocked-io.m4.
Bruno Haible [Tue, 31 Dec 2002 14:06:45 +0000 (14:06 +0000)]
Renamed to unlocked-io.m4.

21 years agoRenamed to mktime.m4.
Bruno Haible [Tue, 31 Dec 2002 14:06:30 +0000 (14:06 +0000)]
Renamed to mktime.m4.

21 years agoCorrection.
Bruno Haible [Tue, 31 Dec 2002 13:49:58 +0000 (13:49 +0000)]
Correction.

21 years agoSmall fixes.
Bruno Haible [Tue, 31 Dec 2002 13:49:01 +0000 (13:49 +0000)]
Small fixes.

21 years agoNew infrastructure for modules.
Bruno Haible [Tue, 31 Dec 2002 13:48:07 +0000 (13:48 +0000)]
New infrastructure for modules.

21 years agoGenerator for MODULES.html.
Bruno Haible [Tue, 31 Dec 2002 13:47:46 +0000 (13:47 +0000)]
Generator for MODULES.html.

21 years agoTool for managing gnulib modules.
Bruno Haible [Tue, 31 Dec 2002 13:47:17 +0000 (13:47 +0000)]
Tool for managing gnulib modules.

21 years agoModule description template.
Bruno Haible [Tue, 31 Dec 2002 13:46:42 +0000 (13:46 +0000)]
Module description template.

21 years agoModule description.
Bruno Haible [Tue, 31 Dec 2002 13:46:30 +0000 (13:46 +0000)]
Module description.

21 years agoPart of module gettext.
Bruno Haible [Tue, 31 Dec 2002 13:46:01 +0000 (13:46 +0000)]
Part of module gettext.

21 years agoAn independent .m4 file for each module.
Bruno Haible [Tue, 31 Dec 2002 13:43:06 +0000 (13:43 +0000)]
An independent .m4 file for each module.

21 years agoAn autoconf macro for its associated module.
Bruno Haible [Tue, 31 Dec 2002 13:42:06 +0000 (13:42 +0000)]
An autoconf macro for its associated module.

21 years agoNew file localcharset.h.
Bruno Haible [Tue, 31 Dec 2002 13:20:21 +0000 (13:20 +0000)]
New file localcharset.h.

21 years agoDon't call ftruncate() when it's not needed.
Bruno Haible [Tue, 31 Dec 2002 13:02:48 +0000 (13:02 +0000)]
Don't call ftruncate() when it's not needed.

21 years agoDon't use strcoll if it is broken.
Bruno Haible [Tue, 31 Dec 2002 13:01:56 +0000 (13:01 +0000)]
Don't use strcoll if it is broken.

21 years agoAvoid function names used in standard libraries.
Bruno Haible [Tue, 31 Dec 2002 12:59:53 +0000 (12:59 +0000)]
Avoid function names used in standard libraries.

21 years agoTest HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
Bruno Haible [Tue, 31 Dec 2002 12:57:56 +0000 (12:57 +0000)]
Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.

21 years agoMake getline.h and unicodeio.h self-contained.
Bruno Haible [Tue, 31 Dec 2002 12:56:28 +0000 (12:56 +0000)]
Make getline.h and unicodeio.h self-contained.

21 years agoMove strtoimax and strtoumax to section "Support for systems lacking ISO C 99."
Bruno Haible [Tue, 31 Dec 2002 12:55:31 +0000 (12:55 +0000)]
Move strtoimax and strtoumax to section "Support for systems lacking ISO C 99."

21 years agoSmall fixes.
Bruno Haible [Tue, 31 Dec 2002 12:54:41 +0000 (12:54 +0000)]
Small fixes.

21 years agoupdate from texinfo
Karl Berry [Fri, 27 Dec 2002 00:23:38 +0000 (00:23 +0000)]
update from texinfo

21 years agoupdate from prep
Karl Berry [Tue, 24 Dec 2002 14:00:12 +0000 (14:00 +0000)]
update from prep

21 years agofix line break
Karl Berry [Sun, 22 Dec 2002 00:03:43 +0000 (00:03 +0000)]
fix line break

21 years agofdl 1.2
Karl Berry [Sun, 22 Dec 2002 00:01:02 +0000 (00:01 +0000)]
fdl 1.2

21 years agoRemove stime.c (was supposed to be done 2002-02-27).
Paul Eggert [Fri, 20 Dec 2002 22:05:45 +0000 (22:05 +0000)]
Remove stime.c (was supposed to be done 2002-02-27).

21 years agoconfig.guess update from prep
Karl Berry [Thu, 19 Dec 2002 14:46:15 +0000 (14:46 +0000)]
config.guess update from prep

21 years agoFix for memcmp module.
Bruno Haible [Wed, 18 Dec 2002 15:04:23 +0000 (15:04 +0000)]
Fix for memcmp module.

21 years agoOops, forgot to increment the serial number.
Bruno Haible [Wed, 18 Dec 2002 13:44:25 +0000 (13:44 +0000)]
Oops, forgot to increment the serial number.

21 years agoRemove unused test.
Bruno Haible [Wed, 18 Dec 2002 13:15:16 +0000 (13:15 +0000)]
Remove unused test.

21 years agoMisc changes.
Bruno Haible [Tue, 17 Dec 2002 11:49:10 +0000 (11:49 +0000)]
Misc changes.

21 years agoUpdate for changed signature of safe_read.
Bruno Haible [Tue, 17 Dec 2002 11:48:43 +0000 (11:48 +0000)]
Update for changed signature of safe_read.

21 years agoUse full_read instead of safe_read.
Bruno Haible [Tue, 17 Dec 2002 11:48:24 +0000 (11:48 +0000)]
Use full_read instead of safe_read.

21 years agoRemove unused declaration.
Bruno Haible [Tue, 17 Dec 2002 11:48:11 +0000 (11:48 +0000)]
Remove unused declaration.

21 years agoUpdate for change made on 2001-08-03 in mbswidth.c.
Bruno Haible [Tue, 17 Dec 2002 11:47:27 +0000 (11:47 +0000)]
Update for change made on 2001-08-03 in mbswidth.c.

21 years agoRewritten to cope with systems that have setenv() but not unsetenv().
Bruno Haible [Mon, 16 Dec 2002 15:47:55 +0000 (15:47 +0000)]
Rewritten to cope with systems that have setenv() but not unsetenv().

21 years agoList of modules, and dependencies.
Bruno Haible [Mon, 16 Dec 2002 15:46:44 +0000 (15:46 +0000)]
List of modules, and dependencies.

21 years agoupdate from prep
Karl Berry [Thu, 12 Dec 2002 14:13:26 +0000 (14:13 +0000)]
update from prep

21 years agoAdd setenv, unsetenv.
Bruno Haible [Wed, 11 Dec 2002 20:34:41 +0000 (20:34 +0000)]
Add setenv, unsetenv.

21 years agosetenv and unsetenv.
Bruno Haible [Wed, 11 Dec 2002 20:31:00 +0000 (20:31 +0000)]
setenv and unsetenv.

21 years agoPrerequisites of lib/setenv.c and lib/unsetenv.c.
Bruno Haible [Wed, 11 Dec 2002 20:16:29 +0000 (20:16 +0000)]
Prerequisites of lib/setenv.c and lib/unsetenv.c.

21 years agoPort exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.
Paul Eggert [Tue, 10 Dec 2002 19:41:43 +0000 (19:41 +0000)]
Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.

21 years ago(FNM_CASEFOLD, FNM_LEADING_DIR): Define to 0 if not
Paul Eggert [Tue, 10 Dec 2002 19:41:28 +0000 (19:41 +0000)]
(FNM_CASEFOLD, FNM_LEADING_DIR): Define to 0 if not
defined (e.g., a pure POSIX system).
(EXCLUDE_macros_do_not_collide_with_FNM_macros): Use FNM_PATHNAME
instead of FNM_FILE_NAME, for compatibility with pure POSIX sytems.

21 years ago(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS):
Paul Eggert [Tue, 10 Dec 2002 19:40:58 +0000 (19:40 +0000)]
(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS):
Choose values that are less likely to collide with system fnmatch
options.

21 years agoAdd more comments to latest changelog change.
Paul Eggert [Fri, 6 Dec 2002 19:42:39 +0000 (19:42 +0000)]
Add more comments to latest changelog change.

21 years agoUndo the 2001-07-02 change for jm-glibc-io, as it was too much of
Paul Eggert [Fri, 6 Dec 2002 19:28:32 +0000 (19:28 +0000)]
Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
a pain in practice to deal with generated m4 files.  This change
goes together with the 2002-12-04 unlocked-io.h change in ../lib.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 08:08:23 +0000 (08:08 +0000)]
*** empty log message ***

21 years agoBe consistent: change `#ifndef _LIBC' to `#if !_LIBC'.
Jim Meyering [Fri, 6 Dec 2002 08:08:13 +0000 (08:08 +0000)]
Be consistent: change `#ifndef _LIBC' to `#if !_LIBC'.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 08:00:59 +0000 (08:00 +0000)]
*** empty log message ***

21 years agoMerge in changes from libc's misc/error.c, in preparation
Jim Meyering [Fri, 6 Dec 2002 08:00:45 +0000 (08:00 +0000)]
Merge in changes from libc's misc/error.c, in preparation
for the merge of gnulib's changes back into libc.

(_): Define only if not already defined.
Move definition to follow all #include directives.
Include unlocked-io.h only if !_LIBC.
[_LIBC]: Include <libio/libioP.h>.
[USE_IN_LIBIO]: Include <libio/iolibio.h>
(fflush): Tweak definition to use INTUSE.
(putc): Define.

21 years agoMerge some alloca.c changes from Emacs.
Paul Eggert [Thu, 5 Dec 2002 20:46:37 +0000 (20:46 +0000)]
Merge some alloca.c changes from Emacs.

21 years ago[defined emacs]: Include "lisp.h".
Paul Eggert [Thu, 5 Dec 2002 20:46:03 +0000 (20:46 +0000)]
[defined emacs]: Include "lisp.h".
(xalloc_die) [defined emacs]: New macro.
(free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE.
[! defined emacs]: Include <xalloc.h>.
(POINTER_TYPE) [!defined POINTER_TYPE]: New macro.
(pointer): Typedef to POINTER_TYPE *.
(malloc): Remove decl; we now always use xmalloc.
(alloca): Use old-style definition, since Emacs needs this.
Check for arithmetic overflow when computing combined size.

21 years agoDo not generate unlocked-io.h automatically, since it's easier to
Paul Eggert [Wed, 4 Dec 2002 20:53:19 +0000 (20:53 +0000)]
Do not generate unlocked-io.h automatically, since it's easier to
maintain it by hand.

21 years agoAdd copyright notice.
Paul Eggert [Wed, 4 Dec 2002 20:52:56 +0000 (20:52 +0000)]
Add copyright notice.
(libfetish_a_SOURCES): Add unlocked-io.h.
(BUILT_SOURCES, all-local): Remove unlocked-io.h.
(DISTCLEANFILES, io_functions): Remove macros.
(EXTRA_DIST): Remove gen_uio.
(unlocked-io.h): Remove rule.

21 years agounlocked-io.h is now maintained by hand.
Paul Eggert [Wed, 4 Dec 2002 20:52:00 +0000 (20:52 +0000)]
unlocked-io.h is now maintained by hand.

21 years agoNew file, from GNU diffutils, but with proper copyright notice and
Paul Eggert [Wed, 4 Dec 2002 20:51:07 +0000 (20:51 +0000)]
New file, from GNU diffutils, but with proper copyright notice and
attribution.

21 years ago*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 10:12:32 +0000 (10:12 +0000)]
*** empty log message ***

21 years agoReflect the fact that stat.c and lstat.c are no longer generated.
Jim Meyering [Wed, 4 Dec 2002 10:12:13 +0000 (10:12 +0000)]
Reflect the fact that stat.c and lstat.c are no longer generated.

(BUILT_SOURCES): Remove stat.c and lstat.c.
(DISTCLEANFILES): Likewise.
(EXTRA_DIST): Likewise.
(all_local): Don't depend on stat.c or lstat.c.
(stat.c, lstat.c): Remove rules.
(EXTRA_DIST): Remove xstat.in.

21 years agoNew file. Simply #define LSTAT and include stat.c.
Jim Meyering [Wed, 4 Dec 2002 10:11:39 +0000 (10:11 +0000)]
New file. Simply #define LSTAT and include stat.c.

21 years ago* stat.c: New file. Contents mostly from xstat.in.
Jim Meyering [Wed, 4 Dec 2002 10:11:15 +0000 (10:11 +0000)]
* stat.c: New file.  Contents mostly from xstat.in.
Rework so that it may serve to define rpl_lstat, too.

21 years ago* xstat.in: Remove file. Contents moved into stat.c.
Jim Meyering [Wed, 4 Dec 2002 10:08:47 +0000 (10:08 +0000)]
* xstat.in: Remove file.  Contents moved into stat.c.

21 years ago*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 08:03:39 +0000 (08:03 +0000)]
*** empty log message ***

21 years agoSimply #define SAFE_WRITE and include safe-read.c.
Jim Meyering [Wed, 4 Dec 2002 08:03:16 +0000 (08:03 +0000)]
Simply #define SAFE_WRITE and include safe-read.c.

21 years agoRework so that it may serve to define safe_write, too.
Jim Meyering [Wed, 4 Dec 2002 08:02:56 +0000 (08:02 +0000)]
Rework so that it may serve to define safe_write, too.

21 years ago(safe_write): Change comment to mention SAFE_WRITE_ERROR.
Jim Meyering [Tue, 3 Dec 2002 10:59:31 +0000 (10:59 +0000)]
(safe_write): Change comment to mention SAFE_WRITE_ERROR.

21 years ago(safe_read): Change comment to mention SAFE_READ_ERROR.
Jim Meyering [Tue, 3 Dec 2002 10:59:09 +0000 (10:59 +0000)]
(safe_read): Change comment to mention SAFE_READ_ERROR.

21 years ago.
Jim Meyering [Tue, 3 Dec 2002 10:57:11 +0000 (10:57 +0000)]
.

21 years ago safe-read.c, safe-write.c: Change variable names and comments, but
Jim Meyering [Tue, 3 Dec 2002 10:55:51 +0000 (10:55 +0000)]
safe-read.c, safe-write.c: Change variable names and comments, but
not semantics, to minimize the differences between these two files.

21 years ago * safe-read.c (IS_EINTR): Define.
Jim Meyering [Tue, 3 Dec 2002 09:48:30 +0000 (09:48 +0000)]
* safe-read.c (IS_EINTR): Define.
(safe_read): Use IS_EINTR in place of in-function cpp directives.

21 years ago(IS_EINTR): Define.
Jim Meyering [Tue, 3 Dec 2002 09:48:14 +0000 (09:48 +0000)]
(IS_EINTR): Define.
(safe_read): Use IS_EINTR in place of in-function cpp directives.

21 years agoSynchronize safe-write with safe-read.
Bruno Haible [Mon, 2 Dec 2002 18:53:53 +0000 (18:53 +0000)]
Synchronize safe-write with safe-read.

21 years ago * safe-read.c (EINTR): Define.
Jim Meyering [Mon, 2 Dec 2002 17:32:05 +0000 (17:32 +0000)]
* safe-read.c (EINTR): Define.
(safe_read): Rewrite to iterate IFF the read fails with EINTR.

21 years ago(EINTR): Define.
Jim Meyering [Mon, 2 Dec 2002 17:31:49 +0000 (17:31 +0000)]
(EINTR): Define.
(safe_read): Rewrite to iterate IFF the read fails with EINTR.

21 years ago * safe-read.h (SAFE_READ_ERROR): Define.
Jim Meyering [Mon, 2 Dec 2002 06:40:15 +0000 (06:40 +0000)]
* safe-read.h (SAFE_READ_ERROR): Define.