Paul Eggert [Wed, 20 Sep 2006 18:44:04 +0000 (18:44 +0000)]
[ChangeLog]
* modules/mkstemp (Depends-on): Add extensions, so that
mkstemp is visible on some platforms.
(Makefile.am): Add mkstemp.h to EXTRA_DIST.
[lib/ChangeLog]
* mkstemp.h: New file, since some standard headers
#define mkstemp.
* mkstemp.c: Revamp to put the !_LIBC code together.
Include "mkstemp.h".
Make the _LIBC code resemble glibc original more,
e.g., use K&R style.
* stdlib--.h: Include mkstemp.h.
[m4/ChangeLog]
* mkstemp.m4 (gl_FUNC_MKSTEMP): Require AC_SYS_LARGEFILE.
Check that large offsets work. Modernize Autoconf usages.
Prefer "yes" to mean a good thing rather than a bad.
Don't put "#define mkstemp" in config.h, as this might interfere
with standard system headers that "#define mkstemp mkstemp64".
Paul Eggert [Wed, 20 Sep 2006 18:38:14 +0000 (18:38 +0000)]
* tempname.c (__gen_tempname): Change attempts_min
into a macro. Use preprocessor to decide how to initialize
attempts [Coverity CID 67].
Karl Berry [Wed, 20 Sep 2006 12:28:22 +0000 (12:28 +0000)]
missed commit.
Eric Blake [Tue, 19 Sep 2006 14:07:28 +0000 (14:07 +0000)]
* gnulib-tool: Avoid space-tab.
Karl Berry [Tue, 19 Sep 2006 13:42:41 +0000 (13:42 +0000)]
note about the license texinfo files
Karl Berry [Tue, 19 Sep 2006 07:46:17 +0000 (07:46 +0000)]
.
Ralf Wildenhues [Tue, 19 Sep 2006 06:03:01 +0000 (06:03 +0000)]
* gnulib-tool (func_exit): New function, to allow to pass the
exit status portably through the trap. Use everywhere.
(--help, --version): Signal a write error.
(trap): catch SIGPIPE, for write errors.
Exit at the end of the trap, with the correct exit status.
Bruno Haible [Mon, 18 Sep 2006 20:17:52 +0000 (20:17 +0000)]
Use configmake.
Bruno Haible [Mon, 18 Sep 2006 19:23:59 +0000 (19:23 +0000)]
Remove inttypes-h.m4 and its gl_HEADER_INTTYES_H macro.
Paul Eggert [Mon, 18 Sep 2006 18:07:04 +0000 (18:07 +0000)]
* getaddrinfo.c (getaddrinfo) [defined HAVE_IPV6]: Fix typo
that prevented coreutils 6.1 from building. Problem reported
by Petter Reinholdtsen.
Paul Eggert [Mon, 18 Sep 2006 17:45:51 +0000 (17:45 +0000)]
* inttypes.m4 (gl_INTTYPES_H): Quote "test" args
more systematically.
Paul Eggert [Mon, 18 Sep 2006 17:03:47 +0000 (17:03 +0000)]
* gnulib-tool (avoidlist): Fix typo that broke options like
--avoid=lock that are used by coreutils bootstrap.
Bruno Haible [Mon, 18 Sep 2006 15:14:26 +0000 (15:14 +0000)]
Avoid to execute while loops in a subshell.
Bruno Haible [Mon, 18 Sep 2006 13:47:29 +0000 (13:47 +0000)]
Break long lines.
Bruno Haible [Mon, 18 Sep 2006 13:08:56 +0000 (13:08 +0000)]
Use the configmake module.
Bruno Haible [Mon, 18 Sep 2006 13:07:37 +0000 (13:07 +0000)]
Avoid quadratic complexity due to string concatenations.
Bruno Haible [Mon, 18 Sep 2006 13:04:17 +0000 (13:04 +0000)]
Speed up presentation of the include files.
Bruno Haible [Mon, 18 Sep 2006 13:03:14 +0000 (13:03 +0000)]
Rewrite all file names at once.
Bruno Haible [Mon, 18 Sep 2006 12:55:35 +0000 (12:55 +0000)]
Speed up func_modules_transitive_closure.
Bruno Haible [Mon, 18 Sep 2006 12:54:13 +0000 (12:54 +0000)]
Use "sort -u" where it makes sense.
Karl Berry [Mon, 18 Sep 2006 07:47:24 +0000 (07:47 +0000)]
.
Jim Meyering [Mon, 18 Sep 2006 06:47:32 +0000 (06:47 +0000)]
* savewd.c (savewd_restore): Don't shadow: s/status/child_status/.
Jim Meyering [Mon, 18 Sep 2006 06:28:56 +0000 (06:28 +0000)]
fix typo in comment
Paul Eggert [Mon, 18 Sep 2006 03:31:18 +0000 (03:31 +0000)]
Initial revision.
Karl Berry [Sun, 17 Sep 2006 21:59:27 +0000 (21:59 +0000)]
autoupdate
Karl Berry [Sun, 17 Sep 2006 07:41:04 +0000 (07:41 +0000)]
.
Paul Eggert [Sat, 16 Sep 2006 19:58:25 +0000 (19:58 +0000)]
* lib/dirchownmod.c: Don't include fcntl.h; no longer needed.
(dirchownmod): New arg FD. All callers changed.
Use FD rather than opening the directory ourself, as opening is
now the caller's responsibility.
* lib/dirchownmod.h: Likewise.
* lib/mkancesdirs.c: Include <sys/types.h>, for portability to older
hosts that require <sys/types.h> before <sys/stat.h>. Include
fcntl.h, savewd.h, and unistd.h, not dirname.h and stat-macros.h.
(test_dir): Remove.
(mkancesdirs): Return length of prefix of FILE that has already
been made, or -2 if there is a child doing the work. Redo
algorithm so that it is O(N) rather than O(N**2). Optimize away
".", and treat ".." specially since it might stray back into
already-created areas. Use a subprocess if necessary. New arg
WD; all users changed. MAKE_DIR function should now return 1
if it creates a directory that is not readable. Return -2 if
a child process is spun off.
* lib/mkancesdirs.h: Include <stddef.h>, for ptrdiff_t.
Adjust signature to match code.
* lib/mkdir-p.c: Include dirname.h, for IS_ABSOLUTE_FILE_NAME.
(make_dir_parents): Use a subprocess if necessary. New arg WD;
all users changed.
* lib/savewd.c, lib/savewd.h: New files.
* m4/savewd.m4: New file.
* modules/mkancesdirs (Depends-on): Add fcntl.
* modules/savewd: New file.
* MODULES.html.sh (File system functions): Add savewd.
Karl Berry [Sat, 16 Sep 2006 14:04:29 +0000 (14:04 +0000)]
texinfo tweaks to licenses
Karl Berry [Sat, 16 Sep 2006 07:40:41 +0000 (07:40 +0000)]
.
Paul Eggert [Fri, 15 Sep 2006 18:54:47 +0000 (18:54 +0000)]
* modules/configmake (Makefile.am): Add support for the
Automake-supplied PKGLIBDIR, PKGINCLUDEDIR, PKGDATADIR.
Jim Meyering [Fri, 15 Sep 2006 18:48:09 +0000 (18:48 +0000)]
* rename-dest-slash.c (has_trailing_slash): Use
FILE_SYSTEM_PREFIX_LEN, for non-POSIX systems.
(rpl_rename_dest_slash): Perform the cheaper trailing slash
test before testing whether SRC is a directory.
Suggestions from Bruno Haible.
Jim Meyering [Fri, 15 Sep 2006 16:41:43 +0000 (16:41 +0000)]
Avoid a warning about an unused variable.
* regex_internal.c (re_dfa_add_node): Move declaration of "type"
into the #ifdef block where it's used.
Jim Meyering [Fri, 15 Sep 2006 13:49:12 +0000 (13:49 +0000)]
[ChangeLog]
* modules/rename-dest-slash: New module.
* MODULES.html.sh (posix_compat): Add it here.
[lib/ChangeLog]
* rename-dest-slash.c: New file.
[m4/ChangeLog]
* rename-dest-slash.m4 (gl_FUNC_RENAME_TRAILING_DEST_SLASH): New file.
Jim Meyering [Fri, 15 Sep 2006 10:36:51 +0000 (10:36 +0000)]
[ChangeLog]
* modules/rename: Reflect vb_FUNC_RENAME -> gl_FUNC_RENAME change.
[m4/ChangeLog]
* rename.m4 (gl_FUNC_RENAME): Rename from vb_FUNC_RENAME.
Bruno Haible [Thu, 14 Sep 2006 14:18:36 +0000 (14:18 +0000)]
Include <config.h> unconditionally.
Eric Blake [Thu, 14 Sep 2006 00:53:04 +0000 (00:53 +0000)]
* getopt.c: Fix typo in last commit.
Paul Eggert [Wed, 13 Sep 2006 22:38:14 +0000 (22:38 +0000)]
* _fpending.c: Include <config.h> unconditionally, since we no
longer worry about uses that don't define HAVE_CONFIG_H.
* acl.c, alloca.c, argmatch.c, atexit.c, backupfile.c:
* basename.c, c-stack.c, c-strtod.c, calloc.c, canon-host.c:
* canonicalize.c, chdir-long.c, chdir-safer.c, chown.c:
* cloexec.c, close-stream.c, closeout.c, creat-safer.c:
* cycle-check.c, diacrit.c, dirchownmod.c, dirfd.c, dirname.c:
* dup-safer.c, dup2.c, error.c, euidaccess.c, exclude.c:
* exitfail.c, fchmodat.c, fchown-stub.c, fd-safer.c:
* file-type.c, fileblocks.c, filemode.c, filenamecat.c:
* fnmatch.c, fopen-safer.c, fprintftime.c, free.c, fsusage.c:
* ftruncate.c, fts-cycle.c, fts.c, full-write.c, gai_strerror.c:
* getcwd.c, getdate.y, getdomainname.c, getgroups.c:
* gethostname.c, gethrxtime.c, getloadavg.c, getlogin_r.c:
* getndelim2.c, getnline.c, getopt.c, getopt1.c, getpass.c:
* gettime.c, gettimeofday.c, getugroups.c, getusershell.c:
* glob.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c:
* human.c, idcache.c, inet_ntop.c, inet_pton.c, inttostr.c:
* isdir.c, lchown.c, linebuffer.c, long-options.c, lstat.c:
* malloc.c, md5.c, memcasecmp.c, memchr.c, memcmp.c, memcoll.c:
* memcpy.c, memmove.c, memrchr.c, mkancesdirs.c, mkdir-p.c:
* mkdir.c, mkdirat.c, mkstemp-safer.c, mkstemp.c, modechange.c:
* mountlist.c, nanosleep.c, obstack.c, open-safer.c:
* openat-die.c, openat.c, pagealign_alloc.c, physmem.c:
* pipe-safer.c, posixtm.c, posixver.c, putenv.c, quote.c:
* quotearg.c, raise.c, readtokens.c, readtokens0.c, readutmp.c:
* realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c:
* same.c, save-cwd.c, savedir.c, setenv.c, settime.c, sha1.c:
* sig2str.c, snprintf.c, strdup.c, strerror.c, strftime.c:
* stripslash.c, strndup.c, strnlen.c, strpbrk.c, strtod.c:
* strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c:
* timegm.c, tmpfile-safer.c, unlinkdir.c, userspec.c, utime.c:
* utimecmp.c, utimens.c, version-etc-fsf.c, version-etc.c:
* xalloc-die.c, xgetcwd.c, xgethostname.c, xmalloc.c:
* xmemcoll.c, xnanosleep.c, xreadlink.c, xstrtod.c:
* xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
Likewise.
Paul Eggert [Wed, 13 Sep 2006 21:19:34 +0000 (21:19 +0000)]
Log the Sep 9 change.
Paul Eggert [Wed, 13 Sep 2006 20:14:57 +0000 (20:14 +0000)]
* getdate.m4: Don't AC_LIBOBJ([getdate]), automake takes care of
that internally.
Bruno Haible [Wed, 13 Sep 2006 15:00:47 +0000 (15:00 +0000)]
Tweak for automake.
Jim Meyering [Tue, 12 Sep 2006 10:13:20 +0000 (10:13 +0000)]
* nanosleep.c: Include <sys/types.h> before sys/select.h, to avoid
compilation failure (due to use of pid_t in latter) on NetBSD 1.6.
Reported by Nelson H. F. Beebe.
Sergey Poznyakoff [Tue, 12 Sep 2006 09:07:17 +0000 (09:07 +0000)]
Update
Sergey Poznyakoff [Tue, 12 Sep 2006 09:06:40 +0000 (09:06 +0000)]
(argp_doc): Make sure NULL is not passed to dgettext
Karl Berry [Tue, 12 Sep 2006 07:39:56 +0000 (07:39 +0000)]
.
Karl Berry [Mon, 11 Sep 2006 12:56:50 +0000 (12:56 +0000)]
autoupdate
Bruno Haible [Mon, 11 Sep 2006 12:35:15 +0000 (12:35 +0000)]
mkdtemp can now use the full <inttypes.h>.
Sergey Poznyakoff [Sun, 10 Sep 2006 11:52:44 +0000 (11:52 +0000)]
Fix docstrings
Sergey Poznyakoff [Sun, 10 Sep 2006 11:52:24 +0000 (11:52 +0000)]
Update
Sergey Poznyakoff [Sun, 10 Sep 2006 11:51:42 +0000 (11:51 +0000)]
Move declarations of program_invocation_name and program_invocation_short_name to argp.h, so they are visible to user programs.
Sergey Poznyakoff [Sun, 10 Sep 2006 11:49:28 +0000 (11:49 +0000)]
(__argp_parse) [!_LIBC]: Make sure program_invocation_name and program_invocation_short_name are initialized.
Karl Berry [Sun, 10 Sep 2006 07:40:00 +0000 (07:40 +0000)]
.
Paul Eggert [Sat, 9 Sep 2006 19:28:14 +0000 (19:28 +0000)]
Undo latest change, since the fix was propagated into glibc.
Bruno Haible [Sat, 9 Sep 2006 19:02:08 +0000 (19:02 +0000)]
For libraries not built with libtool:
- Fix the _LDFLAGS issue.
- Generate _LIBDEPS and _LTLIBDEPS variables.
Sergey Poznyakoff [Sat, 9 Sep 2006 17:28:21 +0000 (17:28 +0000)]
Update
Sergey Poznyakoff [Sat, 9 Sep 2006 17:27:59 +0000 (17:27 +0000)]
(struct argp_option): Document the use of N_() wrappers.
Sergey Poznyakoff [Sat, 9 Sep 2006 15:58:58 +0000 (15:58 +0000)]
Update
Sergey Poznyakoff [Sat, 9 Sep 2006 15:58:47 +0000 (15:58 +0000)]
(struct argp): Document the N_("..") "\v" N_("..") convention. Text proposed by Bruno Haible.
Karl Berry [Sat, 9 Sep 2006 07:40:53 +0000 (07:40 +0000)]
.
Sergey Poznyakoff [Sat, 9 Sep 2006 05:38:06 +0000 (05:38 +0000)]
Make sure the string is always translated
Sergey Poznyakoff [Sat, 9 Sep 2006 05:14:25 +0000 (05:14 +0000)]
Depend on malloc
Sergey Poznyakoff [Sat, 9 Sep 2006 05:13:54 +0000 (05:13 +0000)]
Update
Sergey Poznyakoff [Sat, 9 Sep 2006 05:12:46 +0000 (05:12 +0000)]
(argp_doc): Split the untranslated doc string on '\v',
and translate the two parts separately, instead of feeding
the whole string to gettext. This allows to exclude
'\v' from the strings visible to the translator by writing doc
strings as N_("..") "\v" N_("..").
Paul Eggert [Fri, 8 Sep 2006 22:48:25 +0000 (22:48 +0000)]
* config/srclist.txt: Temporarily comment out mktime.c until glibc bug
2821 is fixed.
* lib/mktime.c (guess_time_tm): Fix bug where mktime
returned the maximum time_t value rather than (time_t) -1.
Problem originally reported by William Bardwell
<http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
* m4/mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf.
Check for unistd.h too, since Autoconf doesn't assume POSIX.
Also:
2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
Add year_2050_test to catch glibc bug 2821
<http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
Prefer #ifdef to #if.
2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
Return from 'main' instead of calling 'exit'.
Paul Eggert [Fri, 8 Sep 2006 17:11:17 +0000 (17:11 +0000)]
* isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
Moved to here ...
* isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
... from here.
Jim Meyering [Fri, 8 Sep 2006 12:26:34 +0000 (12:26 +0000)]
Don't make generated files read-only. That would bother too many
people. However, do retain the ability to work when targets are
read-only: remove the destination and temporary files before writing
them (when generated via sed or echo), or by using the -f option for
both cp and mv commands. Suggestion to use -f from Paul Eggert.
* modules/alloca-opt, modules/argz, modules/arpa_inet:
* modules/byteswap, modules/configmake, modules/fcntl:
* modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
* modules/localcharset, modules/netinet_in, modules/poll:
* modules/stdbool, modules/stdint, modules/sys_select:
* modules/sys_socket, modules/sys_stat, modules/sysexits:
Jim Meyering [Fri, 8 Sep 2006 09:10:56 +0000 (09:10 +0000)]
Avoid new build failure on FreeBSD 6.0.
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include <sys/param.h>
when testing whether getmntinfo uses statvfs. Patch by Pavel Tsekov,
in <http://savannah.gnu.org/bugs/?17643>.
Paul Eggert [Thu, 7 Sep 2006 16:17:48 +0000 (16:17 +0000)]
Fix typo in previous change.
Paul Eggert [Thu, 7 Sep 2006 16:16:08 +0000 (16:16 +0000)]
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't use plain echo.
Bruno Haible [Thu, 7 Sep 2006 13:00:56 +0000 (13:00 +0000)]
A comment about automake-1.9b.
Karl Berry [Thu, 7 Sep 2006 07:40:55 +0000 (07:40 +0000)]
.
Jim Meyering [Thu, 7 Sep 2006 05:53:52 +0000 (05:53 +0000)]
Fix global typo in last change: use chmod u-w, not chmod u-x.
Spotted by Paul Eggert and Bruce Korb.
* modules/alloca-opt, modules/argz, modules/arpa_inet:
* modules/byteswap, modules/configmake, modules/fcntl:
* modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
* modules/localcharset, modules/netinet_in, modules/poll:
* modules/stdbool, modules/stdint, modules/sys_select:
* modules/sys_socket, modules/sys_stat, modules/sysexits:
Jim Meyering [Wed, 6 Sep 2006 21:58:00 +0000 (21:58 +0000)]
Make generated files be read-only.
* modules/alloca-opt (Makefile.am): Work also when $@ is read-only.
Ensure that each generated file is now read-only.
* modules/argz: Likewise.
* modules/arpa_inet: Likewise.
* modules/byteswap: Likewise.
* modules/configmake: Likewise.
* modules/fcntl: Likewise.
* modules/fnmatch: Likewise.
* modules/getopt: Likewise.
* modules/glob: Likewise.
* modules/inttypes: Likewise.
* modules/netinet_in: Likewise.
* modules/poll: Likewise.
* modules/stdbool: Likewise.
* modules/stdint: Likewise.
* modules/sys_select: Likewise.
* modules/sys_socket: Likewise.
* modules/sys_stat: Likewise.
* modules/sysexits: Likewise.
* modules/localcharset: Same as above, but continue using temporary
file named "t-$@" (why different?) rather than the "$@-t" used
everywhere else.
* modules/sysexits (Makefile.am): Replace literal occurrences
of "sysexit.h" more readable, and more consistent, "$@".
Bruno Haible [Wed, 6 Sep 2006 14:08:38 +0000 (14:08 +0000)]
_LIBADD is reserved for object files, not -L and -l options.
Karl Berry [Wed, 6 Sep 2006 13:36:52 +0000 (13:36 +0000)]
missed changelog entry
Bruno Haible [Wed, 6 Sep 2006 12:35:42 +0000 (12:35 +0000)]
Add support for LDFLAGS of the generated library.
Bruno Haible [Wed, 6 Sep 2006 12:22:29 +0000 (12:22 +0000)]
New modules 'striconv' and 'xstriconv'.
Bruno Haible [Wed, 6 Sep 2006 12:21:48 +0000 (12:21 +0000)]
New module 'xstriconv'.
Bruno Haible [Wed, 6 Sep 2006 12:21:39 +0000 (12:21 +0000)]
New module 'striconv'.
Karl Berry [Wed, 6 Sep 2006 07:40:49 +0000 (07:40 +0000)]
.
Ralf Wildenhues [Tue, 5 Sep 2006 17:24:38 +0000 (17:24 +0000)]
* argz_.h: Sync from Libtool.
2006-09-04 George Bosilca <bosilca@cs.utk.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/argz_.h: It's __cplusplus, not _cplusplus.
Bruno Haible [Tue, 5 Sep 2006 12:32:42 +0000 (12:32 +0000)]
New 'trim' module, from Davide Angelocola <davide.angelocola@tiscali.it>.
Karl Berry [Mon, 4 Sep 2006 12:45:56 +0000 (12:45 +0000)]
(signed.m4, gettext.m4): changes not propagated
until next release.
Bruno Haible [Mon, 4 Sep 2006 11:54:06 +0000 (11:54 +0000)]
Support for mingw DLLs.
Paul Eggert [Fri, 1 Sep 2006 19:54:35 +0000 (19:54 +0000)]
* lib/getloadavg.c: Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG.
Problem reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
* m4/getloadavg.m4 (gl_GETLOADAVG): Use CONFIGURING_GETLOADAVG,
not gl_GETLOADAVG. Omit unneeded semicolons.
Problems reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
(gl_PREREQ_GETLOADAVG): Use AC_DEFUN, not m4_define. Put
at the end, which is the usual gnulib style.
Paul Eggert [Fri, 1 Sep 2006 19:49:22 +0000 (19:49 +0000)]
* lib/mountlist.c: All uses of HAVE_F_FSTYPENAME_IN_STATFS replaced by
HAVE_STRUCT_STATFS_F_FSTYPENAME.
* m4/fstypename.m4 (gl_FSTYPENAME): Use AC_CHECK_MEMBERS instead
of doing all the work ourselves.
* m4/fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Don't check for
sys/statvfs.h since the code doesn't use HAVE_SYS_STATVFS_H.
Paul Eggert [Fri, 1 Sep 2006 15:17:11 +0000 (15:17 +0000)]
* gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
yesterday's patch by changing test -n to test -z.
Bruno Haible [Fri, 1 Sep 2006 11:57:26 +0000 (11:57 +0000)]
Improve maintainability.
Fix a typo.
Karl Berry [Fri, 1 Sep 2006 08:04:11 +0000 (08:04 +0000)]
.
Paul Eggert [Thu, 31 Aug 2006 22:29:00 +0000 (22:29 +0000)]
* modules/getloadavg (Files): Add m4/getloadavg.m4.
(configure.ac): AC_FUNC_GETLOADAVG -> gl_GETLOADAVG, as
the former is now obsolescent.
* lib/getloadavg.c [defined gl_GETLOADAVG]: Don't include config.h
or stdbool.h, because they might not exist while configuring.
* m4/fnmatch.m4: Add comment that Autoconf AC_FUNC_FNMATCH is
obsolescent, and programs should use gnulib instead.
* m4/getloadavg.m4: New file, with contents taken from Autoconf
but with prefixes changed.
Paul Eggert [Thu, 31 Aug 2006 21:54:54 +0000 (21:54 +0000)]
* lib/chdir-long.c: Include <fcntl.h>, for O_DIRECTORY.
Don't include unistd.h or limits.h; not needed, since chdir-long.h
does that for us.
(O_DIRECTORY): Remove.
* modules/chdir-long (Depends-on): Add fcntl.
Eric Blake [Thu, 31 Aug 2006 14:36:39 +0000 (14:36 +0000)]
* gnulib-tool: Don't let emacs change spaces to TAB.
Bruno Haible [Thu, 31 Aug 2006 13:40:57 +0000 (13:40 +0000)]
Slightly change the output generated by --makefile-name.
Bruno Haible [Thu, 31 Aug 2006 13:11:23 +0000 (13:11 +0000)]
Fix problem when calling "gnulib-tool --update" on multiple directories.
Karl Berry [Thu, 31 Aug 2006 08:03:18 +0000 (08:03 +0000)]
.
Paul Eggert [Thu, 31 Aug 2006 07:00:50 +0000 (07:00 +0000)]
Work around a bug in both the Linux and SunOS 64-bit kernels:
nanosleep mishandles sleeps for longer than 2**31 seconds.
Problem reported by Frank v Waveren in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00298.html>.
* lib/nanosleep.c (BILLION): New constant.
(getnow) [HAVE_BUG_BIG_NANOSLEEP]: New functions.
(rpl_nanosleep) [HAVE_BUG_BIG_NANOSLEEP]: Completely new implementation.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Require gl_CLOCK_TIME.
* modules/nanosleep (Depends-on): Add gettime.
Paul Eggert [Thu, 31 Aug 2006 04:52:03 +0000 (04:52 +0000)]
* isapipe.c (isapipe): Rename local s/fd/fd_pair/ to avoid shadowing
the parameter.
Paul Eggert [Wed, 30 Aug 2006 18:13:34 +0000 (18:13 +0000)]
* MODULES.html.sh (Support for building documentation): Add gpl, lgpl.
* gnulib-tool (func_import): New license type 'unmodifiable license
text'.
* modules/fdl: Use it. Longer description.
* module/gpl, module/lgpl: New files.
Karl Berry [Wed, 30 Aug 2006 08:04:47 +0000 (08:04 +0000)]
.
Paul Eggert [Tue, 29 Aug 2006 20:32:07 +0000 (20:32 +0000)]
* modules/isapipe: New file.
* MODULES.html.sh (File descriptor based Input/Output): Add isapipe.
* lib/isapipe.c, lib/isapipe.h, m4/isapipe.m4: New files.
Eric Blake [Tue, 29 Aug 2006 16:58:34 +0000 (16:58 +0000)]
* error.c (error_at_line, print_errno_message): Match libc, after
resolution of upstream bug 3044.