gnulib.git
17 years ago* verror.c: Include <config.h> unconditionally.
Eric Blake [Tue, 26 Sep 2006 20:14:43 +0000 (20:14 +0000)]
* verror.c: Include <config.h> unconditionally.

17 years ago* acl.m4 (AC_FUNC_ACL): Disable ACL support altogether
Jim Meyering [Tue, 26 Sep 2006 10:30:06 +0000 (10:30 +0000)]
* acl.m4 (AC_FUNC_ACL): Disable ACL support altogether
when we detect Darwin 8.7.0's acl_get_file bug.
Rearrange to perform the new (below) run-test while $LIBS
contains any acl-related library.  Set USE_ACL at the end.
(gl_ACL_GET_FILE): New function.

17 years ago.
Karl Berry [Tue, 26 Sep 2006 09:53:21 +0000 (09:53 +0000)]
.

17 years ago[ChangeLog]
Paul Eggert [Tue, 26 Sep 2006 06:36:30 +0000 (06:36 +0000)]
[ChangeLog]
* modules/clock-time (Maintainer): Add self.
* modules/getlogin_r (Depends-on): Add extensions.
[m4/ChangeLog]
* host-os.m4 (gl_HOST_OS): Require AC_CANONICAL_HOST.

17 years ago* gnulib-tool (func_import, func_create_testdir): Fix typos in
Eric Blake [Mon, 25 Sep 2006 21:20:54 +0000 (21:20 +0000)]
* gnulib-tool (func_import, func_create_testdir): Fix typos in
2006-09-18 patch.

17 years ago* chdir-long.m4 (gl_FUNC_CHDIR_LONG): Rename cache variable from
Ralf Wildenhues [Mon, 25 Sep 2006 21:03:05 +0000 (21:03 +0000)]
* chdir-long.m4 (gl_FUNC_CHDIR_LONG): Rename cache variable from
`gl_have_arbitrary_file_name_length_limit' to
`gl_cv_have_arbitrary_file_name_length_limit', so that caching
actually works between configure runs.

17 years ago* modules/clock-time: New module.
Ralf Wildenhues [Mon, 25 Sep 2006 17:35:50 +0000 (17:35 +0000)]
* modules/clock-time: New module.
* modules/nanosleep (Depends-on): Add clock-time.
* modules/gethrxtime (Depends-on): Likewise.
* modules/gettime (Depends-on): Likewise.
* modules/settime (Depends-on): Likewise.

17 years ago* modules/fts-lgpl: Depend on openat.
Ralf Wildenhues [Mon, 25 Sep 2006 17:34:56 +0000 (17:34 +0000)]
* modules/fts-lgpl: Depend on openat.
* modules/mkancesdirs: Depend on savewd.
* modules/mkdir-p: Likewise.

17 years agoadd "the" in a comment
Jim Meyering [Mon, 25 Sep 2006 16:08:26 +0000 (16:08 +0000)]
add "the" in a comment

17 years agoEnsure stpncpy() is declared.
Bruno Haible [Mon, 25 Sep 2006 14:40:44 +0000 (14:40 +0000)]
Ensure stpncpy() is declared.

17 years ago* fcntl_h.m4 (gl_FCNTL_H): Fix typo in test for failed open.
Jim Meyering [Mon, 25 Sep 2006 13:02:15 +0000 (13:02 +0000)]
* fcntl_h.m4 (gl_FCNTL_H): Fix typo in test for failed open.
This typo caused coreutils/tests/dd/misc to fail on Darwin 8.7.0.

17 years agoOops, update error message also.
Bruno Haible [Mon, 25 Sep 2006 11:58:08 +0000 (11:58 +0000)]
Oops, update error message also.

17 years ago.
Karl Berry [Sun, 24 Sep 2006 07:46:06 +0000 (07:46 +0000)]
.

17 years ago*** empty log message ***
Jim Meyering [Sun, 24 Sep 2006 06:53:01 +0000 (06:53 +0000)]
*** empty log message ***

17 years ago* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't use '>' to
Jim Meyering [Sun, 24 Sep 2006 06:49:03 +0000 (06:49 +0000)]
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't use '>' to
compare a pointer against a literal "0".  That caused failures with
at least HP-UX's hpcc.

