summaryrefslogtreecommitdiff
path: root/src/dd.c
AgeCommit message (Collapse)Author
1998-09-19update bug-reporting addressJim 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-09Include safe-read.h.Jim Meyering
Don't declare safe_read.
1998-03-15Use #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-22Reorder 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 itJim Meyering
to be negative as signed value.
1997-12-16s/__P/PARAMS/gJim Meyering
1997-12-13Change --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-30remove trailing blankJim 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-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim 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-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim 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 easierJim Meyering
to translate.
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-02-27(copy): Remove bogus (now that we're using full_write) increment of w_partial.Jim Meyering
Change sense of the tests (though they're equivalent) that check the value returned by full_write. making it clearer where errno is valid. full_write always writes the full amount or fails.
1996-02-01(skip): Change type of parameter #5 from char* to unsigned char* to matchJim Meyering
type of argument. (copy): Cast first arg in memset call to char* to avoid warnings from SunOS's acc. (copy_simple): Likewise.
1995-12-22(cleanup): New function -- broken out from quit.Jim Meyering
(interrupt_handler): Rewrite to reset default signal handler, call cleanup, then repost caught signal.
1995-11-29Mark all translatable strings using po-mode.el.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-09Protect prototypes with __P.Jim Meyering
1995-11-09(translate_charset): Make parameter `const'.Jim Meyering
1995-11-09Protoize.Jim Meyering
1995-06-22(main): Include program name in --version output.Jim Meyering
1995-05-26Remove trailing white space.Jim Meyering
1995-05-22(usage): Add one or two lines of descriptive text.Jim Meyering
1995-03-10add 1995 to Copyright datesJim Meyering
1995-02-11(copy): Use memset, not bzero.Jim Meyering
(copy_simple): Use memcpy, not bcopy.
1994-12-27Include "error.h" rather than simply declaring `void error ();'.Jim Meyering
1994-12-27 * dd.c (skip): Use safe_read instead of read.Jim Meyering
(copy): Use full_write instead of write. From Bruno Haible.