Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-11-05 | (dopass): | Jim Meyering | |
Use primitives from inttostr.h, not human.h, to print large numbers simply. (OUTPUT_BLOCK_SIZE): remove. (dopass): When printing progress, use floor for what has been done so far (since we should be conservative there), and ceiling for what needs to be done (since that's what other programs use). | |||
2002-11-05 | (print_factors): | Jim Meyering | |
Use primitives from inttostr.h, not human.h, to print large numbers simply. | |||
2002-11-05 | (print_stats, main): | Jim Meyering | |
Use primitives from inttostr.h, not human.h, to print large numbers simply. | |||
2002-11-05 | (handle_line_error, parse_patterns): | Jim Meyering | |
Use primitives from inttostr.h, not human.h, to print large numbers simply. | |||
2002-11-05 | (cksum): Use primitives from inttostr.h, not | Jim Meyering | |
human.h, to print large numbers simply. | |||
2002-10-19 | (cwrite): Change type of `bytes' parameter to size_t | Jim Meyering | |
Remove now-useless cast. (stdread): Remove function. (bytes_split): Use size_t instead of int. Use safe_read, not stdread. (lines_split): Likewise. Use memchr rather than a `while' loop. (line_bytes_split): Use size_t instead of int. Use safe_read, not stdread. (main): Add some FIXME comments to remind me to remove casts. | |||
2002-10-19 | (print_heading): Align TTY and Name headings. | Jim Meyering | |
2002-10-18 | (ST_BLKSIZE): Correct comment describing how to | Jim Meyering | |
reproduce HPUX-11 cat failure. | |||
2002-10-17 | Fix a problem that could make cat misbehave on systems which | Jim Meyering | |
give invalid (unreasonably large) values for stat.st_blksize. (ST_BLKSIZE): Ensure that the result is in [1..4MB]. | |||
2002-10-14 | Specifying a printf conversion specifer as nl's separator string | Jim Meyering | |
could cause nl to segfault. (build_print_fmt): Don't include separator string in the printf format; it might contain `%'. Use a better bound on the length of the print_fmt buffer. (print_lineno): Print the separator here instead. | |||
2002-10-13 | . | Jim Meyering | |
2002-10-13 | (usage): Tweak description of --dereference-args/-D. | Jim Meyering | |
2002-10-13 | (count_entry): Also save cwd when dereferencing (via --dereference-args, -D) | Jim Meyering | |
a command-line argument. Reported by Michal Svec. Based on a patch by Andreas Schwab. | |||
2002-10-13 | update comment | Jim Meyering | |
2002-10-13 | (../AUTHORS): Make it read-only. | Jim Meyering | |
2002-10-13 | . | Jim Meyering | |
2002-10-13 | (../AUTHORS): New target/rule. | Jim Meyering | |
2002-10-12 | (paste_parallel): Declare local var, `delims_saved', to be | Jim Meyering | |
of type size_t, since that's the way it's used and avoids a warning. | |||
2002-10-12 | (struct cstring) [len]: Declare to be unsigned int, | Jim Meyering | |
since that's how it's always used and avoids a new warning from gcc. (read_input): Adapt to new safe_read ABI. | |||
2002-10-12 | (cut_fields): Add a temporary size_t variable, n_bytes, to avoid warnings. | Jim Meyering | |
2002-10-12 | (print_long_entry): fread returns size_t. | Jim Meyering | |
Declare local `bytes' accordingly, to avoid warning. | |||
2002-10-12 | tail -c +N would perform an extra read after encountering EOF | Jim Meyering | |
[this change is analogous (bytes vs. lines) to the one of 2002-01-27] (start_bytes): Detect EOF, inform caller. (tail_bytes): Upon EOF in start_bytes, return immediately. (file_lines): Reorganize to use memrchr rather than an explicit loop. Adapt to new safe_read ABI. | |||
2002-10-09 | (wc): Adapt to new safe_read ABI. | Jim Meyering | |
2002-10-09 | (.jar): Fix typo: s/01;3/01;31/. | Jim Meyering | |
2002-10-08 | (main): Fix target_directory parsing when n_files == 1. | Jim Meyering | |
Patch by Dmitry V. Levin. | |||
2002-10-08 | (save_stdin, tac_stdin_to_mem): Adapt to new safe_read ABI. | Jim Meyering | |
2002-10-08 | Rename local variable: chars_read -> bytes_read | Jim Meyering | |
2002-10-08 | (squeeze_filter, read_and_delete, read_and_xlate): Adapt to new safe_read ABI. | Jim Meyering | |
2002-10-08 | (sysv_sum_file): Adapt to new safe_read ABI. | Jim Meyering | |
2002-10-08 | (cat): Don't advance the write pointer past the end of the write buffer. | Jim Meyering | |
2002-10-08 | (begfield, limfield): Don't advance the write pointer past the | Jim Meyering | |
end of the write buffer. | |||
2002-10-07 | (head_bytes, head_lines): Adapt to new safe_read ABI. | Jim Meyering | |
2002-10-06 | (scanargs): Ensure that specified block sizes (specified | Jim Meyering | |
via ibs=N, obs=N, and bs=N) are no larger than SSIZE_MAX. (skip, dd_copy): Adapt to new safe_read ABI. | |||
2002-10-06 | (simple_cat, cat): Adapt to new safe_read ABI. | Jim Meyering | |
2002-10-05 | (remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR', | Jim Meyering | |
don't recurse into directory, DIR. | |||
2002-10-03 | Mark translatable string with `N_ (...)'. | Jim Meyering | |
2002-10-03 | (AUTHORS): Mark translatable string with `N_ (...)'. | Jim Meyering | |
2002-10-01 | (SSIZE_MAX): Define. | Jim Meyering | |
2002-09-30 | Don't include stdlib.h here. It's already included via system.h. | Jim Meyering | |
2002-09-29 | (find_bracketed_repeat): Rearrange pointer/integer | Jim Meyering | |
expression to avoid warning from gcc. | |||
2002-09-29 | (simple_cat): Use a temporary to avoid bogus warnings. | Jim Meyering | |
(cat): Declare insize and outsize to be of type size_t, not int. Rearrange pointer/integer expressions to avoid bogus warnings. (main): Declare insize and outsize to be of type size_t, not int. | |||
2002-09-29 | (parse_options): Give a sensible diagnostic for | Jim Meyering | |
an invalid byte or line count. Reported by Mikko Tuumanen. | |||
2002-09-29 | (main): Split a long line. | Jim Meyering | |
2002-09-29 | . | Jim Meyering | |
2002-09-29 | In move mode, always first try to rename. Before, upon failure to | Jim Meyering | |
rename a directory, this code would never attempt to rename any other file in that directory, but would thenceforth always copy. On some systems (NetApp version ??), renaming a directory may fail with EXDEV, yet renaming files within that directory to a newly- created destination directory succeeds. (copy_internal): Remove local, move_mode; use x->move_mode instead. Based on a patch from Tom Haynes. | |||
2002-09-28 | (FAIL_ONLY_ONE_WAY): New macro. Factor out some duplication. | Jim Meyering | |
(main): Use it. [case 'a']: Use strtoul rather than strtol to avoid compiler warnings. | |||
2002-09-28 | (begfield, limfield): Rearrange comparisons to avoid compiler warnings. | Jim Meyering | |
(fillbuf, keycompare): Cast literal `-1' to size_t in comparisons, to avoid compiler warnings. | |||
2002-09-28 | (dopass): Use a uintmax_t temporary to avoid bogus compiler warnings. | Jim Meyering | |
2002-09-28 | (tail_bytes): Change type of bytes_remaining to off_t | Jim Meyering | |
to avoid overflow. Reported by Hans Lermen. | |||
2002-09-28 | Fix things so `mkdir -p' can create very deep directories, e.g., | Jim Meyering | |
mkdir -p $(perl -e 'print "a/" x 40000') now works. (main): For --parents (-p), call make_path with the entire directory name, so we don't ever require that file operations like stat or chmod be performed on the entire command line argument. |