17 years agoAvoid warning at configure time with "gcc -Wall".
Bruno Haible [Fri, 22 Sep 2006 20:10:26 +0000 (20:10 +0000)]
Avoid warning at configure time with "gcc -Wall".

17 years ago* fsusage.m4 (gl_STATFS_TRUNCATES): Avoid unused variable.
Ralf Wildenhues [Fri, 22 Sep 2006 18:09:47 +0000 (18:09 +0000)]
* fsusage.m4 (gl_STATFS_TRUNCATES): Avoid unused variable.
* getdate.m4 (gl_C_COMPOUND_LITERALS): Likewise.
* jm-winsz1.m4 (gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Likewise;
also add missing comma that caused broken test.
* link-follow.m4 (gl_AC_FUNC_LINK_FOLLOWS_SYMLINK): Include
stdlib.h, for `abort'.
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Avoid unused
variables.
* mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Check for and
include unistd.h if present, for `rmdir'.
* physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): Avoid unused
variables.
* putenv.m4 (gl_FUNC_PUTENV): Rewrite using AC_RUN_IFELSE, and
in the process include standard headers for prototypes.
* readutmp.m4 (gl_READUTMP): Require AC_GNU_SOURCE, so utmpxname
gets declared on GNU/Linux.
* rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Check for and include
unistd.h, for `rmdir'.
* time_r.m4 (gl_TIME_R): Avoid unused variables.

17 years ago* fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Avoid expression that is
Ralf Wildenhues [Fri, 22 Sep 2006 17:26:02 +0000 (17:26 +0000)]
* fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Avoid expression that is
always true.
* strndup.m4 (gl_FUNC_STRNDUP): include stdlib.h, for `free'.

17 years ago* sockpfaf.m4 (gl_SOCKET_FAMILIES): Avoid gcc -Wall warnings.
Ralf Wildenhues [Fri, 22 Sep 2006 17:25:00 +0000 (17:25 +0000)]
* sockpfaf.m4 (gl_SOCKET_FAMILIES): Avoid gcc -Wall warnings.

17 years ago* modules/bison-i18n (Depends-on): Add gettext.
Ralf Wildenhues [Fri, 22 Sep 2006 17:19:03 +0000 (17:19 +0000)]
* modules/bison-i18n (Depends-on): Add gettext.

17 years ago* gl_anylinked_list2.h [lint] (gl_linked_iterator)
Ralf Wildenhues [Fri, 22 Sep 2006 17:15:05 +0000 (17:15 +0000)]
* gl_anylinked_list2.h [lint] (gl_linked_iterator)
(gl_linked_iterator_from_to): Initialize struct completely.
* gl_anytree_list2.h [lint] (gl_tree_iterator): Likewise.
(gl_tree_iterator_from_to): Likewise
* gl_anytree_oset.h [lint] (gl_tree_iterator): Likewise.
* gl_array_list.c [lint] (gl_array_iterator)
(gl_array_iterator_from_to): Likewise.
* gl_array_oset.c [lint] (gl_array_iterator): Likewise.
* gl_carray_list.c [lint] (gl_carray_iterator)
(gl_carray_iterator_from_to): Likewise.

17 years ago* gc-gnulib.c [GC_USE_HMAC_SHA1]: include hmac.h for hmac_sha1.
Ralf Wildenhues [Fri, 22 Sep 2006 16:54:11 +0000 (16:54 +0000)]
* gc-gnulib.c [GC_USE_HMAC_SHA1]: include hmac.h for hmac_sha1.
* md4.c (md4_process_block): Remove unused variable.
* rijndael-api-fst.c (rijndaelBlockDecrypt): GCC suggests
parentheses for clarity.

17 years agoDon't include the config-h module in megatestdir.
Bruno Haible [Fri, 22 Sep 2006 15:43:18 +0000 (15:43 +0000)]
Don't include the config-h module in megatestdir.

17 years ago2006-09-22 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Fri, 22 Sep 2006 12:59:37 +0000 (12:59 +0000)]
2006-09-22  Simon Josefsson  <jas@extundo.com>

