gnulib.git
17 years agoMake it possible to #define set_program_name to an alias.
Bruno Haible [Wed, 11 Oct 2006 12:37:31 +0000 (12:37 +0000)]
Make it possible to #define set_program_name to an alias.

17 years ago.
Karl Berry [Wed, 11 Oct 2006 07:43:35 +0000 (07:43 +0000)]
.

17 years agoPort to Tandem NSK OSS, which has 64-bit signed int but at most
Paul Eggert [Wed, 11 Oct 2006 05:58:47 +0000 (05:58 +0000)]
Port to Tandem NSK OSS, which has 64-bit signed int but at most
32-bit unsigned int.  Problem reported by Matthew Woehlke in:
http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00062.html
More generally, don't assume that 64-bit signed int is available
if unsigned int is, and vice versa.
* lib/inttypes_.h (_PRIu64_PREFIX, _SCNu64_PREFIX): Depend on
unsigned symbols, not on their signed counterparts.
* lib/stdint_.h (uint64_t, uint_least64_t, uint_fast64_t, uintmax_t):
(UINT64_MAX, UINT_LEAST64_MAX, UINT_FAST64_MAX, UINTMAX_MAX):
(UINT64_C, UINTMAX_C):
Likewise.
* lib/strtoimax.c (strtoll): Depend on signed symbols, not their
unsigned counterparts.
(Have_long_long, Unsigned): New macros.
(Int): Renamed from INT.
(strtoimax): Use the new macros.
* m4/stdint.m4 (gl_STDINT_H): Require AC_TYPE_UNSIGNED_LONG_LONG_INT
and substitute HAVE_UNSIGNED_LONG_LONG_INT.
* modules/inttypes (inttypes.h): Substitute
HAVE_UNSIGNED_LONG_LONG_INT.
* modules/stdint (stdint.h): Likewise.
(Files): Add m4/ulonglong.m4.

17 years agoReinstall the "tiny change" annotations.
Bruno Haible [Tue, 10 Oct 2006 13:09:59 +0000 (13:09 +0000)]
Reinstall the "tiny change" annotations.

17 years agoAvoid using the variable name 'index' for two completely different things.
Bruno Haible [Tue, 10 Oct 2006 12:48:57 +0000 (12:48 +0000)]
Avoid using the variable name 'index' for two completely different things.

17 years agoautoupdate
Karl Berry [Mon, 9 Oct 2006 21:20:20 +0000 (21:20 +0000)]
autoupdate

17 years agoPrepend directory to more file names.
Bruno Haible [Mon, 9 Oct 2006 20:24:37 +0000 (20:24 +0000)]
Prepend directory to more file names.
Break lines to width 80, where possible.

17 years ago* lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too,
Paul Eggert [Mon, 9 Oct 2006 19:33:54 +0000 (19:33 +0000)]
* lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too,
for NetBSD.  Problem reported by Bruno Haible.

17 years agoMerge the ChangeLogs into one ChangeLog, at the root.
Paul Eggert [Mon, 9 Oct 2006 18:22:37 +0000 (18:22 +0000)]
Merge the ChangeLogs into one ChangeLog, at the root.

17 years agoFix some dates and names in ChangeLog entries.
Paul Eggert [Mon, 9 Oct 2006 17:47:14 +0000 (17:47 +0000)]
Fix some dates and names in ChangeLog entries.

17 years agoEmphasize the drawbacks of the --symlink option.
Bruno Haible [Mon, 9 Oct 2006 12:26:13 +0000 (12:26 +0000)]
Emphasize the drawbacks of the --symlink option.

17 years ago* fts-cycle.c (leave_dir): When "leaving" a top level directory due
Jim Meyering [Mon, 9 Oct 2006 12:15:39 +0000 (12:15 +0000)]
* fts-cycle.c (leave_dir): When "leaving" a top level directory due
to FTS_SKIP, don't copy the parent's uninitialized dev/ino values.
Trigger with e.g., mkdir d && valgrind ./chmod u+rwx d d

17 years ago* lchown.c: Include <sys/stat.h> before "stat-macros.h".
Jim Meyering [Mon, 9 Oct 2006 11:50:09 +0000 (11:50 +0000)]
* lchown.c: Include <sys/stat.h> before "stat-macros.h".
Patch from Bruno Haible.

17 years ago.
Karl Berry [Sun, 8 Oct 2006 07:41:44 +0000 (07:41 +0000)]
.

