summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-10-08(save_stdin, tac_stdin_to_mem): Adapt to new safe_read ABI.Jim Meyering
2002-10-08Rename local variable: chars_read -> bytes_readJim 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 theJim 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 (specifiedJim 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-03Mark 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-30Don't include stdlib.h here. It's already included via system.h.Jim Meyering
2002-09-29(find_bracketed_repeat): Rearrange pointer/integerJim 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 forJim 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-29In move mode, always first try to rename. Before, upon failure toJim 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_tJim Meyering
to avoid overflow. Reported by Hans Lermen.
2002-09-28Fix 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-26add a FIXME commentJim Meyering
2002-09-25(eaccess): Change type of local `euid' from int to uid_tJim Meyering
and add a cast, to avoid a warning about `signed and unsigned type in conditional expression'.
2002-09-24fmt'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-22Include "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-22Remove all inclusions of inttypes.h,Jim Meyering
since it's already included from sys2.h via system.h.
2002-09-22Remove all inclusions of inttypes.h,Jim Meyering
since it's already included from sys2.h via system.h.
2002-09-22upgrade to automake-1.6fJim Meyering
2002-09-21(PERL): Remove duplicate definition.Jim Meyering
2002-09-21No longer include values.h.Jim Meyering
It was required solely for now-removed reference to BITSPERBYTE.
2002-09-21No 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 avoidJim Meyering
warning about `signed and unsigned type in conditional expression'.
2002-09-15(generate_all_output): Likewise.Jim Meyering
2002-09-14(main, skip): Add casts to avoid warnings aboutJim Meyering
`comparison between signed and unsigned'.
2002-09-14(print_user): Change type of local to size_tJim Meyering
to avoid warnings about `comparison between signed and unsigned'.
2002-09-14(print_full_info, print_group_list): Add casts to avoidJim Meyering
warnings about `signed and unsigned type in conditional expression'.
2002-09-14Change type of global, digest_hex_bytes, to size_tJim Meyering
to avoid warnings about `comparison between signed and unsigned'. (split_3): Change parameter names to be readable and add comment. Clean up the test for whether a line may be ignored.
2002-09-13.Jim Meyering
2002-09-13(main): Handle leading command line argument of `--'.Jim Meyering
2002-09-13(usage): Explain that %S's range of [0..60] is required --Jim Meyering
rather than 0..59 -- to accommodate the occasional positive leap second.
2002-09-12.Jim Meyering