platform/upstream/coreutils.git
19 years ago(parse_options): Remove --allow-missing option.
Jim Meyering [Sat, 15 Oct 2005 10:15:34 +0000 (10:15 +0000)]
(parse_options): Remove --allow-missing option.
You can use --retry instead.

19 years ago(usage): Document -m, once again.
Jim Meyering [Sat, 15 Oct 2005 10:14:13 +0000 (10:14 +0000)]
(usage): Document -m, once again.
(main): Warn about use of deprecated long options: --kilobytes and --megabytes.

19 years ago(decode_switches): Warn about the deprecated --kilobytes option.
Jim Meyering [Sat, 15 Oct 2005 09:56:21 +0000 (09:56 +0000)]
(decode_switches): Warn about the deprecated --kilobytes option.

19 years ago(main): Warn about the deprecated --kilobytes option.
Jim Meyering [Sat, 15 Oct 2005 09:56:03 +0000 (09:56 +0000)]
(main): Warn about the deprecated --kilobytes option.

19 years ago*** empty log message ***
Jim Meyering [Sat, 15 Oct 2005 08:34:53 +0000 (08:34 +0000)]
*** empty log message ***

19 years ago(du invocation): Document du's -m option, now that we've decided to keep it.
Jim Meyering [Sat, 15 Oct 2005 08:34:48 +0000 (08:34 +0000)]
(du invocation): Document du's -m option, now that we've decided to keep it.

19 years ago*** empty log message ***
Jim Meyering [Thu, 13 Oct 2005 20:12:15 +0000 (20:12 +0000)]
*** empty log message ***

19 years agoAvoid a few overfull/underfull hboxes.
Jim Meyering [Thu, 13 Oct 2005 20:12:10 +0000 (20:12 +0000)]
Avoid a few overfull/underfull hboxes.

19 years ago*** empty log message ***
Jim Meyering [Thu, 13 Oct 2005 20:06:11 +0000 (20:06 +0000)]
*** empty log message ***

19 years agoSync from gnulib.
Jim Meyering [Thu, 13 Oct 2005 20:06:07 +0000 (20:06 +0000)]
Sync from gnulib.

19 years ago(make_dir_parents): Don't report an error if an
Paul Eggert [Thu, 13 Oct 2005 19:05:13 +0000 (19:05 +0000)]
(make_dir_parents): Don't report an error if an
intermediate directory is in a read-only file system.

19 years ago*** empty log message ***
Jim Meyering [Thu, 13 Oct 2005 14:16:23 +0000 (14:16 +0000)]
*** empty log message ***

19 years agoDocument dircolors change of 2005-09-05.
Jim Meyering [Thu, 13 Oct 2005 14:16:19 +0000 (14:16 +0000)]
Document dircolors change of 2005-09-05.

19 years ago*** empty log message ***
Jim Meyering [Thu, 13 Oct 2005 14:12:58 +0000 (14:12 +0000)]
*** empty log message ***

19 years ago(.x.1): Remove temp directory first.
Jim Meyering [Thu, 13 Oct 2005 14:12:51 +0000 (14:12 +0000)]
(.x.1): Remove temp directory first.

19 years ago*** empty log message ***
Jim Meyering [Sat, 8 Oct 2005 09:06:16 +0000 (09:06 +0000)]
*** empty log message ***