* modules/gc-sha1:
* modules/gc-md4:
* modules/gc-hmac-sha1:
* modules/gc-hmac-md5:
* modules/gc-des:
* modules/gc-arcfour: Distribute more files.

17 years agoPass to the gl_GETLOADAVG macro the $gl_source_base from gnulib-tool.
Bruno Haible [Fri, 22 Sep 2006 12:47:54 +0000 (12:47 +0000)]
Pass to the gl_GETLOADAVG macro the $gl_source_base from gnulib-tool.

17 years ago* gnulib-tool (func_version): Create output all at once. This
Ralf Wildenhues [Fri, 22 Sep 2006 03:10:42 +0000 (03:10 +0000)]
* gnulib-tool (func_version): Create output all at once.  This
may help avoid triggering unnecessary SIGPIPEs, and at any
rate it doesn't hurt.

17 years agoautoupdate
Karl Berry [Thu, 21 Sep 2006 21:39:23 +0000 (21:39 +0000)]
autoupdate

17 years ago.
Karl Berry [Thu, 21 Sep 2006 07:39:01 +0000 (07:39 +0000)]
.

17 years ago* lib/regex_internal.c (re_string_reconstruct): Handle
Paul Eggert [Thu, 21 Sep 2006 05:25:11 +0000 (05:25 +0000)]
* lib/regex_internal.c (re_string_reconstruct): Handle
offset < pstr->valid_raw_len && pstr->offsets_needed case.
Ensure no bytes read before raw_mbs array.  Pass a saved copy of
pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to
re_string_context_at.
* m4/regex.m4 (gl_REGEX): Check for locale.h, since the test
now requires it.
(gl_PREREQ_REGEX): Don't check for locale.h any more, since
gl_REGEX now does it for us.
(gl_REGEX): Add test taken from
http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html.

17 years ago* modules/mkstemp (Files): Add mkstemp.h.
Paul Eggert [Wed, 20 Sep 2006 22:32:39 +0000 (22:32 +0000)]
* modules/mkstemp (Files): Add mkstemp.h.

17 years agoMerge from glibc.
Bruno Haible [Wed, 20 Sep 2006 20:18:02 +0000 (20:18 +0000)]
Merge from glibc.

17 years ago* mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.
Paul Eggert [Wed, 20 Sep 2006 20:16:48 +0000 (20:16 +0000)]
* mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.

17 years ago* mkstemp-safer.c: Include "mkstemp.h".
Paul Eggert [Wed, 20 Sep 2006 20:14:40 +0000 (20:14 +0000)]
* mkstemp-safer.c: Include "mkstemp.h".
(mkstemp): Remove, since mkstemp.h does this for us.

17 years agoChange mkstemp Include: section to refer to "mkstemp.h".
Paul Eggert [Wed, 20 Sep 2006 18:48:29 +0000 (18:48 +0000)]
Change mkstemp Include: section to refer to "mkstemp.h".

17 years ago[ChangeLog]
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".

17 years ago* tempname.c (__gen_tempname): Change attempts_min
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].

17 years agomissed commit.
Karl Berry [Wed, 20 Sep 2006 12:28:22 +0000 (12:28 +0000)]
missed commit.

17 years ago* gnulib-tool: Avoid space-tab.
Eric Blake [Tue, 19 Sep 2006 14:07:28 +0000 (14:07 +0000)]
* gnulib-tool: Avoid space-tab.

17 years agonote about the license texinfo files
Karl Berry [Tue, 19 Sep 2006 13:42:41 +0000 (13:42 +0000)]
note about the license texinfo files

17 years ago.
Karl Berry [Tue, 19 Sep 2006 07:46:17 +0000 (07:46 +0000)]
.

17 years ago* gnulib-tool (func_exit): New function, to allow to pass the
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.

17 years agoUse configmake.
Bruno Haible [Mon, 18 Sep 2006 20:17:52 +0000 (20:17 +0000)]
Use configmake.

17 years agoRemove inttypes-h.m4 and its gl_HEADER_INTTYES_H macro.
Bruno Haible [Mon, 18 Sep 2006 19:23:59 +0000 (19:23 +0000)]
Remove inttypes-h.m4 and its gl_HEADER_INTTYES_H macro.

