Commit Graph
46 Commits
Author SHA1 Message Date
Jim Meyering bb6a548712 (main): Declare to be of type int, not void. 1996-03-21 22:45:19 +00:00
Jim Meyering ca0246a4c1 Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 16:49:28 +00:00
Jim Meyering 10c96c43ac (main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
1996-03-12 03:08:30 +00:00
Jim Meyering edac0ff420 (copy): Remove bogus (now that we're using full_write) increment of w_partial.
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-27 03:24:31 +00:00
Jim Meyering 9018ec3d41 (skip): Change type of parameter #5 from char* to unsigned char* to match
type of argument.
(copy): Cast first arg in memset call to char* to avoid warnings from
SunOS's acc.
(copy_simple): Likewise.
1996-02-01 03:50:06 +00:00
Jim Meyering 05d30f2715 (cleanup): New function -- broken out from quit.
(interrupt_handler): Rewrite to reset default signal handler,
call cleanup, then repost caught signal.
1995-12-22 06:49:10 +00:00
Jim Meyering 073c4cb543 Mark all translatable strings using po-mode.el. 1995-11-29 19:24:52 +00:00
Jim Meyering 57ec0f45c9 s/non-zero/nonzero/g 1995-11-27 05:34:31 +00:00
Jim Meyering b7b00aad08 Protect prototypes with __P. 1995-11-09 23:41:10 +00:00
Jim Meyering b951477c80 (translate_charset): Make parameter `const'. 1995-11-09 23:02:27 +00:00
Jim Meyering c0d94c89ec Protoize. 1995-11-09 17:02:23 +00:00
Jim Meyering ec8d1fce62 (main): Include program name in --version output. 1995-06-22 18:43:14 +00:00
Jim Meyering 0be7c19204 Remove trailing white space. 1995-05-26 14:15:37 +00:00
Jim Meyering ee79446888 (usage): Add one or two lines of descriptive text. 1995-05-22 04:30:18 +00:00
Jim Meyering 1423198343 add 1995 to Copyright dates 1995-03-10 04:15:06 +00:00
Jim Meyering 4ef39a33cb (copy): Use memset, not bzero.
(copy_simple): Use memcpy, not bcopy.
1995-02-11 13:58:11 +00:00
Jim Meyering 59097c0922 Include "error.h" rather than simply declaring `void error ();'. 1994-12-27 13:36:22 +00:00
Jim Meyering dcb4b37240 * dd.c (skip): Use safe_read instead of read.
(copy): Use full_write instead of write.
	From Bruno Haible.
1994-12-27 13:12:52 +00:00
Jim Meyering c95989d148 (parse_conversion, scan_args): Use strr?chr instead of r?index. 1994-12-10 05:41:16 +00:00
Jim Meyering f17c045d21 . 1994-10-02 02:09:38 +00:00
Jim Meyering 326b01a327 . 1994-08-25 13:28:58 +00:00
Jim Meyering 792d894bd9 . 1994-07-03 17:46:37 +00:00
Jim Meyering 1525e2cb30 . 1994-06-30 14:33:41 +00:00
Jim Meyering 5629153f1e . 1994-01-26 18:19:10 +00:00
Jim Meyering 723d3d528d merge with 3.8.4k 1993-10-19 00:00:06 +00:00
Jim Meyering 712ac6d5a0 add newline back, but only for --help output 1993-10-18 03:22:20 +00:00
Jim Meyering 47ff7adaa2 Change fprintf (stdout' to printf ('. 1993-10-18 03:11:02 +00:00
Jim Meyering ce559ec2e5 remove extra newline in usage message 1993-10-18 03:03:07 +00:00
Jim Meyering 87372cd3ae merge with 3.8.3e 1993-10-09 20:44:16 +00:00
Jim Meyering 95f7eb6267 merge with 3.8.3d 1993-10-08 00:51:10 +00:00
Jim Meyering d9d6720b77 merge with 3.8.3c 1993-10-07 00:41:21 +00:00
Jim Meyering f2080b7714 merge with 3.8.3b 1993-10-06 16:44:26 +00:00
Jim Meyering 19cd821ddb merge with 3.8.3a 1993-10-06 00:24:55 +00:00
Jim Meyering 410da16d02 merge with 3.8.1 1993-08-05 02:20:48 +00:00
Jim Meyering d1c5cbfcdd merge with 3.5.5 1993-05-22 02:09:05 +00:00
Jim Meyering a92a94f719 (usage): Mention --help and --version.
(main): Handle flag_help and flag_version before checking for invocation errors.
1993-04-04 14:41:38 +00:00
Jim Meyering 2469b27db0 remove blank line 1993-04-04 00:56:09 +00:00
Jim Meyering 6b9e1727c8 Convert usage to take no arguments. 1993-04-02 04:35:26 +00:00
Jim Meyering ee871dbed8 Add --help and --version options. 1993-04-02 04:26:26 +00:00
Jim Meyering d24f7571cc Add --version, --help options. 1993-04-01 04:02:20 +00:00
Jim Meyering 82bdb546d9 (copy, copy_with_block, copy_with_block): Decrement pending_spaces only
if it's > 0. The following command didn't terminate:
  perl -e 'print "a  a\n";'| dd of=/dev/null ibs=1 cbs=3 conv=unblock
With suggestions from Chris Weber <weber@bucknell.edu>,
Marlys.A.Nelson@uwrf.edu, and Albert-Lunde@nwu.edu.
1993-03-24 06:22:57 +00:00
Jim Meyering b55706236d Define ISLOWER and ISUPPER independent of STDC_HEADERS.
Define ISDIGIT and use it instead of isdigit.
1992-12-08 02:13:58 +00:00
Jim Meyering 17387a999c Declared lots of external functions and variables static.
Made several statically-initialized arrays `const.'
1992-11-09 17:39:24 +00:00
Jim Meyering 144b82c6c2 Give most file-scope variables the static attribute. 1992-11-01 03:30:09 +00:00
Jim Meyering 220a183e8d (swab_buffer): Fix typo that incremented pointer instead of counter.
Add braces around static struct initializers.
1992-10-31 23:01:35 +00:00
Jim Meyering 14fd34b788 Initial revision 1992-10-31 20:42:48 +00:00