Jim Meyering [Sat, 1 Oct 2005 08:01:40 +0000 (08:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 08:01:30 +0000 (08:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 08:01:25 +0000 (08:01 +0000)]
(main): Don't stop processing arguments upon the first invalid one.
Jim Meyering [Sat, 1 Oct 2005 07:44:04 +0000 (07:44 +0000)]
.
Jim Meyering [Sat, 1 Oct 2005 06:54:15 +0000 (06:54 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 06:54:11 +0000 (06:54 +0000)]
(gl_GETADDRINFO): Look for getservbyname in these
libraries [inet nsl socket xnet]. Nelson Beebe reported that with
native cc on Solaris 7, getaddrinfo.c requires -lsocket.
Jim Meyering [Fri, 30 Sep 2005 15:21:26 +0000 (15:21 +0000)]
*** empty log message ***
Jim Meyering [Fri, 30 Sep 2005 15:21:19 +0000 (15:21 +0000)]
(gl_FUNC_OPENAT): Check for fdopendir.
Jim Meyering [Fri, 30 Sep 2005 15:19:47 +0000 (15:19 +0000)]
(fdopendir): Do not define if HAVE_FDOPENDIR.
Jim Meyering [Fri, 30 Sep 2005 15:19:24 +0000 (15:19 +0000)]
(fdopendir): Do not define if HAVE_FDOPENDIR.
Remove AT_FDCWD test.
Do not consume the fd unless successful.
Jim Meyering [Fri, 30 Sep 2005 05:46:48 +0000 (05:46 +0000)]
Use 5.91-cvs as the version string.
Paul Eggert [Fri, 30 Sep 2005 05:07:49 +0000 (05:07 +0000)]
* src/dd.c (main): Don't assume size_t has the same width as unsigned long.
Paul Eggert [Fri, 30 Sep 2005 05:07:11 +0000 (05:07 +0000)]
(main): Don't assume size_t has the same width
as unsigned long. Problem reported by Eric Blake.
Paul Eggert [Fri, 30 Sep 2005 04:50:48 +0000 (04:50 +0000)]
Clarify "tail - f" example.
Jim Meyering [Thu, 29 Sep 2005 18:10:25 +0000 (18:10 +0000)]
.
Jim Meyering [Thu, 29 Sep 2005 17:26:44 +0000 (17:26 +0000)]
.
Paul Eggert [Thu, 29 Sep 2005 17:24:21 +0000 (17:24 +0000)]
"they wants" -> "they want"
Paul Eggert [Thu, 29 Sep 2005 17:22:19 +0000 (17:22 +0000)]
Rely on gettimeofday failure too.
Paul Eggert [Thu, 29 Sep 2005 17:21:44 +0000 (17:21 +0000)]
(settime): If settimeofday fails, give up right away.
Paul Eggert [Thu, 29 Sep 2005 17:19:58 +0000 (17:19 +0000)]
* settime.c (settime): Fix { typo in previous patch. Also, don't
bother returning ENOSYS; just let stime return whatever errno it
wants to return.
Paul Eggert [Thu, 29 Sep 2005 17:19:30 +0000 (17:19 +0000)]
(settime): Fix { typo in previous patch. Also, don't
boether returning ENOSYS; just let stime return whatever errno it
wants to return.
Jim Meyering [Thu, 29 Sep 2005 17:17:28 +0000 (17:17 +0000)]
.
Jim Meyering [Thu, 29 Sep 2005 17:12:28 +0000 (17:12 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Sep 2005 17:12:16 +0000 (17:12 +0000)]
Version 5.90.
Add today's date.
Jim Meyering [Thu, 29 Sep 2005 17:11:58 +0000 (17:11 +0000)]
Remove -cvs suffix from version string.
Jim Meyering [Thu, 29 Sep 2005 17:10:23 +0000 (17:10 +0000)]
.
Paul Eggert [Thu, 29 Sep 2005 16:51:58 +0000 (16:51 +0000)]
* xtime.h (XTIME_PRECISION): Now of type int, not long long int.
Paul Eggert [Thu, 29 Sep 2005 16:51:40 +0000 (16:51 +0000)]
(XTIME_PRECISION): Now of type int, not long long int,
so that the code works even with ancient cpp. Portability problem
with GCC 2.7.2.1 reported by Thomas M.Ott.
Jim Meyering [Thu, 29 Sep 2005 13:14:33 +0000 (13:14 +0000)]
.
Jim Meyering [Thu, 29 Sep 2005 13:13:53 +0000 (13:13 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Sep 2005 13:13:49 +0000 (13:13 +0000)]
(settime): Move the HAVE_STIME block `up' into an #elif
block, so that we don't even try to compile it if settimeofday is
available. This works around a compilation failure on OSF1 V5.1,
due to stime requiring a `long int*' while tv_sec is `int'.
Jim Meyering [Thu, 29 Sep 2005 06:32:30 +0000 (06:32 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Sep 2005 06:32:25 +0000 (06:32 +0000)]
mention stat bug fix
Jim Meyering [Wed, 28 Sep 2005 22:26:26 +0000 (22:26 +0000)]
.
Paul Eggert [Wed, 28 Sep 2005 22:11:06 +0000 (22:11 +0000)]
* src/system.h (LONGEST_MODIFIER): Use ULONG_MAX_LT_ULLONG_MAX
instead of ULLONG_MAX, as the latter doesn't work with GCC 2.7.2.1.
Jim Meyering [Wed, 28 Sep 2005 22:10:51 +0000 (22:10 +0000)]
.
Paul Eggert [Wed, 28 Sep 2005 22:08:46 +0000 (22:08 +0000)]
(gl_ULLONG_MAX): Simplify so that it merely
defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
ULLONG_MAX doesn't work with 2.7.2.1.
Jim Meyering [Wed, 28 Sep 2005 21:48:05 +0000 (21:48 +0000)]
*** empty log message ***
Jim Meyering [Wed, 28 Sep 2005 21:47:30 +0000 (21:47 +0000)]
Use 5.90-cvs as the version string.
Jim Meyering [Wed, 28 Sep 2005 18:34:37 +0000 (18:34 +0000)]
*** empty log message ***
Jim Meyering [Wed, 28 Sep 2005 18:34:26 +0000 (18:34 +0000)]
remove note about FreeBSD make test failure.
Jim Meyering [Wed, 28 Sep 2005 18:33:11 +0000 (18:33 +0000)]
Work around a bug in FreeBSD 5.0.
Jim Meyering [Wed, 28 Sep 2005 08:27:04 +0000 (08:27 +0000)]
*** empty log message ***
Jim Meyering [Wed, 28 Sep 2005 08:21:33 +0000 (08:21 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Sep 2005 09:40:39 +0000 (09:40 +0000)]
add a FIXME comment
Jim Meyering [Tue, 27 Sep 2005 08:59:54 +0000 (08:59 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Sep 2005 08:59:04 +0000 (08:59 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Sep 2005 08:58:55 +0000 (08:58 +0000)]
[HAVE_CONFIG_H]: Include <config.h>.
Jim Meyering [Tue, 27 Sep 2005 08:44:07 +0000 (08:44 +0000)]
[HAVE_CONFIG_H]: Include <config.h> conditionally,
to be consistent with gnulib.
Jim Meyering [Tue, 27 Sep 2005 08:33:47 +0000 (08:33 +0000)]
Change #ifdef<TAB>HAVE_CONFIG_H to #ifdef HAVE_CONFIG_H.
Jim Meyering [Tue, 27 Sep 2005 08:21:35 +0000 (08:21 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Sep 2005 08:21:28 +0000 (08:21 +0000)]
Include <config.h> here, now that strnumcmp-in.h no longer includes it.
Jim Meyering [Tue, 27 Sep 2005 06:56:44 +0000 (06:56 +0000)]
*** empty log message ***
Paul Eggert [Mon, 26 Sep 2005 23:03:53 +0000 (23:03 +0000)]
Test "touch -" too, and change "touch -c - >&-" so that it does not
report an error, since that's more logical.
Paul Eggert [Mon, 26 Sep 2005 23:02:34 +0000 (23:02 +0000)]
Test "touch -" too.
Paul Eggert [Mon, 26 Sep 2005 23:02:14 +0000 (23:02 +0000)]
(touch): Handle "touch -c - >&-" by checking for EBADF
and ENOSYS.
Do not pass "-" to futimens; pass NULL instead.
If close (STDIN_FILENO) fails, report the error separately instead
of letting the 'close' pollute errno.
Paul Eggert [Mon, 26 Sep 2005 23:01:25 +0000 (23:01 +0000)]
utimens.c portability fixes.
Paul Eggert [Mon, 26 Sep 2005 23:01:00 +0000 (23:01 +0000)]
Include unistd.h, for dup2.
(futimens): Fix typo: HAVE_FUTIMESAT was misspelled in an #if.
(futimens) [! HAVE_FUTIMESAT]: If !file, set errno before returning -1.
Jim Meyering [Mon, 26 Sep 2005 09:10:54 +0000 (09:10 +0000)]
*** empty log message ***
Jim Meyering [Mon, 26 Sep 2005 09:10:50 +0000 (09:10 +0000)]
(gl_FUNC_UTIMES): Detect the version of utimes
from glibc-2.2.5 that fails for read-only files.
Jim Meyering [Mon, 26 Sep 2005 07:34:41 +0000 (07:34 +0000)]
.
Jim Meyering [Mon, 26 Sep 2005 07:33:53 +0000 (07:33 +0000)]
*** empty log message ***
Jim Meyering [Mon, 26 Sep 2005 07:32:14 +0000 (07:32 +0000)]
*** empty log message ***
Jim Meyering [Mon, 26 Sep 2005 07:32:08 +0000 (07:32 +0000)]
(TESTS): Add read-only.
Jim Meyering [Mon, 26 Sep 2005 07:31:57 +0000 (07:31 +0000)]
New test, for root of chmod/usage failure.
Jim Meyering [Mon, 26 Sep 2005 07:25:29 +0000 (07:25 +0000)]
*** empty log message ***
Jim Meyering [Mon, 26 Sep 2005 07:25:23 +0000 (07:25 +0000)]
Work around the root cause of alpha-linux-1.sf.net test failure.
Remove all files in inner loop.
Otherwise, with a touch program that fails on unwritable files,
(this happens at least on linux-2.2.20) a -w file left behind
from a previous iteration could cause a spurious test failure.
Jim Meyering [Mon, 26 Sep 2005 07:20:22 +0000 (07:20 +0000)]
Undo the s/files/file/ change, but add
comments about why the old version was desired.
Jim Meyering [Sun, 25 Sep 2005 20:46:34 +0000 (20:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Sep 2005 20:46:30 +0000 (20:46 +0000)]
(setuid-etc): Work around output mismatch when
a just-created test file cannot be made set-group-ID.
Jim Meyering [Sun, 25 Sep 2005 17:01:54 +0000 (17:01 +0000)]
.
Jim Meyering [Sun, 25 Sep 2005 12:54:04 +0000 (12:54 +0000)]
.
Jim Meyering [Sun, 25 Sep 2005 09:59:30 +0000 (09:59 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Sep 2005 09:59:23 +0000 (09:59 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Sep 2005 09:58:04 +0000 (09:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Sep 2005 09:58:00 +0000 (09:58 +0000)]
Use newer trap and tmpdir-creation framework.
Fix apparent typos (s/files/file/) in inner loop.
Jim Meyering [Sun, 25 Sep 2005 06:14:33 +0000 (06:14 +0000)]
Protect against multiple inclusion.
Paul Eggert [Sun, 25 Sep 2005 06:12:21 +0000 (06:12 +0000)]
(touch): "touch -" now touches standard output.
(usage): Document this.
Paul Eggert [Sun, 25 Sep 2005 06:11:45 +0000 (06:11 +0000)]
"touch -" now touches standard output.
Paul Eggert [Sun, 25 Sep 2005 06:09:51 +0000 (06:09 +0000)]
"touch -" now touches standard output.
Paul Eggert [Sun, 25 Sep 2005 06:09:22 +0000 (06:09 +0000)]
Support having a null PATH if the file descriptor is nonnegative.
Paul Eggert [Sun, 25 Sep 2005 06:08:45 +0000 (06:08 +0000)]
(ENOSYS): Define if not already defined.
(ftimens): Support having a null PATH if the file descriptor
is nonnegative.
Paul Eggert [Sun, 25 Sep 2005 06:08:17 +0000 (06:08 +0000)]
(touch invocation): "touch -" now touches standard output.
Paul Eggert [Sun, 25 Sep 2005 06:07:48 +0000 (06:07 +0000)]
"touch -" now touches standard output.
Paul Eggert [Sun, 25 Sep 2005 04:18:54 +0000 (04:18 +0000)]
Upgrade regex_internal.h patch.
Paul Eggert [Sun, 25 Sep 2005 04:18:39 +0000 (04:18 +0000)]
(__GNUC_PREREQ, always_inline, inline, pure):
Remove.
(__attribute): Define to empty unless GCC 3.1 or later.
This works around a core dump on OpenBSD 3.4, which has GCC
2.95.3, which dumps core when given __attribute__(()). It also
simplifies other tests, since we really don't want to bother with
worrying about which ancient version of GCC supported what.
Original problem reported by Yoann Vandoorselaere, with part of
the fix suggested by Derek Price.
Paul Eggert [Sun, 25 Sep 2005 03:08:40 +0000 (03:08 +0000)]
Prefer fchown to chown and fchmod to chmod when copying regular files.
Paul Eggert [Sun, 25 Sep 2005 03:08:15 +0000 (03:08 +0000)]
* jm-macros.m4 (gl_MACROS): Check for fchmod and fchown.
Paul Eggert [Sun, 25 Sep 2005 03:07:53 +0000 (03:07 +0000)]
(gl_MACROS): Check for fchmod and fchown.
Paul Eggert [Sun, 25 Sep 2005 03:07:33 +0000 (03:07 +0000)]
(HAVE_FCHMOD, HAVE_FCHOWN): Define to 0 if not defined.
(copy_reg): New args CHOWN_SUCCEDED and DST_SB. All callers changed.
Add a "goto close_src_and_dst_desc;" that was missing in the
previous patch.
(copy_reg) [HAVE_FCHOWN]: Prefer fchown to chown.
(copy_reg) [HAVE_FCHMOD]: Prefer fchmod to chmod.
(copy_internal): Don't invoke chown if fchown worked,
and likewise for chmod and fchmod.
Paul Eggert [Sat, 24 Sep 2005 23:14:21 +0000 (23:14 +0000)]
* Makefile.am (libcoreutils_a_SOURCES): Remove mbchar.c.
Paul Eggert [Sat, 24 Sep 2005 23:14:04 +0000 (23:14 +0000)]
(libcoreutils_a_SOURCES): Remove mbchar.c, since
it doesn't build in OpenBSD 3.4. See
<http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
Paul Eggert [Sat, 24 Sep 2005 23:13:42 +0000 (23:13 +0000)]
* mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h.
Paul Eggert [Sat, 24 Sep 2005 23:13:19 +0000 (23:13 +0000)]
(gl_MBCHAR): Check for wchar.h and wctype.h, and
don't compile mbchar.c unless both headers exist. See
<http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
Paul Eggert [Sat, 24 Sep 2005 22:59:22 +0000 (22:59 +0000)]
* regex_internal.h (__attribute): Define to nothing for GCC 2.
Paul Eggert [Sat, 24 Sep 2005 22:59:06 +0000 (22:59 +0000)]
(__attribute): Define to nothing for GCC 2.
This works around a core dump on OpenBSD 3.4, which has GCC
2.95.3, which dumps core when given __attribute__(()).
Jim Meyering [Sat, 24 Sep 2005 13:42:39 +0000 (13:42 +0000)]
.
Jim Meyering [Sat, 24 Sep 2005 13:42:30 +0000 (13:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Sep 2005 13:41:48 +0000 (13:41 +0000)]
(EXTRA_DIST): Add .x-sc_no_if_have_config_h.
Jim Meyering [Sat, 24 Sep 2005 13:41:20 +0000 (13:41 +0000)]
(sc_no_if_have_config_h): New rule.
(syntax-check-rules): Add it.