Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-08-31 | (bool): Remove typedef, now that it's in system.h. | Jim Meyering | |
(TRUE): Define to `true', not 1. (FALSE): Define to `false', not 0. | |||
2001-08-31 | (copy_dir): Remove st_size argument. | Jim Meyering | |
2001-08-31 | (count_entry): Remove st_size argument. | Jim Meyering | |
2001-08-31 | (change_dir_mode): Remove statp arg; no longer needed. | Jim Meyering | |
2001-08-31 | (change_dir_owner): Remove statp arg; no longer needed. | Jim Meyering | |
2001-08-31 | Do not include savedir.h; not used. | Jim Meyering | |
2001-08-31 | Include full-write.h. | Jim Meyering | |
(full_write): Remove decl; not needed. | |||
2001-08-31 | copyright | Jim Meyering | |
2001-08-31 | Include full-write.h. | Jim Meyering | |
(full_write): Remove decl; not needed. (simple_cat, cat): Don't assume read and write size fits in int. | |||
2001-08-31 | (full_write): Remove decl; not needed. | Jim Meyering | |
2001-08-31 | (full_write): Remove decl; not needed. | Jim Meyering | |
2001-08-31 | (full_write): Remove decl; not needed. | Jim Meyering | |
2001-08-31 | Include full-write.h. | Jim Meyering | |
(full_write): Remove decl; not needed. (open_fd): Don't assume read and write size fits in int. | |||
2001-08-31 | Include full-write.h. | Jim Meyering | |
(full_write): Remove decl; not needed. (copy_reg): Don't assume read and write size fits in int. | |||
2001-08-31 | * src/remove.c: Move true/false definitions and include from here... | Jim Meyering | |
* src/system.h: ...to here. | |||
2001-08-31 | copyright | Jim Meyering | |
2001-08-31 | (count_entry, main): Reflect changes to the exclude functions. | Jim Meyering | |
2001-08-28 | (main): Diagnose an invalid width option. | Jim Meyering | |
2001-08-28 | (main): Correct the diagnostic for invalid argument to -w. | Jim Meyering | |
2001-08-26 | (mergefps): Do not allocate at least sort_size bytes for each merge buffer. | Jim Meyering | |
Instead, allocate at least sort_size bytes total. | |||
2001-08-26 | (nextarg): Use strcoll, not strcmp. | Jim Meyering | |
2001-08-25 | (main): Fix a typo in the previous patch: missing | Jim Meyering | |
a bounds check for examples like `uniq a b c'. | |||
2001-08-25 | (main): Fix some more incompatibilities with POSIX.2, | Jim Meyering | |
(e.g. `uniq +3 --' did not work) by invoking getopt_long with leading '-', resembling what was done to 'sort' on 2001-03-20. Recognize an +N option only if it is an integer in range, and (if POSIXLY_CORRECT) only if a file name argument has not been seen; otherwise silently treat it as a file name. If the user specifies too many operands, output the first one in the error message, as a diagnostic aid. | |||
2001-08-25 | (main): Don't report an error when given the valid options `+3 -d'. | Jim Meyering | |
2001-08-25 | (different): Don't assume that lengths can fit | Jim Meyering | |
into size_t. Tune code for the common case where the line lengths differ: we avoid comparing them entirely in that case. | |||
2001-08-25 | Remove arbitrary restrictions on sizes, fixing a bug reported | Jim Meyering | |
by Geoff Whale. (skip_fields, skip_chars, check_chars): Now size_t, not int. (size_opt): New function. Do not arbitrarily reject size zero. Change the wording of the error message slightly, for convenience. (find_field): Use size_t, not int, to compute sizes. (different, main): check_chars==0 is no longer a special case, as it defaults to SIZE_MAX. (main): Check for overflow with args like -234234234234234. Use 'size_opt' to convert optional arguments to sizes. | |||
2001-08-25 | (find_field): Don't count trailing newline to be | Jim Meyering | |
part of the field. This disagrees with POSIX.2, but it's gotta be a bug in the standard. An interpretations request has been submitted to PASC. | |||
2001-08-24 | Use `n_users' in place of `argc - optind' in two more places. | Jim Meyering | |
2001-08-24 | (main): Fail if -l is specified with no username. | Jim Meyering | |
2001-08-24 | (usage): Clarify description of -l. From Clark Morgan. | Jim Meyering | |
2001-08-24 | (posixly_correct): Remove; no longer needed. | Jim Meyering | |
(main): Do not worry about POSIXLY_CORRECT, as it's OK for expr to have options (so long as they do not begin with digits). | |||
2001-08-18 | (nextarg): Advance ARGS by one if the next token matches. | Jim Meyering | |
All callers changed. | |||
2001-08-18 | (isstring): Remove. | Jim Meyering | |
(eval2): Do comparisons as strings first, before trying to convert to integer. This avoids loss of information and wrong result, e.g. for "expr '00' '<' '0!'", where you don't want to convert '00' to '0'. | |||
2001-08-18 | Code cleanup to avoid tricky macros and old-style function declarations. | Jim Meyering | |
(cmpf, less_than, less_equal, equal, not_equal, greater_equal, greater_than, arithf, arithdivf, plus, minus, multiply, divide, mod): Remove. (eval4, eval3, eval2): Rewrite to avoid the need for the above macros and functions. | |||
2001-08-18 | (binary_operator): Move declarations of lt,rt `down' | Jim Meyering | |
into the scopes where they're actually used. (unary_operator): Likewise for `fd'. | |||
2001-08-18 | (isint, binary_operator, unary_operator): | Jim Meyering | |
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 | (main): Handle a leading "--" option as POSIX requires. | Jim Meyering | |
2001-08-18 | (toarith): Don't accept plain "-" as a valid integer. | Jim Meyering | |
2001-08-18 | Modify 'expr' so that it uses intmax_t, not int, to calculate | Jim Meyering | |
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 | Revert part of last change and solve the problem a better way. | Jim Meyering | |
(show_date) [--rfc-822]: Set LC_ALL=C just before calling strftime and restore it just afterwards. Suggestion from Ulrich Drepper. | |||
2001-08-18 | (show_date) [--rfc-822]: Don't space-pad the day of the month. | Jim Meyering | |
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 | (head_bytes): Read no more than the specified number of bytes. | Jim Meyering | |
2001-08-16 | (main): When there are too many non-option arguments, | Jim Meyering | |
include the first offending argument in the diagnostic. Suggestion from Karl Berry. | |||
2001-08-14 | (xputenv): Remove parameter's const qualifier. | Jim Meyering | |
2001-08-14 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2001-08-14 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2001-08-13 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2001-08-13 | (cp_option_init): Adjust initialization of `interactive', | Jim Meyering | |
and initialize new member, stdin_tty. | |||
2001-08-13 | (cp_option_init): Adjust initialization of `interactive', | Jim Meyering | |
and initialize new member, stdin_tty. (main): Adjust initialization(s) of `interactive', | |||
2001-08-13 | (cp_option_init): Adjust initialization of `interactive', | Jim Meyering | |
and initialize new member, stdin_tty. (main): Adjust initialization(s) of `interactive', |