version 1.21, 2003/07/22 17:18:49 |
version 1.22, 2003/07/22 17:20:53 |
|
|
{ |
{ |
char *t; |
char *t; |
long beginning_of_this_line; |
long beginning_of_this_line; |
bool this_line_is_command = FALSE; |
|
FILE *pipefp; |
FILE *pipefp; |
|
|
if (!skip_rest_of_patch) { |
if (!skip_rest_of_patch) { |
|
|
p_input_line++; |
p_input_line++; |
for (t = buf; isdigit(*t) || *t == ','; t++) |
for (t = buf; isdigit(*t) || *t == ','; t++) |
; |
; |
this_line_is_command = (isdigit(*buf) && |
/* POSIX defines allowed commands as {a,c,d,i,s} */ |
(*t == 'd' || *t == 'c' || *t == 'a')); |
if (isdigit(*buf) && (*t == 'a' || *t == 'c' || *t == 'd' || |
if (this_line_is_command) { |
*t == 'i' || *t == 's')) { |
if (!skip_rest_of_patch) |
if (!skip_rest_of_patch) |
fputs(buf, pipefp); |
fputs(buf, pipefp); |
if (*t != 'd') { |
if (*t != 'd') { |