Merge branch 'dj-fixes'
This commit is contained in:
commit
601954a0f6
4
src/dj.c
4
src/dj.c
@ -24,7 +24,7 @@
|
||||
#include <string.h> /* memcpy(3), memmove(3), memset(3) */
|
||||
#include <sysexits.h> /* EX_OK, EX_USAGE */
|
||||
#include <unistd.h> /* close(2), getopt(3), lseek(2), read(2), write(2),
|
||||
optarg, optind, STDIN_FILENO, STDOUT_FILENO */
|
||||
* optarg, optind, STDIN_FILENO, STDOUT_FILENO */
|
||||
extern int errno;
|
||||
|
||||
/* dj uses two structures that respectively correspond to the reading and
|
||||
@ -70,7 +70,7 @@ struct Io{
|
||||
/* (-n) */ static char noerror; /* 0 - exits on partial reads or writes
|
||||
* (default)
|
||||
* 1 - retries on partial reads/writes
|
||||
* (-f) */
|
||||
* (-n) */
|
||||
|
||||
/* Non-configurable defaults. */
|
||||
#define bs_default 1024 /* GNU dd(1) default; twice POSIX but a neat 2^10 */
|
||||
|
Loading…
Reference in New Issue
Block a user