1) Rev.1.35 of dd.c has a more serious regression. It backs out rev.1.31,

thus breaking systems with unpolluted <sys/stat.h>'s.

2) Back out an initialisation of a variable in BSS.

Reported by:	bde (1), many(2)
This commit is contained in:
markm 2002-03-07 14:00:33 +00:00
parent f25d9a30bd
commit 0735f3117d

View File

@ -54,6 +54,7 @@ static const char rcsid[] =
#include <sys/conf.h>
#include <sys/disklabel.h>
#include <sys/filio.h>
#include <sys/time.h>
#include <ctype.h>
#include <err.h>
@ -78,7 +79,7 @@ STAT st; /* statistics */
void (*cfunc)(void); /* conversion function */
u_quad_t cpy_cnt; /* # of blocks to copy */
static off_t pending = 0; /* pending seek if sparse */
u_int ddflags = 0; /* conversion options */
u_int ddflags; /* conversion options */
size_t cbsz; /* conversion block size */
quad_t files_cnt = 1; /* # of files to copy */
const u_char *ctab; /* conversion table */