19 years ago(rpl_openat): Use the promoted type (int), not mode_t,
Jim Meyering [Sat, 8 Oct 2005 09:05:08 +0000 (09:05 +0000)]
(rpl_openat): Use the promoted type (int), not mode_t,
as second argument to va_arg.  Otherwise, some versions of gcc
warn that `if this code is reached, the program will abort'.

19 years ago*** empty log message ***
Jim Meyering [Fri, 7 Oct 2005 22:07:36 +0000 (22:07 +0000)]
*** empty log message ***

19 years agoMerge from gnulib.
Jim Meyering [Fri, 7 Oct 2005 22:07:27 +0000 (22:07 +0000)]
Merge from gnulib.
(SIZE_MAX): New macro, if not already defined.

19 years ago.
Jim Meyering [Fri, 7 Oct 2005 19:42:03 +0000 (19:42 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Fri, 7 Oct 2005 19:30:26 +0000 (19:30 +0000)]
*** empty log message ***

19 years agorevert last change
Jim Meyering [Fri, 7 Oct 2005 19:29:44 +0000 (19:29 +0000)]
revert last change

19 years ago* stdbool.m4 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test.
Paul Eggert [Fri, 7 Oct 2005 18:53:41 +0000 (18:53 +0000)]
* stdbool.m4 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test.

19 years ago(AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test,
Paul Eggert [Fri, 7 Oct 2005 18:53:20 +0000 (18:53 +0000)]
(AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test,
since yesterday's attempt didn't work.

19 years agoRedo previous change to sort.c.
Paul Eggert [Fri, 7 Oct 2005 18:48:55 +0000 (18:48 +0000)]
Redo previous change to sort.c.

19 years ago(sortlines_temp): Redo previous change, since I'm no longer confident
Paul Eggert [Fri, 7 Oct 2005 18:48:28 +0000 (18:48 +0000)]
(sortlines_temp): Redo previous change, since I'm no longer confident
that the m4/stdbool.m4 patch suffices.

19 years agoGeneralize the patch for the AIX bool bug.
Paul Eggert [Thu, 6 Oct 2005 16:42:22 +0000 (16:42 +0000)]
Generalize the patch for the AIX bool bug.

19 years ago(AC_HEADER_STDBOOL): Check that bool
Paul Eggert [Thu, 6 Oct 2005 16:40:36 +0000 (16:40 +0000)]
(AC_HEADER_STDBOOL): Check that bool
promotes to int, not unsigned int, to catch the AIX 5.3
compiler bug.

19 years ago(sortlines_temp): Undo previous change, since
Paul Eggert [Thu, 6 Oct 2005 16:40:13 +0000 (16:40 +0000)]
(sortlines_temp): Undo previous change, since
today's change to m4/stdbool.m4 should catch it.

19 years ago*** empty log message ***
Jim Meyering [Thu, 6 Oct 2005 14:12:52 +0000 (14:12 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Thu, 6 Oct 2005 14:06:54 +0000 (14:06 +0000)]
*** empty log message ***

19 years agorm: add support for a -I option, like that from FreeBSD's rm.
Jim Meyering [Thu, 6 Oct 2005 14:06:51 +0000 (14:06 +0000)]
rm: add support for a -I option, like that from FreeBSD's rm.

19 years agoAdd a comment to go with the last change.
Jim Meyering [Wed, 5 Oct 2005 18:56:29 +0000 (18:56 +0000)]
Add a comment to go with the last change.

19 years ago*** empty log message ***
Jim Meyering [Wed, 5 Oct 2005 18:53:59 +0000 (18:53 +0000)]
*** empty log message ***

19 years ago(sortlines_temp): Declare temporary as `int' rather
Jim Meyering [Wed, 5 Oct 2005 18:53:55 +0000 (18:53 +0000)]
(sortlines_temp): Declare temporary as `int' rather
than `bool' to work around AIX 5.3 compiler bug in 64-bit mode.

19 years ago*** empty log message ***
Jim Meyering [Wed, 5 Oct 2005 14:54:20 +0000 (14:54 +0000)]
*** empty log message ***

19 years ago(libcoreutils_a_DEPENDENCIES): Remove definition.
Jim Meyering [Wed, 5 Oct 2005 14:54:17 +0000 (14:54 +0000)]
(libcoreutils_a_DEPENDENCIES): Remove definition.
Once it's gone, automake generates an equivalent one.

19 years agoMerge from gnulib.
Jim Meyering [Wed, 5 Oct 2005 09:09:33 +0000 (09:09 +0000)]
Merge from gnulib.

