Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 963388111d *** empty log message *** 2000-10-23 06:29:30 +00:00
Jim Meyering 7499ea8154 *** empty log message *** 2000-10-23 06:28:01 +00:00
Jim Meyering 79f359ff8a Clean up version-related variables. 2000-10-23 06:27:50 +00:00
Jim Meyering 6a19cbc61b *** empty log message *** TEXTUTILS-2_0_8 2000-10-22 22:40:13 +00:00
Jim Meyering 9e546891f1 remove remnants of lang-default change 2000-10-22 21:24:40 +00:00
Jim Meyering 171aba014f source lang-default *before* the `cd' 2000-10-22 21:23:18 +00:00
Jim Meyering ed3d57b572 *** empty log message *** 2000-10-22 21:13:53 +00:00
Jim Meyering 81e231a46d . 2000-10-22 21:12:59 +00:00
Jim Meyering 0622127ac6 include stdio.h 2000-10-22 21:11:53 +00:00
Jim Meyering a76f632427 *** empty log message *** 2000-10-22 21:09:53 +00:00
Jim Meyering bf660d1331 (md5_process_block) [OP]: Use `rol', not CYCLIC.
[CYCLIC]: Remove now-unused definition.
2000-10-22 21:09:43 +00:00
Jim Meyering 7bb9c7382f s/shasum/sha1sum/ 2000-10-22 14:40:44 +00:00
Jim Meyering 6e955cb84a *** empty log message *** 2000-10-22 14:25:12 +00:00
Jim Meyering f08ced6c34 *** empty log message *** 2000-10-22 14:21:47 +00:00
Jim Meyering c66278dffc renamed from shasum.c 2000-10-22 14:19:52 +00:00
Jim Meyering ed2d4df754 renamed from shasum.x 2000-10-22 14:18:02 +00:00
Jim Meyering 1bc1a37f86 fix typo 2000-10-22 14:03:33 +00:00
Jim Meyering 674233fb72 *** empty log message *** 2000-10-22 13:17:10 +00:00
Jim Meyering 1f2219cabf (print_long_format): Wrap date format strings in _(...)
so they may be internationalized.  Suggestion from Christian Rose.
2000-10-22 13:15:22 +00:00
Jim Meyering f0d9306c78 (make_path_private): Add a FIXME comment. 2000-10-22 13:10:20 +00:00
Jim Meyering 28c6609c86 Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
2000-10-22 13:09:28 +00:00
Jim Meyering 43c38af6a1 *** empty log message *** 2000-10-22 13:08:50 +00:00
Jim Meyering 7cbb85937a Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
2000-10-22 13:08:43 +00:00
Jim Meyering 8c61ed9ff1 . 2000-10-22 13:03:06 +00:00
Jim Meyering 6ba06cf611 *** empty log message *** 2000-10-22 13:02:40 +00:00
Jim Meyering 957f363d1d *** empty log message *** 2000-10-22 13:02:00 +00:00
Jim Meyering 38856139ea *** empty log message *** 2000-10-22 12:57:48 +00:00
Jim Meyering 206ffe5898 *** empty log message *** 2000-10-22 12:51:38 +00:00
Jim Meyering 34b462a936 . 2000-10-22 12:00:22 +00:00
Jim Meyering 82495b5d26 . 2000-10-22 11:56:18 +00:00
Jim Meyering cf806f5d2d . 2000-10-22 11:51:50 +00:00
Jim Meyering 148e5d1b4d 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.
2000-10-22 11:50:16 +00:00
Jim Meyering 8a149d2242 Support 8-byte integers, assuming they're printable with e.g., %lld.
Add support for printing data as unsigned
long long integers.
2000-10-22 07:33:21 +00:00
Jim Meyering b84871a279 add missing backslash 2000-10-22 07:20:24 +00:00
Jim Meyering 807e464dec *** empty log message *** 2000-10-22 06:57:54 +00:00
Jim Meyering 1f3a6e1eb8 (O_DIRECTORY): Define, if needed.
(save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".".
Suggestion from Ulrich Drepper.
2000-10-22 06:57:42 +00:00
Jim Meyering a48426382d *** empty log message *** 2000-10-22 06:50:02 +00:00
Jim Meyering 77ad7205cb *** empty log message *** 2000-10-22 06:43:52 +00:00
Jim Meyering c599760ff1 2000-10-21 20:07:49 +00:00
Jim Meyering e563a1a5b5 . 2000-10-21 20:07:03 +00:00
Jim Meyering 4e329a1473 *** empty log message *** 2000-10-21 20:01:28 +00:00
Jim Meyering fd717e8d45 *** empty log message *** 2000-10-21 20:00:37 +00:00
Jim Meyering 13e80acf07 The command, `yes ''|./cat -n' would stop printing after INT_MAX lines.
(cat): Never let `newlines' exceed 3.
2000-10-21 19:57:41 +00:00
Jim Meyering 51e2ffc524 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.
2000-10-21 19:16:37 +00:00
Jim Meyering 379688e35d *** empty log message *** 2000-10-21 13:22:39 +00:00
Jim Meyering 4d2231d02c *** empty log message *** 2000-10-21 13:09:31 +00:00
Jim Meyering c344de8d9b *** empty log message *** 2000-10-21 13:05:55 +00:00
Jim Meyering fb5e934c73 (SORT_OUT_OF_ORDER): Define.
(main): Use it instead of hard-coding the `1'.
2000-10-21 13:05:40 +00:00
Jim Meyering 09ad98374b (main): Use EXIT_SUCCESS rather than 0.
Fail when checking (-c) with more than one file argument,
rather than simply ignoring the extra arguments.
2000-10-21 13:03:40 +00:00
Jim Meyering 6864ceca11 tweak comment 2000-10-21 12:46:58 +00:00