17 years agoGive credit to bug reporter.
Paul Eggert [Sun, 8 Oct 2006 07:29:24 +0000 (07:29 +0000)]
Give credit to bug reporter.

17 years agoDon't include <config.h> twice; this doesn't work in some cases,
Paul Eggert [Sun, 8 Oct 2006 07:24:56 +0000 (07:24 +0000)]
Don't include <config.h> twice; this doesn't work in some cases,
e.g., when config.h has "#define intmax_t long long int" and
we include <config.h>, <inttypes.h>, <config.h> in that order.
* fprintftime.c: Don't include config.h or fprintftime.h.
* fts-cycle.c: Don't include config.h.
* strftime.c: Include fprintftime.h if FPRINTFTIME is defined.
* xstrtoimax.c: Remove copyright notice since it's short tnow.
Don't include config.h or xstrtol.h.  Define STRTOL_T_MINIMUM
and STRTOL_T_MAXIMUM unconditionally, since we now assume gnulib
inttypes.h.
* xstrtoumax.c: Likewise.
* xstrtol.c: Include config.h and xstrtol.h after defining
__strtol and the like, so that this module is more like its siblings.
(STRTOL_T_MINIMUM, STRTOL_T_MAXIMUM) [! defined STRTOL_T_MINIMUM]:
Remove; no longer needed now that we assume gnulib inttypes.h.

2006-10-07  Bruno Haible  <bruno@clisp.org>

17 years ago* modules/inttypes (inttypes.h): Revert what seems to have been
Jim Meyering [Sat, 7 Oct 2006 18:57:13 +0000 (18:57 +0000)]
* modules/inttypes (inttypes.h): Revert what seems to have been
an inadvertent part of today's change: use "|", not "/" in the
substitution for the "/"-containing string, $(ABSOLUTE_INTTYPES_H).

17 years agoMove Paolo's ChangeLog entry.
Bruno Haible [Sat, 7 Oct 2006 17:53:15 +0000 (17:53 +0000)]
Move Paolo's ChangeLog entry.

17 years agoFix ChangeLog typo
Eric Blake [Sat, 7 Oct 2006 17:38:54 +0000 (17:38 +0000)]
Fix ChangeLog typo

17 years agoLive on the diff-merge branch, not on HEAD.
Bruno Haible [Sat, 7 Oct 2006 15:21:52 +0000 (15:21 +0000)]
Live on the diff-merge branch, not on HEAD.

17 years agoDifference of two sequences.
Bruno Haible [Sat, 7 Oct 2006 15:20:20 +0000 (15:20 +0000)]
Difference of two sequences.

17 years agoFuzzy string comparison.
Bruno Haible [Sat, 7 Oct 2006 15:19:14 +0000 (15:19 +0000)]
Fuzzy string comparison.
Taken from GNU gettext.

17 years agoTaken from diffutils/src/analyze.c
Bruno Haible [Sat, 7 Oct 2006 15:18:43 +0000 (15:18 +0000)]
Taken from diffutils/src/analyze.c

17 years agoComment changes.
Bruno Haible [Sat, 7 Oct 2006 15:09:14 +0000 (15:09 +0000)]
Comment changes.

17 years agoMark generated files as "DO NOT EDIT".
Bruno Haible [Sat, 7 Oct 2006 14:54:51 +0000 (14:54 +0000)]
Mark generated files as "DO NOT EDIT".

17 years agoNew module 'sublist'.
Bruno Haible [Sat, 7 Oct 2006 14:47:21 +0000 (14:47 +0000)]
New module 'sublist'.

17 years ago.
Karl Berry [Sat, 7 Oct 2006 07:42:41 +0000 (07:42 +0000)]
.

17 years ago* mkancesdirs.c (mkancesdirs): Pass to MAKE_DIR both the full file
Paul Eggert [Sat, 7 Oct 2006 07:07:34 +0000 (07:07 +0000)]
* mkancesdirs.c (mkancesdirs): Pass to MAKE_DIR both the full file
name (relative to the original working directory) and the file
name component (relative to the temporary working directory).  All
callers changed.
* mkancesdirs.h (mkancesdirs): Adjust prototype to match.
* mkdir-p.c (make_dir_parents): Likewise.
* mkdir-p.h (make_dir_parents): Likewise.

SCALAR(0x827b260)
2006-10-06  Bruno Haible  <bruno@clisp.org>

