Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-12-03 | remove instrumentation | Jim Meyering | |
2000-12-03 | add instrumentation to detect some UMRs | Jim Meyering | |
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | (tail_file): Initialize ignore, dev, and ino members, | Jim Meyering | |
when tailing forever and the open failed. Otherwise, we could get uninitialized memory references of those fields in recheck. | |||
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | (alpha): Use rsync rather than scp, so the destination | Jim Meyering | |
file is created only after the successful completion of the copy. | |||
2000-12-03 | . | Jim Meyering | |
2000-12-03 | use CHAR_BIT, not BITSPERBYTE | Jim Meyering | |
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | (CHAR_BIT): Define. | Jim Meyering | |
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | *** empty log message *** | Jim Meyering | |
2000-12-03 | Make od print valid addresses for offsets of 2^32 and larger. (cont'd) | Jim Meyering | |
(MAX_ADDRESS_LENGTH): Don't hard-code as a literal. Rather, define in terms of the type, off_t. (string_min): Declare to be of type size_t. (flag_dump_strings): Declare to be of type int. (print_s_char): Declare the n_bytes parameter and the local, `i', to be of type off_t. (print_char): Likewise. (print_s_short): Likewise. (print_short): Likewise. (print_int): Likewise. (print_long): Likewise. (print_long_long): Likewise. (print_float): Likewise. (print_double): Likewise. (print_long_double): Likewise. (dump_hexl_mode_trailer): Likewise. (print_named_ascii): Likewise. (print_ascii): Likewise. (write_block): Likewise. (print_ascii): Declare local, `print_function' with a prototype. Change a few `>' comparisons to the equivalent `<' form. (parse_options): Declare `tmp' to be of type uintmax_t. Use xstrtoumax, not xstrtoul. Fail if the specified offset if larger than OFF_T_MAX. (dump_strings): Declare local `i' to be of type size_t. Remove the now-unnecessary cast-to-off_t. (main) [IF_LINT]: Initialize desired_width to avoid a warning. Declare `tmp' to be of type uintmax_t. Use xstrtoumax, not xstrtoul. Fail if minimum string length is larger than SIZE_MAX. Fail if specified width is larger than ULONG_MAX. | |||
2000-12-03 | Add this: | Jim Meyering | |
AC_REQUIRE([AC_TYPE_OFF_T]) | |||
2000-12-03 | (OFF_T_MIN): Remove definition. | Jim Meyering | |
(OFF_T_MAX): Likewise. | |||
2000-12-03 | (OFF_T_MIN): Define. | Jim Meyering | |
(OFF_T_MAX): Define. | |||
2000-12-03 | Make od print valid addresses for offsets of 2^32 and larger. | Jim Meyering | |
(format_address): Use off_t, not long unsigned_int as the parameter type. (format_address_none): Likewise. Mark parameter as unused. (format_address_std): Likewise. (format_address_label): Likewise. (print_ascii): Mark format string parameter as unused. (write_block): Use off_t, not long unsigned_int as offset type. (expand_address_fmt): New function. (main): Use it to expand each address format string template. Reported by Mark Nudelman, via Andreas Jaeger. | |||
2000-12-03 | (parse_options): Use xstrtoumax to parse the byte and line | Jim Meyering | |
offset. Give a better diagnostic when the requested offset is still representable but larger than OFF_T_MAX. | |||
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | (valid_format): Move pre-increment to a separate statement to avoid a warning. | Jim Meyering | |
2000-12-02 | Move dcls of globals used only in main... | Jim Meyering | |
(main): ...to here. (usage): Clarify option descriptions. | |||
2000-12-02 | whoops. rename the use, too -- not just the decl!! | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | (checkfp): Rename local `buf' to avoid shadowing previous declaration. | Jim Meyering | |
2000-12-02 | (skip): Use lseek instead of worrying about fseeko or fseek. | Jim Meyering | |
This should be portable, as we seek before doing any I/O. (fseeko): Remove; no longer used. | |||
2000-12-02 | add back the parens Paul removed :-) | Jim Meyering | |
2000-12-02 | (gobble_file): Do not fall back on lstat if stat | Jim Meyering | |
fails; POSIX.2 does not allow this. Invoke acl only on non-symlinks, and only if lstat or stat succeeds. | |||
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | Make idempotent, to avoid some obscure warnings. | Jim Meyering | |
2000-12-02 | . | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | (OFF_T_PRINTF_FORMAT_STRING): require it. | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | (TESTS): Add follow-slink. | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | (NONZERO): Define and use it to make the code a tiny | Jim Meyering | |
bit more readable. | |||
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | (sort invocation): Clarify how -t works when | Jim Meyering | |
a sort key specifies a range of fields. From Karl O. Pinc. | |||
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | . | Jim Meyering | |