version 1.11, 1998/11/25 00:30:26 |
version 1.12, 1999/08/31 21:29:19 |
|
|
int hunk = 0; |
int hunk = 0; |
int failed = 0; |
int failed = 0; |
int failtotal = 0; |
int failtotal = 0; |
|
int patch_seen = 0; |
int i; |
int i; |
|
|
setbuf(stderr, serrbuf); |
setbuf(stderr, serrbuf); |
|
|
there_is_another_patch(); |
there_is_another_patch(); |
reinitialize_almost_everything() |
reinitialize_almost_everything() |
) { /* for each patch in patch file */ |
) { /* for each patch in patch file */ |
|
patch_seen = TRUE; |
|
|
if (outname == Nullch) |
if (outname == Nullch) |
outname = savestr(filearg[0]); |
outname = savestr(filearg[0]); |
|
|
} |
} |
set_signals(1); |
set_signals(1); |
} |
} |
|
if (!patch_seen) |
|
failtotal++; |
my_exit(failtotal); |
my_exit(failtotal); |
/* NOTREACHED */ |
/* NOTREACHED */ |
} |
} |