Changeset 2185 in kBuild
- Timestamp:
- Jan 3, 2009 1:29:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/main.c
r2180 r2185 3800 3800 { 3801 3801 static char dying = 0; 3802 #ifdef KMK 3803 static char need_2nd_error = 0; 3804 #endif 3802 3805 3803 3806 if (!dying) … … 3809 3812 if (print_version_flag) 3810 3813 print_version (); 3814 3815 #ifdef KMK 3816 /* Flag 2nd error message. */ 3817 if (status != 0 3818 && ( job_slots_used > 0 3819 || print_data_base_flag 3820 || print_stats_flag)) 3821 need_2nd_error = 1; 3822 #endif /* KMK */ 3811 3823 3812 3824 /* Wait for children to die. */ … … 3863 3875 /* The failure might be lost in a -j <lots> run, so mention the 3864 3876 failure again before exiting. */ 3865 if ( status != 0 && job_slots != 1)3877 if (need_2nd_error != 0) 3866 3878 error (NILF, _("*** Exiting with status %d"), status); 3867 3879 #endif
Note:
See TracChangeset
for help on using the changeset viewer.