diff options
author | Roland McGrath <roland@redhat.com> | 1994-10-24 22:50:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-10-24 22:50:01 +0000 |
commit | cc8d6cf343ad91528bba436775070727a5e88935 (patch) | |
tree | 83ebe2b1719be0dec333d82315b6a4d8d51366d2 | |
parent | 4b17f0982b74013682b156f28ff7b195202194ea (diff) | |
download | gunmake-cc8d6cf343ad91528bba436775070727a5e88935.tar.gz |
(start_job_command): In FLAGS initialization, OR in
CHILD->file->command_flags.
-rw-r--r-- | job.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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') |