Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-07-27 | (dd_copy): Free the right obuf. | Jim Meyering | |
1999-07-24 | add to comment | Jim Meyering | |
1999-07-24 | (PTR_ALIGN, ROUND_UP_OFFSET): New macros. | Jim Meyering | |
(dd_copy): Use those to page-align both the input and output buffers. | |||
1999-07-15 | Include getpagesize.h. | Jim Meyering | |
(ROUND_UP_TO_MODULUS): Define. (dd_copy): Page-align the input buffer. Based on a patch from Scott Lurndal. | |||
1999-05-07 | (apply_translations): Use TOUPPER, not toupper. | Jim Meyering | |
1999-05-01 | Always use STDIN_FILENO for input and STDOUT_FILENO | Jim Meyering | |
for output, to avoid confusion with closed input and output fds. (input_fd, output_fd): Remove; all uses changed to STDIN_FILENO and STDOUT_FILENO. (open_fd): New function. (main): Use it, instead of open, to ensure that file descriptors don't get confused. (skip): Don't fstat the input file; the result is no longer used. | |||
1999-04-26 | (main): If you can't open an output file (with seek=...) read-write, | Jim Meyering | |
then open it for write and report an error if we can't seek. | |||
1999-04-26 | (main): Use proper mode_t types and macros. | Jim Meyering | |
Don't assume the traditional Unix values for mode bits. | |||
1999-04-18 | Include xstrtol.h. | Jim Meyering | |
(parse_integer): Migrate most of the work into the new xstrtoumax fn. | |||
1999-04-18 | (main): Open the output file with *read* access | Jim Meyering | |
only if we might need to read to satisfy a `seek=' request. From Matthias Urlichs. | |||
1999-04-11 | (scanargs): Fix bug introduced with last change: now that | Jim Meyering | |
the loop is gone, manually decrement argc and increment argv. | |||
1999-03-31 | Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵ | Jim Meyering | |
via sys2.h. | |||
1999-03-26 | (PROGRAM_NAME, AUTHORS): Define | Jim Meyering | |
(long_options): Remove unused struct. (scanargs): Remove useless loop. (main): Use PROGRAM_NAME and AUTHORS in call to parse_long_options. | |||
1999-03-04 | Include long-options.h | Jim Meyering | |
[long_options]: Remove the "help" and "version" entries. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks. | |||
1999-02-16 | update copyright dates | Jim Meyering | |
1999-01-16 | (usage): Don't make it static so that it can be called from libfu.a by ↵ | Jim Meyering | |
xargmatch. | |||
1998-11-30 | (dd_copy): Rename function from `copy'. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-06-29 | (__xstrtol), src/dd.c (parse_integer): | Jim Meyering | |
Add support for SI-like suffixes like "GB" and "TD". (usage): Describe it. | |||
1998-05-09 | Include safe-read.h. | Jim Meyering | |
Don't declare safe_read. | |||
1998-03-15 | Use #if, not #ifdef with HAVE_ macros. | Jim Meyering | |
Use #if !, not #ifndef with HAVE_ macros. | |||
1998-01-22 | (quit): Declare to be inline to stifle compile warning. | Jim Meyering | |
1998-01-22 | Reorder functions to obviate forward dcls. | Jim Meyering | |
1998-01-04 | (main, usage): Check for write error to stdout before exiting. | Jim Meyering | |
Include "closeout.h". | |||
1997-12-25 | (skip): Compare lseek return value with -1 to allow it | Jim Meyering | |
to be negative as signed value. | |||
1997-12-16 | s/__P/PARAMS/g | Jim Meyering | |
1997-12-13 | Change --help output to tell the truth: that for of=FILE, | Jim Meyering | |
FILE *is* truncated. Reported by Miles Bader. Remove incomplete, usage-like comment at top of file. | |||
1997-12-13 | (usage): Mention that `notrunc' is a conv= option. | Jim Meyering | |
Reported by Miles Bader. | |||
1997-11-30 | remove trailing blank | Jim Meyering | |
1997-11-30 | (<inttypes.h>): Include if HAVE_INTTYPES_H. | Jim Meyering | |
("human.h"): Include. (input_blocksize, output_blocksize, conversion_blocksize): Now size_t instead of long. 0 means unset. (skip_records, seek_record, max_records): Now uintmax_t, not long. (w_partial, w_full, r_partial, r_full, r_truncate): Now uintmax_t instead of unsigned. (print_stats): Print counts as uintmax_t, not unsigned. (main, skip): Check for overflow when computing file offsets. (skip): Records count arg is uintmax_t, not long; blocksize arg is size_t, not long. Try lseek even on non regular files, as per comment. (oc, col): Now size_t, not int. (copy): No need to check max_records >= 0 any more, as the default value is now effectively infinity. Cast lseek arg to off_t. (copy, copy_with_block): conversion_blocksize - col can never be negative now, since it's unsigned, so rewrite loops to avoid problems with unsigned. (scanargs): Parse numeric args using uintmax_t, not int. Check for overflow when converting block size args to size_t. Blocksize options are now unsigned, and are now 0 when not set yet. (parse_integer): Return uintmax_t, not int; accept new int * arg to store error indicator, since all returned values are now valid. Check for overflow when scanning integer. | |||
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-09-15 | (install_handler): Rename from sig_handler. | Jim Meyering | |
1997-09-14 | (equal): Use STREQ (form system.h) instead. | Jim Meyering | |
(siginfo_handler): New function to handle SIGINFO/SIGUSR1. (handle_sig): New function. (main): Use handle_sig instead of open-coding it. Handle SIGINFO (or SIGUSR1 if that's not defined). (print_stats): Move definition to precede first reference. Remove prototype. | |||
1997-06-29 | (copy): Add FIXME comment. | Jim Meyering | |
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-02-01 | Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵ | Jim Meyering | |
*) 0' as last parameter in getopt_long call. | |||
1996-11-03 | change bug-reporting address | Jim Meyering | |
1996-11-02 | change bug-reporting address | Jim Meyering | |
1996-10-05 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-10-04 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-08-31 | (usage): remove spurious trailing \n in puts. | Jim Meyering | |
1996-08-29 | (usage): Tell where to report bugs. | Jim Meyering | |
1996-07-05 | (usage): Remove space before newline in usage message. | Jim Meyering | |
1996-05-28 | (print_stats): Don't mark "%u %s" as a translatable string. | Jim Meyering | |
From Göran Uddeborg (gvran@uddeborg.pp.se). | |||
1996-05-15 | (print_stats): Restructure pluralization of error message so it's easier | Jim Meyering | |
to translate. | |||
1996-04-24 | update Copyright years for 1996 | Jim Meyering | |
1996-03-24 | Update FSF's address. | Jim Meyering | |
1996-03-21 | (main): Declare to be of type int, not void. | Jim Meyering | |