19 years ago*** empty log message ***
Jim Meyering [Wed, 5 Oct 2005 09:09:27 +0000 (09:09 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 4 Oct 2005 15:51:25 +0000 (15:51 +0000)]
*** empty log message ***

19 years agoMerge from gnulib.
Jim Meyering [Tue, 4 Oct 2005 15:51:20 +0000 (15:51 +0000)]
Merge from gnulib.
Include sys/types.h before other headers.

19 years ago.
Jim Meyering [Mon, 3 Oct 2005 16:13:06 +0000 (16:13 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Mon, 3 Oct 2005 12:12:21 +0000 (12:12 +0000)]
*** empty log message ***

19 years ago(MAX_N_FACTORS): Define in terms of sizeof (uintmax_t)
Jim Meyering [Mon, 3 Oct 2005 12:12:14 +0000 (12:12 +0000)]
(MAX_N_FACTORS): Define in terms of sizeof (uintmax_t)
rather than hard-coding to 128.  From Thomas M.Ott.

19 years ago*** empty log message ***
Jim Meyering [Mon, 3 Oct 2005 12:11:49 +0000 (12:11 +0000)]
*** empty log message ***

19 years agoImport getdelim.c from gnulib (to fix unused var warnings) then
Paul Eggert [Sun, 2 Oct 2005 22:49:49 +0000 (22:49 +0000)]
Import getdelim.c from gnulib (to fix unused var warnings) then
apply the following fixes:
Include getdelim.h first.  Include <limits.h>.
(SSIZE_MAX): New macro, if not already defined.
(getdelim): Fix buffer overrun on 64-bit hosts with lines longer
than 2 GiB.

19 years ago*** empty log message ***
Jim Meyering [Sun, 2 Oct 2005 10:09:18 +0000 (10:09 +0000)]
*** empty log message ***

19 years ago(gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
Jim Meyering [Sun, 2 Oct 2005 10:09:14 +0000 (10:09 +0000)]
(gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
against `yes', rather than just testing for nonempty.

19 years ago*** empty log message ***
Jim Meyering [Sun, 2 Oct 2005 06:29:31 +0000 (06:29 +0000)]
*** empty log message ***

19 years ago(sc_unmarked_diagnostics): Search only cvs-controlled files.
Jim Meyering [Sun, 2 Oct 2005 06:29:26 +0000 (06:29 +0000)]
(sc_unmarked_diagnostics): Search only cvs-controlled files.

19 years ago*** empty log message ***
Jim Meyering [Sun, 2 Oct 2005 06:28:15 +0000 (06:28 +0000)]
*** empty log message ***

19 years agoAdd lib/euidaccess-stat.c.
Jim Meyering [Sun, 2 Oct 2005 06:28:12 +0000 (06:28 +0000)]
Add lib/euidaccess-stat.c.

19 years agoAdd .x-sc_unmarked_diagnostics.
Jim Meyering [Sun, 2 Oct 2005 06:27:32 +0000 (06:27 +0000)]
Add .x-sc_unmarked_diagnostics.

19 years ago*** empty log message ***
Jim Meyering [Sun, 2 Oct 2005 06:27:09 +0000 (06:27 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Sun, 2 Oct 2005 06:22:00 +0000 (06:22 +0000)]
.

19 years agoInclude sys/types.h for sys/socket.h, on FreeBSD and Darwin.
Jim Meyering [Sat, 1 Oct 2005 11:59:08 +0000 (11:59 +0000)]
Include sys/types.h for sys/socket.h, on FreeBSD and Darwin.

19 years ago*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 11:58:50 +0000 (11:58 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Sat, 1 Oct 2005 09:51:00 +0000 (09:51 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 09:50:09 +0000 (09:50 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 09:49:40 +0000 (09:49 +0000)]
*** empty log message ***

19 years agoProtect #include's of sys/socket.h and netdb.h.
Jim Meyering [Sat, 1 Oct 2005 09:49:36 +0000 (09:49 +0000)]
Protect #include's of sys/socket.h and netdb.h.
Only define struct addrinfo if !HAVE_STRUCT_ADDRINFO.  Protect
AI_* and EAI_* definitions.  Protect function declarations.

19 years ago*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 09:49:14 +0000 (09:49 +0000)]
*** empty log message ***

19 years ago(gl_PREREQ_GETADDRINFO): Use AC_GNU_SOURCE,
Jim Meyering [Sat, 1 Oct 2005 09:49:09 +0000 (09:49 +0000)]
(gl_PREREQ_GETADDRINFO): Use AC_GNU_SOURCE,
GNU declares only getaddrinfo as an (POSIX) extension.
Check for sys/types.h, sys/socket.h, and netdb.h too,
needed by getaddrinfo.h.
Check if getaddrinfo, freeaddrinfo and gai_strerror are
declared by the POSIX headers.
Check if struct addrinfo is declared.

19 years agoAdd a test for this:
Jim Meyering [Sat, 1 Oct 2005 08:02:09 +0000 (08:02 +0000)]
Add a test for this:

  (main): Don't stop processing arguments upon the first invalid one.

19 years ago*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 08:01:40 +0000 (08:01 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 08:01:30 +0000 (08:01 +0000)]
*** empty log message ***

19 years ago(main): Don't stop processing arguments upon the first invalid one.
Jim Meyering [Sat, 1 Oct 2005 08:01:25 +0000 (08:01 +0000)]
(main): Don't stop processing arguments upon the first invalid one.

19 years ago.
Jim Meyering [Sat, 1 Oct 2005 07:44:04 +0000 (07:44 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Sat, 1 Oct 2005 06:54:15 +0000 (06:54 +0000)]
*** empty log message ***

19 years ago(gl_GETADDRINFO): Look for getservbyname in these
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.

19 years ago*** empty log message ***
Jim Meyering [Fri, 30 Sep 2005 15:21:26 +0000 (15:21 +0000)]
*** empty log message ***

19 years ago(gl_FUNC_OPENAT): Check for fdopendir.
Jim Meyering [Fri, 30 Sep 2005 15:21:19 +0000 (15:21 +0000)]
(gl_FUNC_OPENAT): Check for fdopendir.

19 years ago(fdopendir): Do not define if HAVE_FDOPENDIR.
Jim Meyering [Fri, 30 Sep 2005 15:19:47 +0000 (15:19 +0000)]
(fdopendir): Do not define if HAVE_FDOPENDIR.

19 years ago(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.

19 years agoUse 5.91-cvs as the version string.
Jim Meyering [Fri, 30 Sep 2005 05:46:48 +0000 (05:46 +0000)]
Use 5.91-cvs as the version string.

19 years ago* src/dd.c (main): Don't assume size_t has the same width as unsigned long.
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.

19 years ago(main): Don't assume size_t has the same width
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.

19 years agoClarify "tail - f" example.
Paul Eggert [Fri, 30 Sep 2005 04:50:48 +0000 (04:50 +0000)]
Clarify "tail - f" example.

19 years ago.
Jim Meyering [Thu, 29 Sep 2005 18:10:25 +0000 (18:10 +0000)]
.

19 years ago. COREUTILS-5_90 v5.90
Jim Meyering [Thu, 29 Sep 2005 17:26:44 +0000 (17:26 +0000)]
.

19 years ago"they wants" -> "they want"
Paul Eggert [Thu, 29 Sep 2005 17:24:21 +0000 (17:24 +0000)]
"they wants" -> "they want"

19 years agoRely on gettimeofday failure too.
Paul Eggert [Thu, 29 Sep 2005 17:22:19 +0000 (17:22 +0000)]
Rely on gettimeofday failure too.

19 years ago(settime): If settimeofday fails, give up right away.
Paul Eggert [Thu, 29 Sep 2005 17:21:44 +0000 (17:21 +0000)]
(settime): If settimeofday fails, give up right away.

19 years ago* settime.c (settime): Fix { typo in previous patch. Also, don't
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.

19 years ago(settime): Fix { typo in previous patch. Also, don't
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.

19 years ago.
Jim Meyering [Thu, 29 Sep 2005 17:17:28 +0000 (17:17 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Thu, 29 Sep 2005 17:12:28 +0000 (17:12 +0000)]
*** empty log message ***

19 years agoVersion 5.90.
Jim Meyering [Thu, 29 Sep 2005 17:12:16 +0000 (17:12 +0000)]
Version 5.90.
Add today's date.

19 years agoRemove -cvs suffix from version string.
Jim Meyering [Thu, 29 Sep 2005 17:11:58 +0000 (17:11 +0000)]
Remove -cvs suffix from version string.

19 years ago.
Jim Meyering [Thu, 29 Sep 2005 17:10:23 +0000 (17:10 +0000)]
.

19 years ago* xtime.h (XTIME_PRECISION): Now of type int, not long long int.
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.

19 years ago(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.

19 years ago.
Jim Meyering [Thu, 29 Sep 2005 13:14:33 +0000 (13:14 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Thu, 29 Sep 2005 13:13:53 +0000 (13:13 +0000)]
*** empty log message ***

19 years ago(settime): Move the HAVE_STIME block `up' into an #elif
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'.

19 years ago*** empty log message ***
Jim Meyering [Thu, 29 Sep 2005 06:32:30 +0000 (06:32 +0000)]
*** empty log message ***

19 years agomention stat bug fix
Jim Meyering [Thu, 29 Sep 2005 06:32:25 +0000 (06:32 +0000)]
mention stat bug fix

19 years ago.
Jim Meyering [Wed, 28 Sep 2005 22:26:26 +0000 (22:26 +0000)]
.

19 years ago* src/system.h (LONGEST_MODIFIER): Use ULONG_MAX_LT_ULLONG_MAX
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.

19 years ago.
Jim Meyering [Wed, 28 Sep 2005 22:10:51 +0000 (22:10 +0000)]
.