17 years ago* clean-temp.h (close_stream_temp): New declaration.
Eric Blake [Fri, 6 Oct 2006 23:13:53 +0000 (23:13 +0000)]
* clean-temp.h (close_stream_temp): New declaration.
* clean-temp.c (includes): Pull in headers according to what
other modules are in use.
(close_stream_temp) [GNULIB_CLOSE_STREAM]: New function.

17 years agoDefine several macros for use by the clean-temp module.
Eric Blake [Fri, 6 Oct 2006 23:11:25 +0000 (23:11 +0000)]
Define several macros for use by the clean-temp module.
* close-stream.m4 (gl_CLOSE_STREAM): Define GNULIB_CLOSE_STREAM.
* fcntl-safer.m4 (gl_FCNTL_SAFER): Define GNULIB_FCNTL_SAFER.
* stdio-safer.m4 (gl_FOPEN_SAFER): Define GNULIB_FOPEN_SAFER.

17 years agoReturn an error indicator.
Bruno Haible [Fri, 6 Oct 2006 21:37:28 +0000 (21:37 +0000)]
Return an error indicator.

17 years agoProvide a fallback for PATH_MAX.
Bruno Haible [Fri, 6 Oct 2006 21:20:20 +0000 (21:20 +0000)]
Provide a fallback for PATH_MAX.

17 years ago[ChangeLog]
Jim Meyering [Fri, 6 Oct 2006 13:59:10 +0000 (13:59 +0000)]
[ChangeLog]
* modules/closeout (Description): Mention stderr too.
[lib/ChangeLog]
* closeout.c (close_stdout): Also close stderr.
* closeout.h: Update comment.

17 years agoEnsure temp file is closed before its directory is removed.
Bruno Haible [Fri, 6 Oct 2006 13:32:11 +0000 (13:32 +0000)]
Ensure temp file is closed before its directory is removed.

17 years agoHave clean-temp register file open descriptors to temporary files.
Bruno Haible [Fri, 6 Oct 2006 12:17:22 +0000 (12:17 +0000)]
Have clean-temp register file open descriptors to temporary files.

17 years agoAdd bounded list search operations.
Bruno Haible [Fri, 6 Oct 2006 12:06:07 +0000 (12:06 +0000)]
Add bounded list search operations.

17 years ago[lib/ChangeLog]
Paul Eggert [Thu, 5 Oct 2006 22:49:57 +0000 (22:49 +0000)]
[lib/ChangeLog]
Fix some Darwin-7.9.0 porting problems reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00063.html>.
* dirchownmod.c: Include lchown.h.
* lchown.c: Don't include files that lchown.h now includes.
Don't declare chown, since lchown.h now does that.
* lchown.h: Include errno.h, sys/types.h, unistd.h.
(lchown): Define to rpl_chown if lchown is declared but
does not exist.  Declare using a prototype if lchown is not
declared.  Add a copyright notice.
* mkstemp.h: Include <unistd.h>.
* openat.c: Include lchown.h.
[m4/ChangeLog]
* lchown.m4 (gl_FUNC_LCHOWN): Check whether lchown is declared.

17 years ago[lib/ChangeLog]
Paul Eggert [Thu, 5 Oct 2006 21:38:10 +0000 (21:38 +0000)]
[lib/ChangeLog]
* fcntl_.h (O_NOFOLLOW): Don't depend on O_NOFOLLOW_IS_INEFFECTIVE;
we now test for that separately.
* fts.c (fts_safe_changedir): Inspect HAVE_WORKING_O_NOFOLLOW
rather than O_NOFOLLOW, when testing whether it's possible to
avoid a race condition reliably.
* savewd.c (savewd_chdir): Likewise.
[m4/ChangeLog]
* fcntl_h.m4 (gl_FCNTL_H): Define HAVE_WORKING_O_NOFOLLOW instead
of O_NOFOLLOW_IS_INEFFECTIVE.  Define HAVE_WORKING_O_NOATIME if
O_NOATIME works.

17 years agoupdate from texinfo
Karl Berry [Thu, 5 Oct 2006 21:26:52 +0000 (21:26 +0000)]
update from texinfo

17 years agoRemove macros that are no longer needed now that stdint.h is
Paul Eggert [Thu, 5 Oct 2006 21:23:20 +0000 (21:23 +0000)]
Remove macros that are no longer needed now that stdint.h is
reliable.
* fsusage.c (UINTMAX_MAX): Remove.
* human.c (SIZE_MAX, UINTMAX_MAX): Remove.
* utimecmp.c (SIZE_MAX): Remove.

