]> Savannah Git Hosting - gnulib.git/log
gnulib.git
18 years agoActually use the EQUAL macro. diff-merge
Bruno Haible [Thu, 21 Dec 2006 20:09:09 +0000 (20:09 +0000)]
Actually use the EQUAL macro.

18 years agoFix comment.
Bruno Haible [Mon, 18 Dec 2006 13:23:40 +0000 (13:23 +0000)]
Fix comment.

18 years agoUse diffseq.h.
Bruno Haible [Mon, 18 Dec 2006 13:22:04 +0000 (13:22 +0000)]
Use diffseq.h.

18 years agoMake generic: New macro EXTRA_CONTEXT_FIELDS, NOTE_DELETE, NOTE_INSERT.
Bruno Haible [Mon, 18 Dec 2006 13:21:20 +0000 (13:21 +0000)]
Make generic: New macro EXTRA_CONTEXT_FIELDS, NOTE_DELETE, NOTE_INSERT.

18 years agoRemove an unnecessary verification.
Bruno Haible [Mon, 18 Dec 2006 13:20:20 +0000 (13:20 +0000)]
Remove an unnecessary verification.

18 years agoMerge with fixes from gettext.
Bruno Haible [Mon, 18 Dec 2006 13:19:48 +0000 (13:19 +0000)]
Merge with fixes from gettext.

18 years agoFix mistakes in previous revisions.
Bruno Haible [Mon, 18 Dec 2006 13:19:12 +0000 (13:19 +0000)]
Fix mistakes in previous revisions.

18 years agoImprove variable declaration order.
Bruno Haible [Sat, 7 Oct 2006 17:43:37 +0000 (17:43 +0000)]
Improve variable declaration order.

18 years agoUse MIN and MAX from minmax.h.
Bruno Haible [Sat, 7 Oct 2006 17:40:22 +0000 (17:40 +0000)]
Use MIN and MAX from minmax.h.

18 years agoUse IF_LINT.
Bruno Haible [Sat, 7 Oct 2006 17:37:46 +0000 (17:37 +0000)]
Use IF_LINT.

18 years agoUse IF_LINT.
Bruno Haible [Sat, 7 Oct 2006 17:36:15 +0000 (17:36 +0000)]
Use IF_LINT.

18 years agoRemove an IF_LINT that is probably not necessary any more.
Bruno Haible [Sat, 7 Oct 2006 17:35:49 +0000 (17:35 +0000)]
Remove an IF_LINT that is probably not necessary any more.

18 years agoMake closer to fstrcmp.c: mostly comments, and declare only one variable per
Bruno Haible [Sat, 7 Oct 2006 17:30:09 +0000 (17:30 +0000)]
Make closer to fstrcmp.c: mostly comments, and declare only one variable per
line.

18 years agoMake closer to diffseq.h: mostly comments and variable declaration style.
Bruno Haible [Sat, 7 Oct 2006 17:28:57 +0000 (17:28 +0000)]
Make closer to diffseq.h: mostly comments and variable declaration style.

18 years agoFix FSF address.
Bruno Haible [Sat, 7 Oct 2006 17:04:01 +0000 (17:04 +0000)]
Fix FSF address.

18 years agoMake multithread-safe.
Bruno Haible [Sat, 7 Oct 2006 16:52:57 +0000 (16:52 +0000)]
Make multithread-safe.

18 years agoMove USE_HEURISTIC comment.
Bruno Haible [Sat, 7 Oct 2006 16:52:38 +0000 (16:52 +0000)]
Move USE_HEURISTIC comment.

18 years agoMake the heuristic dependent on USE_HEURISTIC and the variable 'heuristic'.
Bruno Haible [Sat, 7 Oct 2006 16:40:41 +0000 (16:40 +0000)]
Make the heuristic dependent on USE_HEURISTIC and the variable 'heuristic'.

18 years agoUpdate comments. Talk about vectors instead of files/strings, and about
Bruno Haible [Sat, 7 Oct 2006 16:25:52 +0000 (16:25 +0000)]
Update comments. Talk about vectors instead of files/strings, and about
elements instead of lines/characters.

18 years agoMake generic: introduce OFFSET_MAX.
Bruno Haible [Sat, 7 Oct 2006 16:07:31 +0000 (16:07 +0000)]
Make generic: introduce OFFSET_MAX.

18 years agoModernize the coding style.
Bruno Haible [Sat, 7 Oct 2006 16:03:25 +0000 (16:03 +0000)]
Modernize the coding style.

18 years agoUpdate comments for use of 'bool'.
Bruno Haible [Sat, 7 Oct 2006 15:54:15 +0000 (15:54 +0000)]
Update comments for use of 'bool'.

18 years agoUse bool.
Bruno Haible [Sat, 7 Oct 2006 15:53:27 +0000 (15:53 +0000)]
Use bool.
Rename minimal to find_minimal.

18 years agoMake generic: introduce type parameters.
Bruno Haible [Sat, 7 Oct 2006 15:47:37 +0000 (15:47 +0000)]
Make generic: introduce type parameters.

18 years agoMove the heart of the diff algorithm from analyze.c to diffseq.h.
Bruno Haible [Sat, 7 Oct 2006 15:28:13 +0000 (15:28 +0000)]
Move the heart of the diff algorithm from analyze.c to diffseq.h.

18 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.

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

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

18 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

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

18 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".

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

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

18 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>

18 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.

18 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.

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

18 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.

18 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.

18 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.

18 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.

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

18 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.

18 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.

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

18 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.

18 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.

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

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

18 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.

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

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

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

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

18 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.

18 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.

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

18 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.

18 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+.

18 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.

18 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.

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

18 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).

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

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

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

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

18 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.

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

18 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.

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

18 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>.

18 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.

18 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.

18 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.

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

18 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'.

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

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

18 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.

18 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.

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

18 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.

18 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.

18 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.

18 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.

18 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.

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

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

18 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.

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

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

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

18 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.

18 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".

18 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.

18 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'.

18 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.

18 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.

18 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.