1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-27 19:10:17 +02:00
Commit Graph

11254 Commits

Author SHA1 Message Date
Jim Meyering f459045c8c . 2001-08-18 19:29:21 +00:00
Jim Meyering 1806cb5075 . 2001-08-18 19:00:40 +00:00
Jim Meyering 2764048933 *** empty log message *** 2001-08-18 17:48:37 +00:00
Jim Meyering 7012d1083e (binary_operator): Move declarations of lt,rt `down'
into the scopes where they're actually used.
(unary_operator): Likewise for `fd'.
2001-08-18 17:48:20 +00:00
Jim Meyering 406ddda49f *** empty log message *** 2001-08-18 17:45:37 +00:00
Jim Meyering 1c9af0041d (isint, binary_operator, unary_operator):
Use intmax_t for argument integers, not long.
(age_of, binary_operator): Use time_t for times, not long.
(unary_operator): If N is out of int range, -t N now returns false.
2001-08-18 17:45:31 +00:00
Jim Meyering 9402bfd9ef add minus2 2001-08-18 17:14:52 +00:00
Jim Meyering a39a7f8ada (main): Handle a leading "--" option as POSIX requires. 2001-08-18 17:10:32 +00:00
Jim Meyering 95143d669f fix typo 2001-08-18 16:48:17 +00:00
Jim Meyering 5061ab5f05 *** empty log message *** 2001-08-18 16:39:58 +00:00
Jim Meyering 92b78195a1 (toarith): Don't accept plain "-" as a valid integer. 2001-08-18 16:39:33 +00:00
Jim Meyering bc70df09bb add more 2001-08-18 16:27:46 +00:00
Jim Meyering 2f327c7f34 *** empty log message *** 2001-08-18 16:19:26 +00:00
Jim Meyering 7650a9d9e4 *** empty log message *** 2001-08-18 16:13:16 +00:00
Jim Meyering b87d62b760 *** empty log message *** 2001-08-18 16:04:24 +00:00
Jim Meyering c6c2071280 Modify 'expr' so that it uses intmax_t, not int, to calculate
the value of integer expressions.

(struct valinfo.i): Now intmax_t, not int.
(docolon, int_value, str_value, isstring, nextarg, toarith,
freev, tostring, trace): Remove unnecessary forward decls.
(int_value, printv, tostring, toarith, arithf, arithdivf, docolon,
eval6, eval4, eval3): Do integer arithmetic using intmax_t, not int.
(docolon): Don't assume size_t fits in int.
2001-08-18 16:04:16 +00:00
Jim Meyering 28b012a9cc *** empty log message *** 2001-08-18 15:59:27 +00:00
Jim Meyering 821add521e Add AC_PREREQ(2.13).
(jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
(jm_AC_TYPE_INTMAX_T): New macro.
(jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
2001-08-18 15:59:02 +00:00
Jim Meyering 1443d5fffa (jm_AC_TYPE_LONG_LONG): New macro. 2001-08-18 15:55:38 +00:00
Jim Meyering 24844c6332 renamed from ulonglong.m4 2001-08-18 15:54:36 +00:00
Jim Meyering a26140a98f renamed to longlong.m4 2001-08-18 15:54:35 +00:00
Jim Meyering 456b0e7bca renamed from inttypes_h.m4 2001-08-18 15:54:09 +00:00
Jim Meyering a1a34e0a9b renamed to inttypes.m4 2001-08-18 15:54:08 +00:00
Jim Meyering 955a34ed82 *** empty log message *** 2001-08-18 15:43:32 +00:00
Jim Meyering 6eb493e1db Revert part of last change and solve the problem a better way.
(show_date) [--rfc-822]: Set LC_ALL=C just before
calling strftime and restore it just afterwards.
Suggestion from Ulrich Drepper.
2001-08-18 15:43:28 +00:00
Jim Meyering 50f3294545 *** empty log message *** 2001-08-18 15:26:28 +00:00
Jim Meyering 1a6915b4d8 ($(v_etc_file)): Define.
(copyright-check): Use the new variable.
(my-distcheck): Depend on local-check so those checks are once
again run by `make distcheck'.
2001-08-18 15:26:24 +00:00
Jim Meyering 4bc8a7b528 Merge in changes from autoconf. 2001-08-18 15:24:36 +00:00
Jim Meyering 9940a771e1 *** empty log message *** 2001-08-18 10:55:01 +00:00
Jim Meyering 88e4ad1d36 (show_date) [--rfc-822]: Don't space-pad the day of the month.
Set only LC_TYPE to the "C" locale.  Setting LC_ALL is overkill,
and would have unwanted side effects if there is an error message.
2001-08-18 10:54:56 +00:00
Jim Meyering 3e08e11574 . 2001-08-18 10:11:16 +00:00
Jim Meyering 215ba7757e (head_bytes): Read no more than the specified number of bytes. 2001-08-18 10:10:56 +00:00
Jim Meyering 54041560f5 *** empty log message *** 2001-08-18 10:10:29 +00:00
Jim Meyering dd553cb9e4 . 2001-08-18 09:27:50 +00:00
Jim Meyering 1dabc37a3a *** empty log message *** 2001-08-18 09:27:37 +00:00
Jim Meyering 34a52b7574 *** empty log message *** 2001-08-18 09:23:11 +00:00
Jim Meyering 99d96a6ba3 *** empty log message *** 2001-08-18 09:20:03 +00:00
Jim Meyering b87e838b05 *** empty log message *** 2001-08-16 05:55:35 +00:00
Jim Meyering 652303d907 (main): When there are too many non-option arguments,
include the first offending argument in the diagnostic.
Suggestion from Karl Berry.
2001-08-16 05:47:48 +00:00
Jim Meyering 4ebfbeef6d fix typo: s/-quiet/--quiet/
From: noon@cote-dazur.com (Fabrice Bauzac)
2001-08-14 20:14:19 +00:00
Jim Meyering 27b35f3dcc . 2001-08-14 07:49:17 +00:00
Jim Meyering 48c448a356 . 2001-08-14 07:48:47 +00:00
Jim Meyering af123efc85 . 2001-08-14 07:47:25 +00:00
Jim Meyering 166a16089f *** empty log message *** 2001-08-14 07:38:08 +00:00
Jim Meyering e02dc25a9e . 2001-08-14 07:25:56 +00:00
Jim Meyering 0285f77feb *** empty log message *** 2001-08-14 07:24:43 +00:00
Jim Meyering bf03365731 *** empty log message *** 2001-08-14 07:18:42 +00:00
Jim Meyering 727433f0db (xputenv): Remove parameter's const qualifier. 2001-08-14 07:18:34 +00:00
Jim Meyering 1e4a6cbe1c (AUTHORS): Mark string for translation, since it contains the English word `and'. 2001-08-14 07:10:10 +00:00
Jim Meyering 543be22259 *** empty log message *** 2001-08-14 07:09:45 +00:00