17 years agoAdd searching operations, limited to a subsequence of the list.
Bruno Haible [Thu, 5 Oct 2006 12:45:16 +0000 (12:45 +0000)]
Add searching operations, limited to a subsequence of the list.

17 years agoHandle the Woe32 SIGBREAK too.
Bruno Haible [Thu, 5 Oct 2006 12:40:48 +0000 (12:40 +0000)]
Handle the Woe32 SIGBREAK too.

17 years agoAdd a search_atleast operation.
Bruno Haible [Wed, 4 Oct 2006 17:28:15 +0000 (17:28 +0000)]
Add a search_atleast operation.

17 years ago* fts.c (fts_open): Tiny comment change.
Jim Meyering [Wed, 4 Oct 2006 17:21:22 +0000 (17:21 +0000)]
* fts.c (fts_open): Tiny comment change.

17 years agoWhitespace normalization.
Bruno Haible [Wed, 4 Oct 2006 17:00:21 +0000 (17:00 +0000)]
Whitespace normalization.

17 years agoFix a weird typo.
Bruno Haible [Wed, 4 Oct 2006 16:59:33 +0000 (16:59 +0000)]
Fix a weird typo.

17 years agoFix return type.
Bruno Haible [Wed, 4 Oct 2006 16:56:38 +0000 (16:56 +0000)]
Fix return type.

17 years agoComment fixes.
Bruno Haible [Wed, 4 Oct 2006 16:54:24 +0000 (16:54 +0000)]
Comment fixes.

17 years agoMake it possible to invoke AC_GNU_SOURCE after gl_LOCK_EARLY.
Bruno Haible [Wed, 4 Oct 2006 16:38:45 +0000 (16:38 +0000)]
Make it possible to invoke AC_GNU_SOURCE after gl_LOCK_EARLY.

17 years ago2006-10-02 Dmitry V. Levin <ldv@altlinux.org>
Jim Meyering [Wed, 4 Oct 2006 08:24:26 +0000 (08:24 +0000)]
2006-10-02  Dmitry V. Levin  <ldv@altlinux.org>
* fts.c (fts_close, fts_build, fts_palloc): Remove redundant checks.

17 years ago.
Karl Berry [Tue, 3 Oct 2006 07:41:39 +0000 (07:41 +0000)]
.

17 years ago* quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.
Paul Eggert [Tue, 3 Oct 2006 06:33:39 +0000 (06:33 +0000)]
* quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.

17 years ago* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use autoconf's
Eric Blake [Tue, 3 Oct 2006 04:12:40 +0000 (04:12 +0000)]
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use autoconf's
definition in 2.60+.

17 years ago* modules/strnlen (Depends-on): Add extensions.
Eric Blake [Tue, 3 Oct 2006 04:01:46 +0000 (04:01 +0000)]
* modules/strnlen (Depends-on): Add extensions.

17 years agoDon't use no-dependencies, since it's not the default in automake.
Bruno Haible [Mon, 2 Oct 2006 11:40:10 +0000 (11:40 +0000)]
Don't use no-dependencies, since it's not the default in automake.

17 years ago.
Karl Berry [Sat, 30 Sep 2006 07:38:29 +0000 (07:38 +0000)]
.

17 years ago[lib/ChangeLog]
Paul Eggert [Sat, 30 Sep 2006 00:37:48 +0000 (00:37 +0000)]
[lib/ChangeLog]
Work around bug in Solaris 10 /proc file system:
/proc/self/fd/NNN/.. isn't the parent directory of
the directory whose file descriptor is NNN.  This needs to
be worked around at run time, not compile time, since a
program might be built on Solaris 8, where things work, and
run on Solaris 10.
* openat-priv.h (BUILD_PROC_NAME): Remove.  All callers changed
to use the following interface instead:
(OPENAT_BUFFER_SIZE): New macro.
(openat_proc_name): New function.
* at-func.c (AT_FUNC_NAME): Adjust to above changes.
* openat.c (openat_permissive, openat_needs_fchdir, fdopendir):
Likewise.
* openat-proc.c: New file.
[ChangeLog]
* modules/openat (Files): Add lib/openat-proc.c.
(Depends-on): Add same-inode, stdbool.
[m4/ChangeLog]
* openat.m4 (gl_FUNC_OPENAT): Add AC_LIBOBJ(openat-proc).

