Changeset 3432 for trunk/src/kmk/job.c
- Timestamp:
- Sep 1, 2020, 3:17:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/job.c
r3312 r3432 1062 1062 #ifndef NO_OUTPUT_SYNC 1063 1063 /* Synchronize any remaining parallel output. */ 1064 # ifdef KMK 1065 c->output.dont_truncate = !err && child_failed && !dontcare && !keep_going_flag && !handling_fatal_signal; 1066 # endif 1064 1067 output_dump (&c->output); 1065 1068 #endif … … 1096 1099 lastc->next = c->next; 1097 1100 1101 #ifdef KMK /* Repeat the error */ 1102 /* If the job failed, and the -k flag was not given, die, 1103 unless we are already in the process of dying. */ 1104 if (!err && child_failed && !dontcare && !keep_going_flag && 1105 /* fatal_error_signal will die with the right signal. */ 1106 !handling_fatal_signal) 1107 { 1108 unblock_sigs (); 1109 die_with_job_output (child_failed, &c->output); 1110 } 1111 #endif 1112 1098 1113 free_child (c); 1099 1114 1100 1115 unblock_sigs (); 1101 1116 1117 #ifndef KMK /* See above. */ 1102 1118 /* If the job failed, and the -k flag was not given, die, 1103 1119 unless we are already in the process of dying. */ … … 1106 1122 !handling_fatal_signal) 1107 1123 die (child_failed); 1124 #endif 1108 1125 1109 1126 /* Only block for one child. */
Note:
See TracChangeset
for help on using the changeset viewer.