platform/upstream/coreutils.git
20 years ago(enum Time_spec): New enum TIME_SPEC_NS.
Jim Meyering [Wed, 17 Mar 2004 10:07:19 +0000 (10:07 +0000)]
(enum Time_spec): New enum TIME_SPEC_NS.
(time_spec_string, time_spec, show_date): Support it.
(usage): Remove description of -ITIMESPEC, as it's obsolete and
confusing.  Mention --iso-8601=ns.
(batch_convert): getline returns ssize_t, not int.

20 years ago(newtime): Now an array of two timespecs, one
Jim Meyering [Wed, 17 Mar 2004 10:06:57 +0000 (10:06 +0000)]
(newtime): Now an array of two timespecs, one
for access and one for modification.
(ref_stats): Remove.
(get_reldate): Use get_date's parameter profile.
(touch, main): Adjust to above changes.
(main): Work even if tm_year == INT_MAX (so long as long int is wider).
Use gettime instead of gettimeofday, for new get_date signature.

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 15:16:37 +0000 (15:16 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Mon, 15 Mar 2004 13:06:09 +0000 (13:06 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 13:03:19 +0000 (13:03 +0000)]
*** empty log message ***

20 years ago(date invocation): Add missing `C' to %[...] range
Jim Meyering [Mon, 15 Mar 2004 13:03:13 +0000 (13:03 +0000)]
(date invocation): Add missing `C' to %[...] range
in the `Date directives:: ...' menu entry.  From Bob Proulx.

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 12:03:46 +0000 (12:03 +0000)]
*** empty log message ***

20 years ago(alpha beta major): `Make' the emit_upload_commands
Jim Meyering [Mon, 15 Mar 2004 12:03:43 +0000 (12:03 +0000)]
(alpha beta major): `Make' the emit_upload_commands
target before updating $(prev_version_file).

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 12:02:25 +0000 (12:02 +0000)]
*** empty log message ***

20 years agoAdd FIXME comment:
Jim Meyering [Mon, 15 Mar 2004 12:02:19 +0000 (12:02 +0000)]
Add FIXME comment:
The following don't have `invocation' nodes: [, pinky, shasum, uptime

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 09:46:47 +0000 (09:46 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 09:39:02 +0000 (09:39 +0000)]
*** empty log message ***

20 years agoNew file, to test for just-fixed bug in date.
Jim Meyering [Mon, 15 Mar 2004 09:11:20 +0000 (09:11 +0000)]
New file, to test for just-fixed bug in date.
See today's change in lib/getdate.y.

20 years ago(TESTS): Add date-sec.
Jim Meyering [Mon, 15 Mar 2004 09:02:50 +0000 (09:02 +0000)]
(TESTS): Add date-sec.

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 08:37:07 +0000 (08:37 +0000)]
*** empty log message ***

20 years ago`date --date="21:04 +0100" +%S' would print the seconds value
Jim Meyering [Mon, 15 Mar 2004 08:37:03 +0000 (08:37 +0000)]
`date --date="21:04 +0100" +%S' would print the seconds value
from the current time, rather than `00'.

For a date string like `10:23 +0100',
set the number of seconds to zero.  Reported by Marc Haber.

20 years ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 2004 08:35:28 +0000 (08:35 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 14 Mar 2004 16:09:32 +0000 (16:09 +0000)]
*** empty log message ***

20 years ago(print_changelog_deltas): Use `.sig' suffix for
Jim Meyering [Sun, 14 Mar 2004 16:09:28 +0000 (16:09 +0000)]
(print_changelog_deltas): Use `.sig' suffix for
signature files, not `.asc'.  Reported by angico@yahoo.com.

20 years agobump version to 5.3.0
Jim Meyering [Sat, 13 Mar 2004 08:10:53 +0000 (08:10 +0000)]
bump version to 5.3.0

20 years ago*** empty log message ***
Jim Meyering [Sat, 13 Mar 2004 08:10:13 +0000 (08:10 +0000)]
*** empty log message ***

20 years ago(do_copy): Tweak wording in a diagnostic.
Jim Meyering [Sat, 13 Mar 2004 08:09:58 +0000 (08:09 +0000)]
(do_copy): Tweak wording in a diagnostic.
Suggestion from Karl Berry.
Include "quoatearg.h".
(do_copy): Use quotearg_colon (not quote) for diagnostics
that begin with `"%s:'.