17 years agoNew function fwriteerror_no_ebadf.
Bruno Haible [Fri, 29 Sep 2006 13:44:52 +0000 (13:44 +0000)]
New function fwriteerror_no_ebadf.

17 years ago.
Karl Berry [Fri, 29 Sep 2006 07:39:02 +0000 (07:39 +0000)]
.

17 years agosed now also uses gnulib.
Bruno Haible [Thu, 28 Sep 2006 21:59:59 +0000 (21:59 +0000)]
sed now also uses gnulib.

17 years agoSimplify and document.
Bruno Haible [Thu, 28 Sep 2006 20:52:13 +0000 (20:52 +0000)]
Simplify and document.

17 years agoAvoid gcc warning at configure time.
Bruno Haible [Thu, 28 Sep 2006 20:18:27 +0000 (20:18 +0000)]
Avoid gcc warning at configure time.

17 years agoUse the stdint module.
Bruno Haible [Thu, 28 Sep 2006 20:00:51 +0000 (20:00 +0000)]
Use the stdint module.

17 years ago2006-09-28 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 28 Sep 2006 19:58:33 +0000 (19:58 +0000)]
2006-09-28  Paolo Bonzini  <bonzini@gnu.org>

* lib/poll.c (rpl_poll) [__APPLE__]: Use FIONREAD instead of MSG_PEEK.
* m4/poll.m4: Look for sys/ioctl.h and sys/filio.h.

17 years agofix typo
Jim Meyering [Thu, 28 Sep 2006 16:27:11 +0000 (16:27 +0000)]
fix typo

17 years ago* mkdir-p.c: Include "dirchownmod.h", not "dirchownmod.c".
Jim Meyering [Thu, 28 Sep 2006 12:18:58 +0000 (12:18 +0000)]
* mkdir-p.c: Include "dirchownmod.h", not "dirchownmod.c".
Include <unistd.h>.

17 years ago[lib/ChangeLog]
Jim Meyering [Thu, 28 Sep 2006 11:16:05 +0000 (11:16 +0000)]
[lib/ChangeLog]
This function could end up with a definition for a function
named __strndup, rather than rpl_strndup on a system with
incomplete weak_alias support.
* strndup.c (strndup): Rename from __strndup.
Remove #defines that used to map __strndup to strndup.
Don't use K&R prototypes.
Remove LIBC-related code, since this file is not sync'd with glibc.
* strndup.h: Revamp, accordingly.
[m4/ChangeLog]
* strndup.m4: Modernize.

17 years ago* canon-host.c (canon_host_r): Work around bug in Darwin 7.9.0
Paul Eggert [Wed, 27 Sep 2006 18:25:47 +0000 (18:25 +0000)]
* canon-host.c (canon_host_r): Work around bug in Darwin 7.9.0
getaddrinfo.

17 years ago[lib/ChangeLog]
Paul Eggert [Wed, 27 Sep 2006 17:59:19 +0000 (17:59 +0000)]
[lib/ChangeLog]
* __fpending.h: Don't include <stdio_ext.h> unless
HAVE_DECL___FPENDING.  This avoids a bug with lsbcc, where
it causes <stdio_ext.h> to cause a compile-time error.
Problem reported by Nelson H. F. Beebe.
* getpass.c: Likewise, except for HAVE_DECL___FSETLOCKING instead
of HAVE_DECL___PENDING.
[m4/ChangeLog]
* fpending.m4 (gl_FUNC_FPENDING): Check for stdio_ext at most once.
* getpass.m4 (gl_PREREQ_GETPASS): Check for __fsetlocking's declaration.

17 years ago.
Karl Berry [Wed, 27 Sep 2006 07:37:50 +0000 (07:37 +0000)]
.

17 years ago[ChangeLog]
Paul Eggert [Tue, 26 Sep 2006 23:33:11 +0000 (23:33 +0000)]
[ChangeLog]
* modules/savewd (Depends-on): Add 'raise'.
[lib/ChangeLog]
* savewd.c: Include <signal.h>, for 'raise'.

17 years agoautoupdate
Karl Berry [Tue, 26 Sep 2006 22:29:19 +0000 (22:29 +0000)]
autoupdate

17 years agoTweak last patch, for symmetry.
Bruno Haible [Tue, 26 Sep 2006 21:01:42 +0000 (21:01 +0000)]
Tweak last patch, for symmetry.

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