platform/upstream/coreutils.git
23 years ago(usage): Mention the time zone, UTC, and write the date
Jim Meyering [Thu, 26 Oct 2000 22:36:39 +0000 (22:36 +0000)]
(usage): Mention the time zone, UTC, and write the date
in ISO format in the description of %s.  Suggestion from Karl Berry.

23 years ago(Authors of getdate): Add Paul Eggert.
Jim Meyering [Thu, 26 Oct 2000 14:18:24 +0000 (14:18 +0000)]
(Authors of getdate): Add Paul Eggert.

23 years ago*** empty log message ***
Jim Meyering [Thu, 26 Oct 2000 14:18:06 +0000 (14:18 +0000)]
*** empty log message ***

23 years agotypo
Jim Meyering [Thu, 26 Oct 2000 14:16:24 +0000 (14:16 +0000)]
typo

23 years ago.
Jim Meyering [Thu, 26 Oct 2000 09:39:08 +0000 (09:39 +0000)]
.

23 years agoUpdate from libc.
Jim Meyering [Thu, 26 Oct 2000 08:08:06 +0000 (08:08 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:39:48 +0000 (08:39 +0000)]
*** empty log message ***

23 years agoInclude dirname.h.
Jim Meyering [Wed, 25 Oct 2000 08:39:29 +0000 (08:39 +0000)]
Include dirname.h.
(main): Use dir_name_r rather than open-coding it.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:36:13 +0000 (08:36 +0000)]
*** empty log message ***

23 years ago(dir_name_r): Declare it.
Jim Meyering [Wed, 25 Oct 2000 08:36:08 +0000 (08:36 +0000)]
(dir_name_r): Declare it.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:34:36 +0000 (08:34 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 06:01:31 +0000 (06:01 +0000)]
*** empty log message ***

23 years agocppi, on one line
Jim Meyering [Wed, 25 Oct 2000 06:01:24 +0000 (06:01 +0000)]
cppi, on one line

23 years agoUpdate from libc.
Jim Meyering [Wed, 25 Oct 2000 06:00:26 +0000 (06:00 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Tue, 24 Oct 2000 08:20:17 +0000 (08:20 +0000)]
*** empty log message ***

23 years ago(hard_locale): Revert last change -- it was simply
Jim Meyering [Tue, 24 Oct 2000 08:20:13 +0000 (08:20 +0000)]
(hard_locale): Revert last change -- it was simply
wrong.  That set_locale call must not have any side effects.
From Paul Eggert.

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:38:10 +0000 (06:38 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:31:28 +0000 (06:31 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:29:30 +0000 (06:29 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:28:01 +0000 (06:28 +0000)]
*** empty log message ***

23 years agoClean up version-related variables.
Jim Meyering [Mon, 23 Oct 2000 06:27:50 +0000 (06:27 +0000)]
Clean up version-related variables.

23 years ago*** empty log message *** TEXTUTILS-2_0_8
Jim Meyering [Sun, 22 Oct 2000 22:40:13 +0000 (22:40 +0000)]
*** empty log message ***

23 years agoremove remnants of lang-default change
Jim Meyering [Sun, 22 Oct 2000 21:24:40 +0000 (21:24 +0000)]
remove remnants of lang-default change

23 years agosource lang-default *before* the `cd'
Jim Meyering [Sun, 22 Oct 2000 21:23:18 +0000 (21:23 +0000)]
source lang-default *before* the `cd'

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 21:13:53 +0000 (21:13 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 21:12:59 +0000 (21:12 +0000)]
.

23 years agoinclude stdio.h
Jim Meyering [Sun, 22 Oct 2000 21:11:53 +0000 (21:11 +0000)]
include stdio.h

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 21:09:53 +0000 (21:09 +0000)]
*** empty log message ***

23 years ago(md5_process_block) [OP]: Use `rol', not CYCLIC.
Jim Meyering [Sun, 22 Oct 2000 21:09:43 +0000 (21:09 +0000)]
(md5_process_block) [OP]: Use `rol', not CYCLIC.
[CYCLIC]: Remove now-unused definition.

23 years agos/shasum/sha1sum/
Jim Meyering [Sun, 22 Oct 2000 14:40:44 +0000 (14:40 +0000)]
s/shasum/sha1sum/

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 14:25:12 +0000 (14:25 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 14:21:47 +0000 (14:21 +0000)]
*** empty log message ***

23 years agorenamed from shasum.c
Jim Meyering [Sun, 22 Oct 2000 14:19:52 +0000 (14:19 +0000)]
renamed from shasum.c

23 years agorenamed from shasum.x
Jim Meyering [Sun, 22 Oct 2000 14:18:02 +0000 (14:18 +0000)]
renamed from shasum.x

23 years agofix typo
Jim Meyering [Sun, 22 Oct 2000 14:03:33 +0000 (14:03 +0000)]
fix typo

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:17:10 +0000 (13:17 +0000)]
*** empty log message ***

23 years ago(print_long_format): Wrap date format strings in _(...)
Jim Meyering [Sun, 22 Oct 2000 13:15:22 +0000 (13:15 +0000)]
(print_long_format): Wrap date format strings in _(...)
so they may be internationalized.  Suggestion from Christian Rose.

23 years ago(make_path_private): Add a FIXME comment.
Jim Meyering [Sun, 22 Oct 2000 13:10:20 +0000 (13:10 +0000)]
(make_path_private): Add a FIXME comment.

23 years agoSource lang-default rather than open-coding
Jim Meyering [Sun, 22 Oct 2000 13:09:28 +0000 (13:09 +0000)]
Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:08:50 +0000 (13:08 +0000)]
*** empty log message ***

