platform/upstream/coreutils.git
20 years ago(libfetish_a_SOURCES): Add getopt_int.h.
Jim Meyering [Tue, 23 Mar 2004 17:31:11 +0000 (17:31 +0000)]
(libfetish_a_SOURCES): Add getopt_int.h.

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 17:18:59 +0000 (17:18 +0000)]
*** empty log message ***

20 years agoSync from gnulib.
Jim Meyering [Tue, 23 Mar 2004 17:18:54 +0000 (17:18 +0000)]
Sync from gnulib.
* mbswidth.c: Include <stdio.h> and <time.h> before <wchar.h>.

20 years agoSync from gnulib.
Jim Meyering [Tue, 23 Mar 2004 17:18:37 +0000 (17:18 +0000)]
Sync from gnulib.
* mbswidth.h: Include <wchar.h> only if HAVE_DECL_MBSWIDTH_IN_WCHAR_H,
not on all platforms that have <wchar.h>.

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 16:32:18 +0000 (16:32 +0000)]
*** empty log message ***

20 years ago(main): Free the hash table, too.
Jim Meyering [Tue, 23 Mar 2004 16:32:11 +0000 (16:32 +0000)]
(main): Free the hash table, too.

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:35:07 +0000 (11:35 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:34:00 +0000 (11:34 +0000)]
*** empty log message ***

