Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2002-09-26 | (get_ids): Use strtoul, not strtol. Remove some casts. | Jim Meyering | |
2002-09-26 | add a FIXME comment | Jim Meyering | |
2002-09-25 | (eaccess): Change type of local `euid' from int to uid_t | Jim Meyering | |
and add a cast, to avoid a warning about `signed and unsigned type in conditional expression'. | |||
2002-09-24 | fmt's -s, -t, -c options didn't work properly for long lines. | Jim Meyering | |
Since get_line may end up calling put_paragraph (for long lines), be sure to set global, `other_indent', before it is used there. (set_other_indent): New function, factored out of... (get_paragraph): ... here. Call it. (get_line): Call set_other_indent before calling flush_paragraph, which calls fmt_paragraph, which in turn calls put_paragraph, which uses other_indent. | |||
2002-09-22 | Include "dirname.h", for declaration of strip_trailing_slashes. | Jim Meyering | |
2002-09-22 | (PRIdMAX, PRIuMAX): Remove definitions. | Jim Meyering | |
Now they're defined through system.h. | |||
2002-09-22 | Remove all inclusions of inttypes.h, | Jim Meyering | |
since it's already included from sys2.h via system.h. | |||
2002-09-22 | Remove all inclusions of inttypes.h, | Jim Meyering | |
since it's already included from sys2.h via system.h. | |||
2002-09-22 | upgrade to automake-1.6f | Jim Meyering | |
2002-09-21 | (PERL): Remove duplicate definition. | Jim Meyering | |
2002-09-21 | No longer include values.h. | Jim Meyering | |
It was required solely for now-removed reference to BITSPERBYTE. | |||
2002-09-21 | No longer include values.h. | Jim Meyering | |
It was required solely for now-removed reference to BITSPERBYTE. | |||
2002-09-20 | (remove_parents): Strip trailing slashes. | Jim Meyering | |
2002-09-17 | `od -t x8' used the wrong (`l'-prefixed) printf format. | Jim Meyering | |
Likewise for the o8 and u8 formats. (ISPEC_TO_FORMAT): Define macro. (decode_one_format): Use PRIdMAX, PRIoMAX, etc. for LONG_LONG. Reported by Arun Sharma. | |||
2002-09-17 | (PRIdMAX, PRIoMAX, PRIuMAX, PRIxMAX): Define if necessary. | Jim Meyering | |
From gettext's intl/loadmsgcat.c. | |||
2002-09-15 | (get_format_width): Add cast to avoid | Jim Meyering | |
warning about `signed and unsigned type in conditional expression'. | |||
2002-09-15 | (generate_all_output): Likewise. | Jim Meyering | |