mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 23:06:54 +00:00
(start_job_command): In FLAGS initialization, OR in
CHILD->file->command_flags.
This commit is contained in:
parent
4b17f0982b
commit
cc8d6cf343
1 changed files with 6 additions and 1 deletions
7
job.c
7
job.c
|
@ -529,9 +529,14 @@ start_job_command (child)
|
|||
{
|
||||
static int bad_stdin = -1;
|
||||
register char *p;
|
||||
int flags = child->file->cmds->lines_flags[child->command_line - 1];
|
||||
int flags;
|
||||
char **argv;
|
||||
|
||||
/* Combine the flags parsed for the line itself with
|
||||
the flags specified globally for this target. */
|
||||
flags = (child->file->command_flags
|
||||
| child->file->cmds->lines_flags[child->command_line - 1]);
|
||||
|
||||
p = child->command_ptr;
|
||||
child->noerror = flags & COMMANDS_NOERROR;
|
||||
while (*p != '\0')
|
||||
|
|
Loading…
Reference in a new issue