20 years ago(du invocation): --files0-from is useful with
Jim Meyering [Tue, 23 Mar 2004 11:33:56 +0000 (11:33 +0000)]
(du invocation): --files0-from is useful with
--total (-c), not with --summarize.

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:26:54 +0000 (11:26 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:26:14 +0000 (11:26 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:25:31 +0000 (11:25 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:24:20 +0000 (11:24 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Mon, 22 Mar 2004 22:27:47 +0000 (22:27 +0000)]
.

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

20 years agoTweak a few lines that resulted in `overfull hbox' warnings.
Jim Meyering [Mon, 22 Mar 2004 22:27:33 +0000 (22:27 +0000)]
Tweak a few lines that resulted in `overfull hbox' warnings.

20 years ago.
Jim Meyering [Mon, 22 Mar 2004 22:26:30 +0000 (22:26 +0000)]
.

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

20 years ago(.x.1): Remove --info-page= option, reverting
Jim Meyering [Mon, 22 Mar 2004 22:26:16 +0000 (22:26 +0000)]
(.x.1): Remove --info-page= option, reverting
the change of 2004-01-22.  I can no longer reproduce the problem
that prompted that change, and `info coreutils pr' would display the
`printing text' section of the manual, not the one on `pr invocation'.

20 years ago.
Jim Meyering [Mon, 22 Mar 2004 20:40:03 +0000 (20:40 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 20:38:32 +0000 (20:38 +0000)]
*** empty log message ***

20 years ago(nul-1, nul-2): Adjust expected diagnostics to match corrected output.
Jim Meyering [Mon, 22 Mar 2004 20:38:28 +0000 (20:38 +0000)]
(nul-1, nul-2): Adjust expected diagnostics to match corrected output.

20 years ago(du_files): Return bool, rather than int.
Jim Meyering [Mon, 22 Mar 2004 20:17:37 +0000 (20:17 +0000)]
(du_files): Return bool, rather than int.
(main): Call readtokens0_free.

20 years agoInclude "readtokens0.h" rather than "readtokens.h".
Jim Meyering [Mon, 22 Mar 2004 20:03:38 +0000 (20:03 +0000)]
Include "readtokens0.h" rather than "readtokens.h".
(main): Use readtoken0 functions rather than readtokens.
Don't use errno when diagnosing readtokens0 failure.

20 years ago(libfetish_a_SOURCES): Add readtokens0.c and readtokens0.h
Jim Meyering [Mon, 22 Mar 2004 20:00:44 +0000 (20:00 +0000)]
(libfetish_a_SOURCES): Add readtokens0.c and readtokens0.h

20 years ago*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 20:00:27 +0000 (20:00 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 22:19:21 +0000 (22:19 +0000)]
*** empty log message ***

20 years ago(ds_free): Plug a small leak.
Jim Meyering [Sun, 21 Mar 2004 22:19:09 +0000 (22:19 +0000)]
(ds_free): Plug a small leak.

20 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 19:50:46 +0000 (19:50 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 19:50:31 +0000 (19:50 +0000)]
*** empty log message ***

20 years ago(readtoken): Don't leak 64 bytes when reading an empty input stream.
Jim Meyering [Sun, 21 Mar 2004 19:50:17 +0000 (19:50 +0000)]
(readtoken): Don't leak 64 bytes when reading an empty input stream.

20 years agoAlso test with a non-regular file:
Jim Meyering [Sun, 21 Mar 2004 19:20:14 +0000 (19:20 +0000)]
Also test with a non-regular file:
--files0-from=/dev/null

20 years ago(main): whoops. don't use errno for this diagnostic:
Jim Meyering [Sun, 21 Mar 2004 19:18:24 +0000 (19:18 +0000)]
(main): whoops.  don't use errno for this diagnostic:
_("no files specified in %s"),

20 years agoAdd this comment:
Jim Meyering [Sun, 21 Mar 2004 18:50:30 +0000 (18:50 +0000)]
Add this comment:
# -*- perl -*-

20 years ago.
Jim Meyering [Sun, 21 Mar 2004 18:50:03 +0000 (18:50 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:49:13 +0000 (18:49 +0000)]
*** empty log message ***

20 years agoInclude <stdbool.h>.
Jim Meyering [Sun, 21 Mar 2004 18:49:06 +0000 (18:49 +0000)]
Include <stdbool.h>.
(readtoken): Use `size_t' rather than int/long.
All callers adjusted.
Use `bool' rather than `int' where appropriate.
Use memset rather than an explicit loop.
Use x2nrealloc rather than xrealloc.
Allow the use of `\0' as a delimiter.
(readtokens): Likewise.

20 years ago(readtoken, readtokens): Update prototypes.
Jim Meyering [Sun, 21 Mar 2004 18:48:54 +0000 (18:48 +0000)]
(readtoken, readtokens): Update prototypes.

20 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:48:21 +0000 (18:48 +0000)]
*** empty log message ***

20 years ago(du invocation): Document new option: --file0-from=F.
Jim Meyering [Sun, 21 Mar 2004 18:48:17 +0000 (18:48 +0000)]
(du invocation): Document new option: --file0-from=F.

20 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:47:48 +0000 (18:47 +0000)]
*** empty log message ***

20 years agoFix typo in comment.
Jim Meyering [Sun, 21 Mar 2004 18:47:43 +0000 (18:47 +0000)]
Fix typo in comment.

20 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:46:35 +0000 (18:46 +0000)]
*** empty log message ***

20 years ago * NEWS: du accepts a new option --from0-file=FILE, where FILE
Jim Meyering [Sun, 21 Mar 2004 18:46:31 +0000 (18:46 +0000)]
* NEWS: du accepts a new option --from0-file=FILE, where FILE
contains a list of NUL-separated file names.

20 years ago(tsort): Reflect changes in use of readtoken.
Jim Meyering [Sun, 21 Mar 2004 18:45:54 +0000 (18:45 +0000)]
(tsort): Reflect changes in use of readtoken.

20 years ago(do_stdin): Reflect changes in use of readtoken.
Jim Meyering [Sun, 21 Mar 2004 18:45:37 +0000 (18:45 +0000)]
(do_stdin): Reflect changes in use of readtoken.

20 years ago(TESTS): Add files0-from.
Jim Meyering [Sun, 21 Mar 2004 18:45:17 +0000 (18:45 +0000)]
(TESTS): Add files0-from.

20 years agoNew tests, for --files0-from-F option.
Jim Meyering [Sun, 21 Mar 2004 18:45:06 +0000 (18:45 +0000)]
New tests, for --files0-from-F option.

20 years agodu accepts a new option --from0-file=FILE, where FILE contains
Jim Meyering [Sun, 21 Mar 2004 18:44:25 +0000 (18:44 +0000)]
du accepts a new option --from0-file=FILE, where FILE contains
a list of NUL-separated file names.

Include "readtokens.h".
(usage): Describe the new option, and adjust the `Usage':
with this option, no FILE may be specified on the command line.
(main): Handle the new option.

20 years ago.
Jim Meyering [Thu, 18 Mar 2004 06:24:45 +0000 (06:24 +0000)]
.

20 years ago.
Jim Meyering [Wed, 17 Mar 2004 18:44:57 +0000 (18:44 +0000)]
.

20 years ago(test_vector): New tests epoch, ns-10, ns-max32, ns-relative.
Jim Meyering [Wed, 17 Mar 2004 17:42:11 +0000 (17:42 +0000)]
(test_vector): New tests epoch, ns-10, ns-max32, ns-relative.

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

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

20 years ago(General date syntax, Time of day items): Likewise.
Jim Meyering [Wed, 17 Mar 2004 17:37:28 +0000 (17:37 +0000)]
(General date syntax, Time of day items): Likewise.
Add copyright notice.  Change getdate to
get_date when talking about the function name.
(Seconds since the Epoch): New section, containing the time_t
info moved from Date input formats section, along with new
info about the @ syntax.  Mention negative time stamps,
fractional time stamps, and leap seconds.
(General date syntax): Modernize examples a bit to reflect new
features.
(General date syntax, Relative items in date strings):
Use ' rather than " to quote formats.
(Time of day items): Add an example with fractional seconds.
Describe fractional-second syntax.

20 years ago(touch invocation):
Jim Meyering [Wed, 17 Mar 2004 17:31:15 +0000 (17:31 +0000)]
(touch invocation):
Describe use of fractional seconds.
(date invocation, Options for date): Likewise.
(date invocation): Mention effect of LC_TIME.
(Options for date): Describe new --iso-8601=ns option.

20 years ago(touch_LDADD): New macro, since `touch' now needs clock_gettime.
Jim Meyering [Wed, 17 Mar 2004 10:14:17 +0000 (10:14 +0000)]
(touch_LDADD): New macro, since `touch' now needs clock_gettime.

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

20 years ago(gl_GETDATE): Remove time-related stuff.
Jim Meyering [Wed, 17 Mar 2004 10:13:45 +0000 (10:13 +0000)]
(gl_GETDATE): Remove time-related stuff.
Require AM_STDBOOL_H and gl_TIMESPEC instead.
Require gl_CLOCK_TIME.

20 years ago(gl_CLOCK_TIME): Require AC_GNU_SOURCE.
Jim Meyering [Wed, 17 Mar 2004 10:12:39 +0000 (10:12 +0000)]
(gl_CLOCK_TIME): Require AC_GNU_SOURCE.

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

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

20 years agoInclude "getdate.h" first, as we can now
Jim Meyering [Wed, 17 Mar 2004 10:09:16 +0000 (10:09 +0000)]
Include "getdate.h" first, as we can now
assume C89 and don't need to worry about 'const'.
Similarly, include "unlocked-io.h" near start, not in middle.
Include <limits.h>.
(textint.value): Use long int rather than int.
(textint.digits): Use size_t rather than int.
(BILLION, LOG10_BILLION): New constants.
(parser_control): New member rel_ns.  Members day_ordinal,
time_zone, month, day, hour, minutes, rel_year, rel_month,
rel_day, rel_hour, rel_minutes, rel_seconds
are now long int, not int.  Member seconds is now struct timespec,
not int.  New member timespec_seen.  Members dates_seen, days_seen,
local_zones_seen, rels_seen, times_seen, zones_seen are now size_t,
not int.
(%union.intval): Now long int, not int.
New member timespec.
(tSDECIMAL_NUMBER, tUDECIMAL_NUMBER): New tokens.
(seconds, signed_seconds, unsigned_seconds): New nonterminals.
(spec): Now is a timespec or an item list.
(timespec, items): New nonterminals.
(time, rel, relunit, number, get_date):
Add support for fractional seconds.
(time): Fix bug: seconds weren't cleared in "00:00 +0000" syntax.
(gmtime, localtime, mktime): Remove decls; not needed with C89.
(to_hour): First arg is now long int, not int.
(to_year): Returns long int, not int.
Don't treat year -70 like 70.
(tm_diff): Returns long int, not int.
(lookup_word): Use bool instead of int when appropriate.
(yylex): Use size_t for count, not int.
Detect overflow when parsing large integer constants.
Add support for fractions.
(get_date): Make pointers 'const' if possible.
Use more-portable code to detect integer overflow.
(main) [TEST]: Adjust to above changes.  Test for localtime failure.
Don't use ctime; it's not reliable if the year has >4 digits.

20 years agoInclude stdbool.h, and timespec.h instead of
Jim Meyering [Wed, 17 Mar 2004 10:09:02 +0000 (10:09 +0000)]
Include stdbool.h, and timespec.h instead of
the usual <time.h> dance.
(get_date): Change signature to support fractional time stamps.
All callers changed.

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