17 years ago* getaddrinfo.c (getaddrinfo) [defined HAVE_IPV6]: Fix typo
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.

17 years ago* inttypes.m4 (gl_INTTYPES_H): Quote "test" args
Paul Eggert [Mon, 18 Sep 2006 17:45:51 +0000 (17:45 +0000)]
* inttypes.m4 (gl_INTTYPES_H): Quote "test" args
more systematically.

17 years ago* gnulib-tool (avoidlist): Fix typo that broke options like
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.

17 years agoAvoid to execute while loops in a subshell.
Bruno Haible [Mon, 18 Sep 2006 15:14:26 +0000 (15:14 +0000)]
Avoid to execute while loops in a subshell.

17 years agoBreak long lines.
Bruno Haible [Mon, 18 Sep 2006 13:47:29 +0000 (13:47 +0000)]
Break long lines.

17 years agoUse the configmake module.
Bruno Haible [Mon, 18 Sep 2006 13:08:56 +0000 (13:08 +0000)]
Use the configmake module.

17 years agoAvoid quadratic complexity due to string concatenations.
Bruno Haible [Mon, 18 Sep 2006 13:07:37 +0000 (13:07 +0000)]
Avoid quadratic complexity due to string concatenations.

17 years agoSpeed up presentation of the include files.
Bruno Haible [Mon, 18 Sep 2006 13:04:17 +0000 (13:04 +0000)]
Speed up presentation of the include files.

17 years agoRewrite all file names at once.
Bruno Haible [Mon, 18 Sep 2006 13:03:14 +0000 (13:03 +0000)]
Rewrite all file names at once.

17 years agoSpeed up func_modules_transitive_closure.
Bruno Haible [Mon, 18 Sep 2006 12:55:35 +0000 (12:55 +0000)]
Speed up func_modules_transitive_closure.

17 years agoUse "sort -u" where it makes sense.
Bruno Haible [Mon, 18 Sep 2006 12:54:13 +0000 (12:54 +0000)]
Use "sort -u" where it makes sense.

17 years ago.
Karl Berry [Mon, 18 Sep 2006 07:47:24 +0000 (07:47 +0000)]
.

17 years ago* savewd.c (savewd_restore): Don't shadow: s/status/child_status/.
Jim Meyering [Mon, 18 Sep 2006 06:47:32 +0000 (06:47 +0000)]
* savewd.c (savewd_restore): Don't shadow: s/status/child_status/.

17 years agofix typo in comment
Jim Meyering [Mon, 18 Sep 2006 06:28:56 +0000 (06:28 +0000)]
fix typo in comment

17 years agoInitial revision.
Paul Eggert [Mon, 18 Sep 2006 03:31:18 +0000 (03:31 +0000)]
Initial revision.

17 years agoautoupdate
Karl Berry [Sun, 17 Sep 2006 21:59:27 +0000 (21:59 +0000)]
autoupdate

17 years ago.
Karl Berry [Sun, 17 Sep 2006 07:41:04 +0000 (07:41 +0000)]
.

17 years ago* lib/dirchownmod.c: Don't include fcntl.h; no longer needed.
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.

17 years agotexinfo tweaks to licenses
Karl Berry [Sat, 16 Sep 2006 14:04:29 +0000 (14:04 +0000)]
texinfo tweaks to licenses

17 years ago.
Karl Berry [Sat, 16 Sep 2006 07:40:41 +0000 (07:40 +0000)]
.

17 years ago* modules/configmake (Makefile.am): Add support for the
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.

17 years ago* rename-dest-slash.c (has_trailing_slash): Use
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.

17 years agoAvoid a warning about an unused variable.
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.

17 years ago[ChangeLog]
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.

17 years ago[ChangeLog]
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.

17 years agoInclude <config.h> unconditionally.
Bruno Haible [Thu, 14 Sep 2006 14:18:36 +0000 (14:18 +0000)]
Include <config.h> unconditionally.

17 years ago* getopt.c: Fix typo in last commit.
Eric Blake [Thu, 14 Sep 2006 00:53:04 +0000 (00:53 +0000)]
* getopt.c: Fix typo in last commit.

