gnulib.git
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

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