23 years agoSource lang-default rather than open-coding
Jim Meyering [Sun, 22 Oct 2000 13:08:43 +0000 (13:08 +0000)]
Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 13:03:06 +0000 (13:03 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:02:40 +0000 (13:02 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:02:00 +0000 (13:02 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 12:57:48 +0000 (12:57 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 12:51:38 +0000 (12:51 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 12:00:22 +0000 (12:00 +0000)]
.

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 11:56:18 +0000 (11:56 +0000)]
.

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 11:51:50 +0000 (11:51 +0000)]
.

23 years agoFactor out the differences between MD5 and SHA1,
Jim Meyering [Sun, 22 Oct 2000 11:50:16 +0000 (11:50 +0000)]
Factor out the differences between MD5 and SHA1,
and parameterize so this code may be used by both md5sum and the new
program, shasum.  Loosely based on a patch from Scott Miller.

23 years agoSupport 8-byte integers, assuming they're printable with e.g., %lld.
Jim Meyering [Sun, 22 Oct 2000 07:33:21 +0000 (07:33 +0000)]
Support 8-byte integers, assuming they're printable with e.g., %lld.
Add support for printing data as unsigned
long long integers.

23 years agoadd missing backslash
Jim Meyering [Sun, 22 Oct 2000 07:20:24 +0000 (07:20 +0000)]
add missing backslash

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:57:54 +0000 (06:57 +0000)]
*** empty log message ***

23 years ago(O_DIRECTORY): Define, if needed.
Jim Meyering [Sun, 22 Oct 2000 06:57:42 +0000 (06:57 +0000)]
(O_DIRECTORY): Define, if needed.
(save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".".
Suggestion from Ulrich Drepper.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:50:02 +0000 (06:50 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:43:52 +0000 (06:43 +0000)]
*** empty log message ***

23 years ago(no commit message)
Jim Meyering [Sat, 21 Oct 2000 20:07:49 +0000 (20:07 +0000)]

23 years ago.
Jim Meyering [Sat, 21 Oct 2000 20:07:03 +0000 (20:07 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 20:01:28 +0000 (20:01 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 20:00:37 +0000 (20:00 +0000)]
*** empty log message ***

23 years agoThe command, `yes ''|./cat -n' would stop printing after INT_MAX lines.
Jim Meyering [Sat, 21 Oct 2000 19:57:41 +0000 (19:57 +0000)]
The command, `yes ''|./cat -n' would stop printing after INT_MAX lines.
(cat): Never let `newlines' exceed 3.

23 years agoPrevent a counter buffer overrun when numbering lines and when
Jim Meyering [Sat, 21 Oct 2000 19:16:37 +0000 (19:16 +0000)]
Prevent a counter buffer overrun when numbering lines and when
processing 100 billion lines (or more) of input.

(LINE_COUNTER_BUF_LEN): Define to allow numbering as
many as 10^18 - 1 lines (the old limit was 10^11 - 1, and could
be exceeded without too much trouble). Use this symbol rather
than hard-coding the constant everywhere.  Rather than overruning
for input with more lines, mark the line number by putting a
`>' in the leftmost slot.
(next_line_num): Fixed (now academic) possible line buffer overrun.
Patch by Jan Nieuwenhuizen.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 13:22:39 +0000 (13:22 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 13:09:31 +0000 (13:09 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 13:05:55 +0000 (13:05 +0000)]
*** empty log message ***

23 years ago(SORT_OUT_OF_ORDER): Define.
Jim Meyering [Sat, 21 Oct 2000 13:05:40 +0000 (13:05 +0000)]
(SORT_OUT_OF_ORDER): Define.
(main): Use it instead of hard-coding the `1'.

23 years ago(main): Use EXIT_SUCCESS rather than 0.
Jim Meyering [Sat, 21 Oct 2000 13:03:40 +0000 (13:03 +0000)]
(main): Use EXIT_SUCCESS rather than 0.
Fail when checking (-c) with more than one file argument,
rather than simply ignoring the extra arguments.

23 years agotweak comment
Jim Meyering [Sat, 21 Oct 2000 12:46:58 +0000 (12:46 +0000)]
tweak comment

23 years ago(dir_name_r): New function, factored out of dir_name.
Jim Meyering [Sat, 21 Oct 2000 11:44:43 +0000 (11:44 +0000)]
(dir_name_r): New function, factored out of dir_name.
(dir_name): Use dir_name_r.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 11:29:01 +0000 (11:29 +0000)]
*** empty log message ***

23 years ago(memrchr): Declare if necessary.
Jim Meyering [Sat, 21 Oct 2000 11:28:42 +0000 (11:28 +0000)]
(memrchr): Declare if necessary.
(dir_name): Remove the restriction that there be no
trailing slashes.  Now, this code skips past them, effectively
ignoring them.
[TEST_DIRNAME] (main): New unit tests.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 10:37:14 +0000 (10:37 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ_DIRNAME): New macro.
Jim Meyering [Sat, 21 Oct 2000 10:37:10 +0000 (10:37 +0000)]
(jm_PREREQ_DIRNAME): New macro.

23 years ago(AC_REPLACE_FUNCS): Add memrchr.
Jim Meyering [Sat, 21 Oct 2000 10:36:49 +0000 (10:36 +0000)]
(AC_REPLACE_FUNCS): Add memrchr.

23 years ago(jm_CHECK_DECLS): Also check for memrchr.
Jim Meyering [Sat, 21 Oct 2000 10:36:32 +0000 (10:36 +0000)]
(jm_CHECK_DECLS): Also check for memrchr.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 10:33:25 +0000 (10:33 +0000)]
*** empty log message ***

23 years agoNew file, derived from the one in GNU libc.
Jim Meyering [Sat, 21 Oct 2000 10:27:59 +0000 (10:27 +0000)]
New file, derived from the one in GNU libc.

23 years ago.
Jim Meyering [Thu, 19 Oct 2000 11:43:34 +0000 (11:43 +0000)]
.

23 years agoUpdate from master repository.
Jim Meyering [Thu, 19 Oct 2000 11:43:28 +0000 (11:43 +0000)]
Update from master repository.

23 years ago*** empty log message ***
Jim Meyering [Wed, 18 Oct 2000 20:48:04 +0000 (20:48 +0000)]
*** empty log message ***

23 years ago(universal_time): Remove; it's just a temptation to do the wrong thing.
Jim Meyering [Wed, 18 Oct 2000 20:47:25 +0000 (20:47 +0000)]
(universal_time): Remove; it's just a temptation to do the wrong thing.
(main): The -u option now just sets TZ; it doesn't do anything else.
(show_date): Do not do anything special if -u is set.
This affects the behavior of the -I and -R options.

23 years ago* src/date.c (universal_time): Remove; it's just a temptation to
Jim Meyering [Wed, 18 Oct 2000 20:45:20 +0000 (20:45 +0000)]
* src/date.c (universal_time): Remove; it's just a temptation to
do the wrong thing.
(main): The -u option now just sets TZ; it doesn't do anything else.
(show_date): Do not do anything special if -u is set.
This affects the behavior of the -I and -R options.

* doc/sh-utils.texi: Document the above.

23 years agoUndo the effect of the 1997-07-12 change to date.c; it
Jim Meyering [Wed, 18 Oct 2000 19:03:30 +0000 (19:03 +0000)]
Undo the effect of the 1997-07-12 change to date.c; it
broke "date -u MMDDhhmm" and it wasn't documented.
This reverts to the behavior of the 1996-01-03 patch.

(utc-0, utc-1, relative-2): Adjust to above change.

23 years agoUndo the effect of the 1997-07-12 change to date.c; it
Jim Meyering [Wed, 18 Oct 2000 19:02:56 +0000 (19:02 +0000)]
Undo the effect of the 1997-07-12 change to date.c; it
broke "date -u MMDDhhmm" and it wasn't documented.
This reverts to the behavior of the 1996-01-03 patch.

(TZ_UTC0, MAYBE_SET_TZ_UTC0, set_tz): Remove.
(batch_convert): Don't futz with TZ.
(main): -u now parses all dates as UTC, not just some.

23 years agospace to tab
Jim Meyering [Wed, 18 Oct 2000 19:02:34 +0000 (19:02 +0000)]
space to tab

23 years ago*** empty log message ***
Jim Meyering [Wed, 18 Oct 2000 09:51:00 +0000 (09:51 +0000)]
*** empty log message ***

23 years ago(Examples of date): Fix a typo.
Jim Meyering [Wed, 18 Oct 2000 09:50:56 +0000 (09:50 +0000)]
(Examples of date): Fix a typo.

23 years ago*** empty log message ***
Jim Meyering [Wed, 18 Oct 2000 07:42:08 +0000 (07:42 +0000)]
*** empty log message ***

23 years agoMake sure the programs use C-locale formats
Jim Meyering [Wed, 18 Oct 2000 07:41:59 +0000 (07:41 +0000)]
Make sure the programs use C-locale formats
and translations.  Bruno Haible reported that this test would fail
when using other locales, because ls printed a translation of `total'.

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:42 +0000 (08:45 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:32 +0000 (08:45 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:11 +0000 (08:45 +0000)]
*** empty log message ***

23 years ago[PARAMS]: Define and use.
Jim Meyering [Tue, 17 Oct 2000 08:45:07 +0000 (08:45 +0000)]
[PARAMS]: Define and use.

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 06:45:57 +0000 (06:45 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Tue, 17 Oct 2000 06:45:49 +0000 (06:45 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 22:05:20 +0000 (22:05 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 22:01:11 +0000 (22:01 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 14:31:38 +0000 (14:31 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 14:30:39 +0000 (14:30 +0000)]
*** empty log message ***

23 years agofix spell-o in comment
Jim Meyering [Mon, 16 Oct 2000 08:10:58 +0000 (08:10 +0000)]
fix spell-o in comment