20 years ago*** empty log message ***
Jim Meyering [Sat, 13 Mar 2004 07:58:55 +0000 (07:58 +0000)]
*** empty log message ***

20 years ago(usage): Specify that nl uses _basic_ regular expressions.
Jim Meyering [Sat, 13 Mar 2004 07:58:45 +0000 (07:58 +0000)]
(usage): Specify that nl uses _basic_ regular expressions.

20 years ago.
Jim Meyering [Fri, 12 Mar 2004 19:19:50 +0000 (19:19 +0000)]
.

20 years ago*** empty log message *** COREUTILS-5_2_1 v5.2.1
Jim Meyering [Fri, 12 Mar 2004 19:04:31 +0000 (19:04 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 19:03:46 +0000 (19:03 +0000)]
*** empty log message ***

20 years agoExit 77 (not 1) if we can't set up for the test.
Jim Meyering [Fri, 12 Mar 2004 19:03:07 +0000 (19:03 +0000)]
Exit 77 (not 1) if we can't set up for the test.
This was triggered on a Linux-2.2.19 system using a file system
NFS-mounted from some sort of Sun.

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 16:00:59 +0000 (16:00 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 16:00:41 +0000 (16:00 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 15:59:20 +0000 (15:59 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 14:07:14 +0000 (14:07 +0000)]
*** empty log message ***

20 years agoSync with autoconf.
Jim Meyering [Fri, 12 Mar 2004 14:06:44 +0000 (14:06 +0000)]
Sync with autoconf.

20 years ago.
Jim Meyering [Fri, 12 Mar 2004 13:59:39 +0000 (13:59 +0000)]
.

20 years ago.
Jim Meyering [Fri, 12 Mar 2004 13:55:52 +0000 (13:55 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 13:55:28 +0000 (13:55 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 12:04:57 +0000 (12:04 +0000)]
*** empty log message ***

20 years ago(TESTS): Add part-hardlink.
Jim Meyering [Fri, 12 Mar 2004 12:04:15 +0000 (12:04 +0000)]
(TESTS): Add part-hardlink.

20 years ago# Before coreutils-5.2.1, this test would fail.
Jim Meyering [Fri, 12 Mar 2004 12:04:02 +0000 (12:04 +0000)]
# Before coreutils-5.2.1, this test would fail.

20 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 11:53:57 +0000 (11:53 +0000)]
*** empty log message ***

20 years ago(src_to_dest_lookup): Add prototype.
Jim Meyering [Fri, 12 Mar 2004 11:53:46 +0000 (11:53 +0000)]
(src_to_dest_lookup): Add prototype.

20 years ago(src_to_dest_lookup): New function.
Jim Meyering [Fri, 12 Mar 2004 11:53:29 +0000 (11:53 +0000)]
(src_to_dest_lookup): New function.

20 years agoSometimes, when source and destination partition are different,
Jim Meyering [Fri, 12 Mar 2004 11:53:18 +0000 (11:53 +0000)]
Sometimes, when source and destination partition are different,
mv mistakenly fails to preserve a hard link.  Reported by IIDA Yosiaki.

When moving a set of N hard-linked files between
partitions, via two or more command line arguments where the
command line argument containing the Nth link contains no other
link to that same file, mv would mistakenly copy the file, rather
than hard-linking it to the other(s).  That happens because when the
final link is processed, its link count has been reduced to 1 since
the other links have been `copied' to the destination partition
and the source links have been removed.
(copy_internal): When in move mode, use the source dev/inode
pair to look up destination name even when st_nlink == 1.

20 years ago.
Jim Meyering [Thu, 11 Mar 2004 18:58:29 +0000 (18:58 +0000)]
.

20 years ago.
Jim Meyering [Thu, 11 Mar 2004 09:25:53 +0000 (09:25 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Thu, 11 Mar 2004 09:25:40 +0000 (09:25 +0000)]
*** empty log message ***

20 years agoAlso convert sizes in the 70-79 kB range,
Jim Meyering [Wed, 10 Mar 2004 18:06:04 +0000 (18:06 +0000)]
Also convert sizes in the 70-79 kB range,
so that this test works with SELinux-enable systems.
Based on a patch from Tim Waugh.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 18:05:56 +0000 (18:05 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:57:00 +0000 (17:57 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:53:57 +0000 (17:53 +0000)]
*** empty log message ***

20 years ago(Sorting the output): Remove description of
Jim Meyering [Wed, 10 Mar 2004 17:53:50 +0000 (17:53 +0000)]
(Sorting the output): Remove description of
ls's --sort=directory option.  ls doesn't accept that option, yet.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:53:00 +0000 (17:53 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Wed, 10 Mar 2004 17:40:00 +0000 (17:40 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:39:40 +0000 (17:39 +0000)]
*** empty log message ***

20 years ago(invalid-j): New partial test for the above fix.
Jim Meyering [Wed, 10 Mar 2004 17:39:34 +0000 (17:39 +0000)]
(invalid-j): New partial test for the above fix.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 10:44:35 +0000 (10:44 +0000)]
*** empty log message ***

20 years ago`join -1 x' would give a misleading diagnostic
Jim Meyering [Wed, 10 Mar 2004 10:44:31 +0000 (10:44 +0000)]
`join -1 x' would give a misleading diagnostic

(string_to_join_field): Report that a non-numeric field
number is invalid, rather than `so large that it is not representable'.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 10:08:21 +0000 (10:08 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Wed, 10 Mar 2004 09:57:29 +0000 (09:57 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 09:51:30 +0000 (09:51 +0000)]
*** empty log message ***

20 years ago(cp invocation): Improve description of cp's --sparse=WHEN option.
Jim Meyering [Wed, 10 Mar 2004 09:51:26 +0000 (09:51 +0000)]
(cp invocation): Improve description of cp's --sparse=WHEN option.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 06:51:09 +0000 (06:51 +0000)]
*** empty log message ***

20 years ago(nl invocation): Specify that these are _basic_
Jim Meyering [Wed, 10 Mar 2004 06:50:59 +0000 (06:50 +0000)]
(nl invocation): Specify that these are _basic_
regular expressions (BRE), and add a link to grep's documentation.

20 years ago.
Jim Meyering [Mon, 8 Mar 2004 15:06:25 +0000 (15:06 +0000)]
.

20 years agoregenerate
Jim Meyering [Mon, 8 Mar 2004 09:56:48 +0000 (09:56 +0000)]
regenerate

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Mar 2004 09:54:31 +0000 (09:54 +0000)]
*** empty log message ***

20 years ago(Makefile.am): Don't use $<, as it doesn't work with Solaris make.
Jim Meyering [Mon, 8 Mar 2004 09:54:28 +0000 (09:54 +0000)]
(Makefile.am): Don't use $<, as it doesn't work with Solaris make.

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Mar 2004 09:50:52 +0000 (09:50 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Mar 2004 09:44:15 +0000 (09:44 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Mar 2004 09:43:56 +0000 (09:43 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Mar 2004 23:25:01 +0000 (23:25 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Mar 2004 17:41:00 +0000 (17:41 +0000)]
*** empty log message ***

20 years agocp --sparse=always sparse-image-file.img /dev/hda1 could
Jim Meyering [Sat, 6 Mar 2004 17:40:56 +0000 (17:40 +0000)]
cp --sparse=always sparse-image-file.img /dev/hda1 could
produce an invalid copy on the destination device.

(copy_reg): Even with --sparse=always, try to
make `holes' only if the destination is a regular file.
Reported by Szakacsits Szabolcs.

20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Mar 2004 14:45:50 +0000 (14:45 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Mar 2004 08:14:34 +0000 (08:14 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 5 Mar 2004 16:57:43 +0000 (16:57 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 22:01:16 +0000 (22:01 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 13:22:17 +0000 (13:22 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Thu, 4 Mar 2004 13:14:11 +0000 (13:14 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 13:13:51 +0000 (13:13 +0000)]
*** empty log message ***

20 years ago(getloadavg): Use `true', not `1'.
Jim Meyering [Thu, 4 Mar 2004 13:13:43 +0000 (13:13 +0000)]
(getloadavg): Use `true', not `1'.

20 years ago*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 13:08:37 +0000 (13:08 +0000)]
*** empty log message ***

20 years ago(set_cloexec_flag) [ ! (F_GETFD && F_SETFD)]: Return true, not false.
Jim Meyering [Thu, 4 Mar 2004 13:08:29 +0000 (13:08 +0000)]
(set_cloexec_flag) [ ! (F_GETFD && F_SETFD)]: Return true, not false.

20 years ago*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 08:50:58 +0000 (08:50 +0000)]
*** empty log message ***

20 years ago(main): Don't invoke set_cloexec_flag with a file descriptor of -1.
Jim Meyering [Thu, 4 Mar 2004 08:50:50 +0000 (08:50 +0000)]
(main): Don't invoke set_cloexec_flag with a file descriptor of -1.

20 years ago*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 08:50:34 +0000 (08:50 +0000)]
*** empty log message ***

20 years agoInclude <stdbool.h>.
Jim Meyering [Thu, 4 Mar 2004 08:49:10 +0000 (08:49 +0000)]
Include <stdbool.h>.
Adjust signature to use `bool' rather than `int'.

20 years agoInclude "cloexec.h" first, and <unistd.h> before <fcntl.h>.
Jim Meyering [Thu, 4 Mar 2004 08:42:20 +0000 (08:42 +0000)]
Include "cloexec.h" first, and <unistd.h> before <fcntl.h>.
(set_cloexec_flag): Use bool for booleans.  All uses changed.
If F_GETFD returns a negative number (not just -1), report a
failure.  Don't use F_SETFD if the flags are already right.
Don't report a failure with F_SETFD unless it returns -1.

20 years agoInclude "cloexec.h".
Jim Meyering [Wed, 3 Mar 2004 22:06:47 +0000 (22:06 +0000)]
Include "cloexec.h".
(getloadavg): Use set_cloexec_flag instead of manual fcntl call.

20 years ago.
Jim Meyering [Wed, 3 Mar 2004 22:06:26 +0000 (22:06 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 22:06:17 +0000 (22:06 +0000)]
*** empty log message ***

20 years ago(libfetish_a_SOURCES): Add cloexec.c, cloexec.h.
Jim Meyering [Wed, 3 Mar 2004 22:06:11 +0000 (22:06 +0000)]
(libfetish_a_SOURCES): Add cloexec.c, cloexec.h.

20 years agofrom Dmitry V. Levin
Jim Meyering [Wed, 3 Mar 2004 22:01:56 +0000 (22:01 +0000)]
from Dmitry V. Levin

20 years agoNew file.
Jim Meyering [Wed, 3 Mar 2004 22:01:32 +0000 (22:01 +0000)]
New file.
The set_cloexec_flag implementation imported from GNU C Library
Reference Manual.

20 years agoInclude "cloexec.h".
Jim Meyering [Wed, 3 Mar 2004 22:00:20 +0000 (22:00 +0000)]
Include "cloexec.h".
(main): Set the copy of stderr to close on exec.

20 years ago*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 07:57:45 +0000 (07:57 +0000)]
*** empty log message ***

20 years agoDon't include "posixver.h".
Jim Meyering [Wed, 3 Mar 2004 07:57:33 +0000 (07:57 +0000)]
Don't include "posixver.h".
(parse_user_spec): Fall back on USER.GROUP parsing regardless
of POSIX version, as POSIX 1003.1-2001 allows that behavior as a
compatible extension.  Simplify code by removing a boolean int
that was always nonzero if a string was nonnull.

20 years ago.
Jim Meyering [Wed, 3 Mar 2004 07:56:00 +0000 (07:56 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 07:54:17 +0000 (07:54 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 07:53:24 +0000 (07:53 +0000)]
*** empty log message ***