17 years ago* _fpending.c: Include <config.h> unconditionally, since we no
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.

17 years agoLog the Sep 9 change.
Paul Eggert [Wed, 13 Sep 2006 21:19:34 +0000 (21:19 +0000)]
Log the Sep 9 change.

17 years ago* getdate.m4: Don't AC_LIBOBJ([getdate]), automake takes care of
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.

17 years agoTweak for automake.
Bruno Haible [Wed, 13 Sep 2006 15:00:47 +0000 (15:00 +0000)]
Tweak for automake.

17 years ago* nanosleep.c: Include <sys/types.h> before sys/select.h, to avoid
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.

17 years agoUpdate
Sergey Poznyakoff [Tue, 12 Sep 2006 09:07:17 +0000 (09:07 +0000)]
Update

17 years ago(argp_doc): Make sure NULL is not passed to dgettext
Sergey Poznyakoff [Tue, 12 Sep 2006 09:06:40 +0000 (09:06 +0000)]
(argp_doc): Make sure NULL is not passed to dgettext

17 years ago.
Karl Berry [Tue, 12 Sep 2006 07:39:56 +0000 (07:39 +0000)]
.

17 years agoautoupdate
Karl Berry [Mon, 11 Sep 2006 12:56:50 +0000 (12:56 +0000)]
autoupdate

17 years agomkdtemp can now use the full <inttypes.h>.
Bruno Haible [Mon, 11 Sep 2006 12:35:15 +0000 (12:35 +0000)]
mkdtemp can now use the full <inttypes.h>.

17 years agoFix docstrings
Sergey Poznyakoff [Sun, 10 Sep 2006 11:52:44 +0000 (11:52 +0000)]
Fix docstrings

17 years agoUpdate
Sergey Poznyakoff [Sun, 10 Sep 2006 11:52:24 +0000 (11:52 +0000)]
Update

17 years agoMove declarations of program_invocation_name and program_invocation_short_name to...
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.

17 years ago(__argp_parse) [!_LIBC]: Make sure program_invocation_name and program_invocation_sho...
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.

17 years ago.
Karl Berry [Sun, 10 Sep 2006 07:40:00 +0000 (07:40 +0000)]
.

17 years agoUndo latest change, since the fix was propagated into glibc.
Paul Eggert [Sat, 9 Sep 2006 19:28:14 +0000 (19:28 +0000)]
Undo latest change, since the fix was propagated into glibc.

17 years agoFor libraries not built with libtool:
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.

17 years agoUpdate
Sergey Poznyakoff [Sat, 9 Sep 2006 17:28:21 +0000 (17:28 +0000)]
Update

17 years ago(struct argp_option): Document the use of N_() wrappers.
Sergey Poznyakoff [Sat, 9 Sep 2006 17:27:59 +0000 (17:27 +0000)]
(struct argp_option): Document the use of N_() wrappers.

17 years agoUpdate
Sergey Poznyakoff [Sat, 9 Sep 2006 15:58:58 +0000 (15:58 +0000)]
Update

17 years ago(struct argp): Document the N_("..") "\v" N_("..") convention. Text proposed by...
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.

17 years ago.
Karl Berry [Sat, 9 Sep 2006 07:40:53 +0000 (07:40 +0000)]
.

17 years agoMake sure the string is always translated
Sergey Poznyakoff [Sat, 9 Sep 2006 05:38:06 +0000 (05:38 +0000)]
Make sure the string is always translated

17 years agoDepend on malloc
Sergey Poznyakoff [Sat, 9 Sep 2006 05:14:25 +0000 (05:14 +0000)]
Depend on malloc

17 years agoUpdate
Sergey Poznyakoff [Sat, 9 Sep 2006 05:13:54 +0000 (05:13 +0000)]
Update

17 years ago(argp_doc): Split the untranslated doc string on '\v',
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_("..").

17 years ago* config/srclist.txt: Temporarily comment out mktime.c until glibc bug
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'.

17 years ago* isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
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.

17 years agoDon't make generated files read-only. That would bother too many
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:

17 years agoAvoid new build failure on FreeBSD 6.0.
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>.