1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-01 15:26:29 +02:00
Commit Graph

21691 Commits

Author SHA1 Message Date
Jim Meyering 8a11d99e7d (subfmt-up1): Test the combination of the
to-upper-case modifier (^) and a conversion specifier that
expands to a string containing lower case characters.
2005-09-16 06:54:19 +00:00
Paul Eggert d2fa6df35e (usage, main): uname -a no longer generates the -p and -i outputs if
they are unknown.
2005-09-15 19:57:04 +00:00
Paul Eggert a2365f2d84 uname -a no longer generates the -p and -i outputs if they are unknown. 2005-09-15 19:56:35 +00:00
Paul Eggert 0144e1ae89 Rewrite previous strftime change slightly. 2005-09-15 18:48:13 +00:00
Paul Eggert a08b44ea30 (my_strftime): Rewrite the previous change slightly,
to make it a bit faster and (I hope) clearer.
2005-09-15 18:47:56 +00:00
Jim Meyering 5185512286 *** empty log message *** 2005-09-14 16:10:41 +00:00
Jim Meyering cc4800dd1b (my_strftime): Be sure to use L_('x') for literals. 2005-09-14 16:10:38 +00:00
Jim Meyering 9d55b89d59 *** empty log message *** 2005-09-14 10:02:57 +00:00
Jim Meyering ad98202690 (my_strftime): Parse the colons of %:::z *after* the
optional field width, not before, so we accept %9:z, not %:9z.
2005-09-14 10:02:54 +00:00
Jim Meyering 4da7283547 *** empty log message *** 2005-09-14 09:54:27 +00:00
Jim Meyering f6198493b8 (tz-5w, tz-5wf): Test new %:z format with a field width. 2005-09-14 09:54:15 +00:00
Paul Eggert e386e5642d Fix typos noted by Eric Blake. 2005-09-14 06:59:17 +00:00
Paul Eggert 20b858a1e6 Add tz-1 through tz-5. 2005-09-14 06:58:44 +00:00
Paul Eggert 33b49b7cac (my_strftime): Fix typo in octal number introduced in last change. 2005-09-14 06:58:08 +00:00
Paul Eggert a487dcee70 du and pr also have +:z etc. 2005-09-14 06:57:35 +00:00
Paul Eggert 5b0ca7f5c1 Merge md5 from libc, and clean up some sha1 glitches. 2005-09-13 23:32:50 +00:00
Paul Eggert bf0cc9f753 (SWAP): Renamed from NOTSWAP, to avoid a horrible misnaming.
All uses changed.  Remove the old SWAP.
Remove obvious comment about BLOCKSIZE.
(rol): New macro, moved here from md5.h.
(sha1_process_block): Remove an incoherent FIXME comment.
2005-09-13 23:32:35 +00:00
Paul Eggert 9a5d4089bc (struct sha1_ctx): Mark buffer as being aligned. 2005-09-13 23:32:15 +00:00
Paul Eggert 14d1fdaec1 (CYCLIC): New macro. All uses of rol changed to use CYCLIC.
Redo comment to minimize changes from libc.
2005-09-13 23:32:01 +00:00
Paul Eggert a19c71988b (__GNUC_PREREQ, __THROW, __attribute__): New macros.
(__md5_buffer): Renamed from md5_buffer.  Add a macro undoing this
if _LIBC is not defined.  Add __THROW.
(__md5_finish_ctx, __md5_init_ctx, __md5_process_block):
(__md5_process_bytes, __md5_read_ctx, __md5_stream): Likewise.
(struct md5_ctx): Mark buffer as being aligned.
(rol): Remove; all uses changed to CYCLIC.
2005-09-13 23:31:37 +00:00
Paul Eggert 9e64eb8369 Fix wording in previous patch. 2005-09-13 23:01:59 +00:00
Paul Eggert f4e071662d (uname invocation): Mention that Linux outputs "unknown" for -i and -p. 2005-09-13 22:57:25 +00:00
Paul Eggert 36081fa635 * src/dd.c: Detect some very unlikely buffer overflows.
(INPUT_BLOCK_SLOP, OUTPUT_BLOCK_SLOP): New macros.
(MAX_BLOCKSIZE): Now accepts an arg.  All uses changed.
(page_size): New var.
(scanargs, skip, main): Use more-straightforward way to detect overflow.
(dd_copy): Use page_size rather than invoking getpagesize.
Use INPUT_BLOCK_SLOP, OUTPUT_BLOCK_SLOP.
(main): Set page_size.
Avoid a call to stat in the usual case where ftruncate succeeds.
2005-09-13 22:43:11 +00:00
Paul Eggert 360b98042f (docolon): Add IF_LINT check to avoid GCC warning. 2005-09-13 22:30:56 +00:00
Paul Eggert 24cae62c93 * configure.ac: Don't invoke AC_CONFIGURE_HOST directly. 2005-09-13 22:20:25 +00:00
Paul Eggert b673eeb49c Add date --rfc-3339. 2005-09-13 22:09:25 +00:00
Paul Eggert 7cc7ac0574 Add tests for --rfc-3339. 2005-09-13 22:09:03 +00:00
Paul Eggert 2c29ba03ac (TIME_SPEC_DATE): No longer needs to be nonzero, so
remove the "=1".
(TIME_SOEC_HOURS, TIME_SPEC_MINUTES): Must be at end now, so put
them there.
(time_spec_string, time_spec): Hours and minutes must be at
start now, so put them there.
(rfc_2822_format): Now a string constant, not a boolean.  All uses
changed.
(iso_8601_format, rfc_format): Remove.
(RFC_3339_OPTION): New constant.
(long_options): Add --rfc-3339.
(usage): Add --rfc-3339.  Don't mention --iso-8601.
Mention %:z, %::z, %:::z.
(main): Simplify calculation of 'format'; it was getting too hairy
to follow.  Add --rfc-3339.
(show_date): Assume format arg is not NULL, which is the case
now.  The default code is moved to 'main'.  This simplifies things
and allows the default to be calculated just once.
2005-09-13 22:08:41 +00:00
Paul Eggert 7846768c6c (my_strftime): Add support for %:z, %::z, %:::z.
Fix bug in formats like %2N.
2005-09-13 22:08:18 +00:00
Paul Eggert 602043e0b8 (Time conversion specifiers, Options for date):
Document date --rfc-3339 and new specifiers %:z, %::z, %:::z.  Use
"date and time" consistently; the old version sometimes said "time
and date".  Fix a minor bug in the documentation for --rfc-2822:
it claimed day-of-month < 10 had leading space, not leading zero.
Use a consistent format for terms like "RFC".
2005-09-13 22:07:58 +00:00
Paul Eggert a6a9495c14 date has a new --rfc-3339 option, and the old --iso-8601
option is deprecated.  date and ls also have new time format
specifiers %:z, %::z, %:::z.
2005-09-13 22:07:34 +00:00
Jim Meyering 2859e85770 tweak comment 2005-09-13 21:25:21 +00:00
Jim Meyering 3e4d8edce9 *** empty log message *** 2005-09-13 21:11:29 +00:00
Jim Meyering 8fc8f946c4 Revert unintended change that removed definitions
of X2REALLOC and X2NREALLOC.
2005-09-13 21:11:25 +00:00
Jim Meyering 700395d652 mostly update copyrights CPPI-1_12 2005-09-13 15:46:12 +00:00
Jim Meyering 37cf570cb8 *** empty log message *** 2005-09-13 15:43:51 +00:00
Jim Meyering fcbf217aa5 escape a $ in a diagnostic 2005-09-13 15:42:45 +00:00
Jim Meyering 0fafb6d2f1 don't check for HAVE_UNISTD_H 2005-09-13 14:58:56 +00:00
Jim Meyering d632b63cc3 *** empty log message *** 2005-09-13 14:14:46 +00:00
Jim Meyering 4c7c6d6e78 (GZIP_ENV): Add --rsyncable option. 2005-09-13 14:14:41 +00:00
Jim Meyering 82d96eac2e *** empty log message *** 2005-09-13 13:54:01 +00:00
Jim Meyering 5ac066ae80 Use AB_INIT (from autobuild). 2005-09-13 13:53:55 +00:00
Jim Meyering 54f2d33cff *** empty log message *** 2005-09-13 13:52:27 +00:00
Jim Meyering 59e9d0b604 . 2005-09-13 13:52:16 +00:00
Jim Meyering 5452065818 *** empty log message *** 2005-09-13 12:12:44 +00:00
Jim Meyering 2922ae7380 Use ARGMATCH_VERIFY, just in case. 2005-09-13 12:12:36 +00:00
Jim Meyering 4034cf6ad5 *** empty log message *** 2005-09-11 07:42:48 +00:00
Jim Meyering 68b1902041 (usage): Remove leading spaces in 2-line
description, so that help2man doesn't mangle it.
2005-09-11 07:42:43 +00:00
Jim Meyering 8890d86818 *** empty log message *** 2005-09-11 07:41:56 +00:00
Jim Meyering bcadcf23a9 . 2005-09-10 14:27:00 +00:00