Simon Josefsson [Mon, 18 Jul 2005 13:52:24 +0000 (13:52 +0000)]
(check_version): Accept identical versions too.
Karl Berry [Mon, 18 Jul 2005 12:31:07 +0000 (12:31 +0000)]
autoupdate
Bruno Haible [Mon, 18 Jul 2005 11:35:09 +0000 (11:35 +0000)]
New gnulib module 'lock'.
Karl Berry [Mon, 18 Jul 2005 07:33:19 +0000 (07:33 +0000)]
.
Simon Josefsson [Sat, 16 Jul 2005 19:41:33 +0000 (19:41 +0000)]
gnulib.texi (Library version handling): Add ELF symbol collision
workaround, suggested by Bruno.
Paul Eggert [Fri, 15 Jul 2005 21:06:16 +0000 (21:06 +0000)]
* modules/xalloc (Depends-on): Add xalloc-die.
* modules/xvasprintf (Depends-on): Add xalloc-die.
Paul Eggert [Fri, 15 Jul 2005 21:01:41 +0000 (21:01 +0000)]
Add translator comment suggested by Bruno Haible, with a minor change.
Bruno Haible [Fri, 15 Jul 2005 10:34:31 +0000 (10:34 +0000)]
Don't use poll() on MacOS X 10.4.
Paul Eggert [Thu, 14 Jul 2005 22:15:14 +0000 (22:15 +0000)]
* modules/argp (Depends-on): Remove unlocked-io.
* m4/argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
Instead, test for *_unlocked function declarations directly.
Paul Eggert [Thu, 14 Jul 2005 15:53:30 +0000 (15:53 +0000)]
Update serial number.
Derek R. Price [Thu, 14 Jul 2005 14:45:40 +0000 (14:45 +0000)]
* m4/glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
glob symlink bug.
Paul Eggert [Mon, 11 Jul 2005 21:58:02 +0000 (21:58 +0000)]
* version-etc-fsf.c (version_etc_copyright): Parameterize the
copyright symbol and the year.
* version-etc.c (COPYRIGHT_YEAR): New constant.
(version_etc_va): Use parameterized copyright notice.
Reword to conform to the current GNU coding standards.
Simon Josefsson [Mon, 11 Jul 2005 19:13:35 +0000 (19:13 +0000)]
* size_max.h: New file.
* modules/size_max: New file.
* modules/xsize: Depend on size_max module for size_max.m4.
Bruno Haible [Mon, 11 Jul 2005 16:45:26 +0000 (16:45 +0000)]
speling fix
Karl Berry [Mon, 11 Jul 2005 15:12:49 +0000 (15:12 +0000)]
updates from Patrice, start at quoting
Bruno Haible [Mon, 11 Jul 2005 11:37:09 +0000 (11:37 +0000)]
New option --avoid.
Bruno Haible [Mon, 11 Jul 2005 11:29:40 +0000 (11:29 +0000)]
Make it work also if size_t is smaller than unsigned int.
Bruno Haible [Mon, 11 Jul 2005 11:21:55 +0000 (11:21 +0000)]
Use shortcut links to the POSIX specification.
Karl Berry [Sun, 10 Jul 2005 12:38:11 +0000 (12:38 +0000)]
autoupdate
Karl Berry [Sun, 10 Jul 2005 07:32:45 +0000 (07:32 +0000)]
.
Sergey Poznyakoff [Sat, 9 Jul 2005 17:22:16 +0000 (17:22 +0000)]
Updated
Sergey Poznyakoff [Sat, 9 Jul 2005 17:20:04 +0000 (17:20 +0000)]
Include unlocked-io.h. Remove unnecessary block of defines.
Sergey Poznyakoff [Sat, 9 Jul 2005 17:17:31 +0000 (17:17 +0000)]
(Depends-on): Add unlocked-io
Karl Berry [Sat, 9 Jul 2005 12:58:39 +0000 (12:58 +0000)]
autoupdate
Paul Eggert [Fri, 8 Jul 2005 17:57:01 +0000 (17:57 +0000)]
* config/srclist.txt: Comment out regcomp.c, since we have a porting fix
now.
* lib/regcomp.c (init_dfa, build_range_exp): Store __btowc value
in wint_t, not wchar_t. Remove now-unnecessary cast.
Karl Berry [Fri, 8 Jul 2005 12:45:10 +0000 (12:45 +0000)]
autoupdate
Karl Berry [Fri, 8 Jul 2005 07:40:15 +0000 (07:40 +0000)]
.
Paul Eggert [Fri, 8 Jul 2005 06:51:24 +0000 (06:51 +0000)]
* m4/backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
* m4/same.m4 (gl_SAME): Likewise.
Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
Paul Eggert [Thu, 7 Jul 2005 08:08:39 +0000 (08:08 +0000)]
* modules/regex (Files): Add lib/regex_internal.c,
lib/regex_internal.h, lib/regexec.c, lib/regcomp.c, m4/codeset.m4.
(Depends-on): Add extensions.
(Makefile.am): Remove lib_SOURCES; now done by m4 code.
* config/srclist.txt: Add regcomp.c, regex.c, regex.h, regex_internal.c,
regexec.c.
Add regex_internal.h too, but as a comment, since the libc version
is currently broken in gnulib mode.
* lib/regex.c, lib/regex.h: Sync from libc.
* lib/regcomp.c, lib/regexec_internal.c, lib/regex_internal.h, lib/regexec.c:
New files, synced from libc, except that regex_internal.h
currently has a small porting fix.
* m4/regex.m4: Adjust to new libc regex implementation.
(gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
all the .c and .h parts of (the new) regex.
Quote the m4 stuff better.
Check for RE_ICASE bug of old gnulib.
Check for REG_STARTEND of recent libc.
Rename local variables from jm_* to gl_*.
Quote operand of "test -f".
Say "recent enough" version of libc, not "version 2".
(gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
prerequisite module. Remove AC_HEADER_STDC; no longer needed.
Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
Remove check for btowc, isascii.
Require AM_LANGINFO_CODESET.
Karl Berry [Thu, 7 Jul 2005 07:32:44 +0000 (07:32 +0000)]
.
Paul Eggert [Wed, 6 Jul 2005 22:52:26 +0000 (22:52 +0000)]
Sync from texinfo.
Paul Eggert [Wed, 6 Jul 2005 15:58:47 +0000 (15:58 +0000)]
Support programs like Emacs that use gnulib but not gettext.
* MODULES.html.sh (Internationalization functions): Add gettext-h.
* modules/gettext-h: New file.
* modules/gettext (Files): Remove lib/gettext.h.
(Depends-on): Add gettext-h.
(Makefile.am): Remove lib_SOURCES.
* modules/argmatch, modules/c-stack, modules/closeout:
* modules/copy-file, modules/csharpcomp, modules/csharpexec:
* modules/execute, modules/file-type, modules/getaddrinfo:
* modules/getopt, modules/human, modules/javacomp:
* modules/javaexec, modules/mkdir-p, modules/obstack:
* modules/openat, modules/pagealign_alloc, modules/pipe:
* modules/quotearg, modules/regex, modules/rpmatch:
* modules/unicodeio, modules/userspec, modules/version-etc:
* modules/wait-process, modules/xalloc-die, modules/xmemcoll:
* modules/xsetenv:
Depend on gettext-h, not gettext.
Bruno Haible [Wed, 6 Jul 2005 10:33:04 +0000 (10:33 +0000)]
Avoid false positive on mingw.
Paul Eggert [Tue, 5 Jul 2005 07:14:00 +0000 (07:14 +0000)]
* gnulib-tool (func_import): Add support for 'public domain' license.
* modules/alloca, modules/atexit, modules/memmove:
Now public domain, not GPL.
* modules/dup2, modules/getpagesize, modules/malloc, modules/memset:
* modules/realloc, modules/strerror, modules/strtod:
Now LGPL, not GPL.
Karl Berry [Mon, 4 Jul 2005 12:51:47 +0000 (12:51 +0000)]
autoupdate
Karl Berry [Mon, 4 Jul 2005 07:33:22 +0000 (07:33 +0000)]
.
Paul Eggert [Mon, 4 Jul 2005 04:40:46 +0000 (04:40 +0000)]
Remove the dependency of the strftime module on the tzset module.
* modules/strftime (Depends-on): Remove dependency on tzset.
* lib/strftime.c (my_strftime) [! defined _LIBC && ! HAVE_RUN_TZSET_TEST]:
Copy the input structure, to work around some of the bug with
Solaris 2.5.1 and Solaris 2.6. If you still care about these old
Solaris releases, you should also use the tzset module, but we won't
require it as a dependency any more since we don't want LGPLed code
to depend on GPLed code.
* m4/strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
Karl Berry [Sat, 2 Jul 2005 13:04:43 +0000 (13:04 +0000)]
update from texinfo
Jim Meyering [Sat, 2 Jul 2005 10:24:00 +0000 (10:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jul 2005 10:23:43 +0000 (10:23 +0000)]
(backup_args): Change a `0' to NULL.
Jim Meyering [Sat, 2 Jul 2005 09:58:35 +0000 (09:58 +0000)]
Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
Jim Meyering [Sat, 2 Jul 2005 09:45:07 +0000 (09:45 +0000)]
Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
and don't include <sys/file.h>).
Paul Eggert [Fri, 1 Jul 2005 17:25:01 +0000 (17:25 +0000)]
* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>
declares only 'struct timespec;' (!).
Karl Berry [Fri, 1 Jul 2005 13:17:41 +0000 (13:17 +0000)]
autoupdate
Karl Berry [Fri, 1 Jul 2005 13:15:27 +0000 (13:15 +0000)]
update from texinfo
Karl Berry [Thu, 30 Jun 2005 12:22:34 +0000 (12:22 +0000)]
autoupdate
Jim Meyering [Wed, 29 Jun 2005 21:29:18 +0000 (21:29 +0000)]
*** empty log message ***
Jim Meyering [Wed, 29 Jun 2005 21:29:09 +0000 (21:29 +0000)]
(getuser, getuidbyname, getgroup, getgidbyname):
Don't apply sizeof to a hard-coded type name.
Use the variable name instead.
Jim Meyering [Wed, 29 Jun 2005 21:28:00 +0000 (21:28 +0000)]
(make_dir_parents): Don't apply sizeof to a hard-coded type name.
Use the variable name instead.
Karl Berry [Wed, 29 Jun 2005 07:35:09 +0000 (07:35 +0000)]
.
Jim Meyering [Tue, 28 Jun 2005 11:59:49 +0000 (11:59 +0000)]
*** empty log message ***
Jim Meyering [Tue, 28 Jun 2005 11:56:10 +0000 (11:56 +0000)]
.
Jim Meyering [Tue, 28 Jun 2005 11:55:41 +0000 (11:55 +0000)]
(find_included_lib_files): Hard-code another
pair of exceptions: fts.c includes fts-cycle.c and unistd-safer.h
but the fts-lgpl (correctly) does not list those files.
Jim Meyering [Tue, 28 Jun 2005 11:21:07 +0000 (11:21 +0000)]
(Files): Add lib/pathmax.h.
Simon Josefsson [Tue, 28 Jun 2005 10:05:23 +0000 (10:05 +0000)]
Typo.
Simon Josefsson [Tue, 28 Jun 2005 10:02:08 +0000 (10:02 +0000)]
2005-06-28 Simon Josefsson <jas@extundo.com>
* modules/check-version (Files): Add check-version.m4.
Simon Josefsson [Tue, 28 Jun 2005 09:50:35 +0000 (09:50 +0000)]
2005-06-25 Simon Josefsson <jas@extundo.com>
* modules/check-version: New file.
Simon Josefsson [Tue, 28 Jun 2005 08:17:31 +0000 (08:17 +0000)]
2005-06-28 Simon Josefsson <jas@extundo.com>
* check-version.m4: New file, suggested by Jim Meyering
<jim@meyering.net>.
Simon Josefsson [Mon, 27 Jun 2005 22:36:50 +0000 (22:36 +0000)]
2005-06-28 Simon Josefsson <jas@extundo.com>
* gnulib.texi (Library version handling): New section.
Simon Josefsson [Mon, 27 Jun 2005 22:06:28 +0000 (22:06 +0000)]
Oops, back out unrelated entry.
Simon Josefsson [Mon, 27 Jun 2005 22:05:57 +0000 (22:05 +0000)]
2005-06-28 Simon Josefsson <jas@extundo.com>
* base64.c (base64_encode): Indent. Rename 'b64' to avoid
collision with global variable. Better indentation. Don't
increment buffer pointer beyond buffer end. Based on comments
from Paul Eggert <eggert@cs.ucla.edu>.
* base64.h: Indent.
Karl Berry [Sat, 25 Jun 2005 07:33:28 +0000 (07:33 +0000)]
.
Paul Eggert [Fri, 24 Jun 2005 17:30:33 +0000 (17:30 +0000)]
* canon-host.c (canon-host): Append trailing "," to 0 in
initializer of struct addrinfo, as an indication that we don't
care how many members the structure has.
Derek R. Price [Fri, 24 Jun 2005 14:53:03 +0000 (14:53 +0000)]
Remove stat module & update lstat.
* MODULES.html.sh (stat): Remove.
* MODULES.html: Regenerated.
* config/srclist.txt (GLIBC sources): Remove stat.
* lib/stat.c: Remove this file...
(slash_aware_lstat): ...moving this content and its support...
* lib/lstat.c (rpl_lstat): ...into here.
* lib/lstat.h: New file.
* m4/lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
* m4/stat.m4: Remove this file.
* modules/lstat (Description): Correct function name.
(Files): Add "lstat.h".
(Depends-on): Remove stat, add xalloc, stat-macros.
* modules/stat: Remove this file.
(Include): Add "lstat.h", remove <sys/stat.h>.
Paul Eggert [Thu, 23 Jun 2005 07:14:09 +0000 (07:14 +0000)]
* mktime.c: Include <string.h> even if !DEBUG. (From glibc.)
(ranged_convert): Don't save conversion in a temporary struct.
This causes a warning with GCC 4.0.0, and anyway in the typical
case it's not worth the extra 100 bytes or so of code.
(ranged_convert, __mktime_internal): When calling a function via a
pointer P, use P () rather than (*P) (), as we now assume C89 or
better.
Paul Eggert [Wed, 22 Jun 2005 18:27:44 +0000 (18:27 +0000)]
(desirable_utmp_entry): Fix bug where "who -b" and "who -r"
failed to give output.
Paul Eggert [Wed, 22 Jun 2005 07:12:04 +0000 (07:12 +0000)]
* xmalloc.c (HAVE_GNU_CALLOC): New constant.
(xcalloc): Use it to avoid needless tests.
Derek R. Price [Mon, 20 Jun 2005 15:03:36 +0000 (15:03 +0000)]
* bison.m4: Note that precious decls of YACC & YFLAGS will be
unnecessary for Autoconfs > 2.59c.
Jim Meyering [Thu, 16 Jun 2005 14:49:31 +0000 (14:49 +0000)]
*** empty log message ***
Jim Meyering [Thu, 16 Jun 2005 14:49:03 +0000 (14:49 +0000)]
(rpl_calloc): Allocate a 1-byte buffer (not 1xS or Nx1)
when either N or S is zero.
Derek R. Price [Thu, 16 Jun 2005 13:00:54 +0000 (13:00 +0000)]
* bison.m4: Declare YACC & YFLAGS precious.
Sergey Poznyakoff [Thu, 16 Jun 2005 11:53:10 +0000 (11:53 +0000)]
Updated
Sergey Poznyakoff [Thu, 16 Jun 2005 11:52:34 +0000 (11:52 +0000)]
(__option_is_short): Check upper limit of __key.
Isprint() requires its argument to have the value of an
unsigned char or EOF.
Jim Meyering [Tue, 14 Jun 2005 15:36:03 +0000 (15:36 +0000)]
*** empty log message ***
Karl Berry [Sat, 11 Jun 2005 12:34:39 +0000 (12:34 +0000)]
autoupdate
Karl Berry [Sat, 11 Jun 2005 12:29:45 +0000 (12:29 +0000)]
update from texinfo
Paul Eggert [Fri, 10 Jun 2005 19:52:33 +0000 (19:52 +0000)]
Update copyright date.
Paul Eggert [Fri, 10 Jun 2005 19:52:19 +0000 (19:52 +0000)]
* fnmatch.c (fnmatch): If there is an encoding error in a
multibyte string or pattern, fall back on unibyte matching.
Problem reported by James Youngman.
Karl Berry [Thu, 9 Jun 2005 12:07:48 +0000 (12:07 +0000)]
autoupdate
Karl Berry [Thu, 9 Jun 2005 07:32:32 +0000 (07:32 +0000)]
.
Bruno Haible [Wed, 8 Jun 2005 19:32:15 +0000 (19:32 +0000)]
Avoid gcc warning on mingw.
Karl Berry [Wed, 8 Jun 2005 13:28:54 +0000 (13:28 +0000)]
autoupdate
Karl Berry [Wed, 8 Jun 2005 12:12:10 +0000 (12:12 +0000)]
auotupdate
Bruno Haible [Wed, 8 Jun 2005 12:10:25 +0000 (12:10 +0000)]
New module 'csharpcomp'.
Derek R. Price [Tue, 7 Jun 2005 14:58:46 +0000 (14:58 +0000)]
Sync from CVS.
* glob_.h: Indent nested #ifdef.
Karl Berry [Sat, 4 Jun 2005 11:44:47 +0000 (11:44 +0000)]
need terminating */ for argz.c; what about others?
Bruno Haible [Fri, 3 Jun 2005 14:42:32 +0000 (14:42 +0000)]
Oops again: fix use of classpath.c.
Karl Berry [Fri, 3 Jun 2005 12:40:34 +0000 (12:40 +0000)]
typos
Karl Berry [Fri, 3 Jun 2005 07:30:28 +0000 (07:30 +0000)]
.
Paul Eggert [Thu, 2 Jun 2005 20:41:04 +0000 (20:41 +0000)]
Sync from coreutils.
Use "file name" when talking about file names, instead of "filename"
or "path", as per the GNU coding standards.
* MODULES.html.sh: mkdir-p renamed from makepath.
filenamecat renamed from path-concat.
* modules/filenamecat: Renamed from modules/path-concat.
(Files): filenamecat.h and filenamecat.c renamed from
path-concat.h and path-concat.c.
(configure.ac): gl_FILE_NAME_CONCAT, not gl_PATH_CONCAT.
(Include): filenamecat.h, not path-concat.h.
* modules/mkdir-p: Renamed from modules/makepath.
(Files): mkdir-p.h and mkdir-p.c renamed from makepath.h and makepath.c.
(configure.ac): gl_MKDIR_PARENTS, not gl_MAKEPATH.
(Include): mkdir-p.h, not makepath.h.
* lib/mkdir-p.c: Renamed from makepath.c.
(make_dir_parents): Renamed from make_path. All callers changed.
* lib/mkdir-p.h: Likewise. All includers changed.
* lib/filenamecat.c: Renamed from path-concat.c.
(file_name_concat): Renamed from path_concat. All callers changed.
[TEST_FILE_NAME_CONCAT]: Renamed from TEST_PATH_CONCAT.
* lib/filenamecat.h: Likewise. All includers changed.
* lib/acl.c: Don't use "path" or "filename" to mean "file name"
in comments or local variable names.
* lib/basename.c: Likewise.
* lib/canonicalize.c, canonicalize.h: Likewise.
* lib/dirname.c, dirname.h: Likewise.
* lib/euidaccess.c: Likewise.
* lib/exclude.c: Likewise
* lib/fnmatch_.h, fnmatch_loop.c: Likewise.
* lib/fsusage.c, fsuage.h: Likewise.
* lib/fts.c, fts_.h: Likewise.
* lib/getcwd.c: Likewise.
* lib/getloadavg.c: Likewise.
* lib/mkstemp.c: Likewise.
* lib/mountlist.c, mountlist.h: Likewise.
* lib/openat.c, openat.h: Likewise.
* lib/readlink-stub.c: Likewise.
* lib/readutmp.c, readutmp.h: Likewise.
* lib/rename.c: Likewise.
* lib/rmdir.c: Likewise.
* lib/same.c: Likewise.
* lib/savedir.c: Likewise.
* lib/stripslash.c: Likewise.
* lib/tempname.c: Likewise.
* lib/xreadlink.c: Likewise.
* lib/exclude.c (excluded_file_name): Renamed from excluded_filename.
All uses changed.
* lib/exclude.h: Likewise.
* m4/mkdir-p.m4: Renamed from makepath.m4.
(gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
Rename files from makepath.c to mkdir-p.c, and from
makepath.h to mkdir-p.h.
* m4/filenamecat.m4: Renamed from path-concat.m4.
(gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
Rename files from path-concat.c to filenamecat.c,
and from path-concat.h to filenamecat.h.
* m4/getcwd-path-max.m4: Don't use "path" or "filename" to mean
"file name" in local variables or comments.
* rename.m4: Likewise.
* lib/euidaccess.c (getuid, getgid, getuid, getegid)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
* lib/idcache.c (getpwuid, getpwnam, getgrgid, getgrnam)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
* lib/pathmax.h: Include <limits.h> unconditionally, since other
files have been getting away with it for years (MORE/BSD 4.3
is extinct now).
* lib/userspec.c (getpwnam, getgrnam, getgrgid)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
* lib/pathmax.h (_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:
Define to 256, not 255, as per modern POSIX.
Derek R. Price [Thu, 2 Jun 2005 17:01:41 +0000 (17:01 +0000)]
* bison.m4: Back out inadvertant change.
Karl Berry [Thu, 2 Jun 2005 13:06:56 +0000 (13:06 +0000)]
autoupdate
Karl Berry [Thu, 2 Jun 2005 07:30:24 +0000 (07:30 +0000)]
.
Bruno Haible [Wed, 1 Jun 2005 10:39:15 +0000 (10:39 +0000)]
Oops, csharpexec uses the classpath source code, but not its object file
classpath.o.
Bruno Haible [Wed, 1 Jun 2005 10:25:07 +0000 (10:25 +0000)]
New module 'csharpexec'.
Derek R. Price [Tue, 31 May 2005 21:01:36 +0000 (21:01 +0000)]
Sync from cvs.
* glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
Derek R. Price [Tue, 31 May 2005 21:01:15 +0000 (21:01 +0000)]
Sync from cvs.
* glob_.h: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
Karl Berry [Mon, 30 May 2005 07:31:01 +0000 (07:31 +0000)]
.
Derek R. Price [Sun, 29 May 2005 16:56:02 +0000 (16:56 +0000)]
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
* modules/glob: New file.
* modules/getlogin_r: Add link to POSIX spec in description.
* config/srclist.txt (glob_.h, glob.c): Add these files.
* lib/glob_.h, lib/glob.c: New files.
* gm4/lob.m4: New file.
Karl Berry [Sat, 28 May 2005 07:31:17 +0000 (07:31 +0000)]
.