VirtualBox

Changeset 2185 in kBuild


Ignore:
Timestamp:
Jan 3, 2009 1:29:50 PM (16 years ago)
Author:
bird
Message:

kmk: changed the conditions for showing the final error message a bit to avoid messing up a lot of negative testcases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/main.c

    r2180 r2185  
    38003800{
    38013801  static char dying = 0;
     3802#ifdef KMK
     3803  static char need_2nd_error = 0;
     3804#endif
    38023805
    38033806  if (!dying)
     
    38093812      if (print_version_flag)
    38103813        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 */     
    38113823
    38123824      /* Wait for children to die.  */
     
    38633875  /* The failure might be lost in a -j <lots> run, so mention the
    38643876     failure again before exiting. */
    3865   if (status != 0 && job_slots != 1)
     3877  if (need_2nd_error != 0)
    38663878    error (NILF, _("*** Exiting with status %d"), status);
    38673879#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette