Ignore:
Timestamp:
Sep 1, 2020, 3:17:57 PM (5 years ago)
Author:
bird
Message:

kmk: Quick output hack to repeat the failure output at the end of die() as it may easily get lost in output from other jobs (problem on systems with lots of cores).

File:
1 edited

Legend:

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

    r3289 r3432  
    172172        release_semaphore (sem);
    173173
     174# ifdef KMK
     175      if (!out->dont_truncate)
     176        { /* likely */ }
     177      else return;
     178# endif
     179
    174180      /* Free the segments and reset the state. */
    175181      while ((seg = out->out.head_seg))
     
    926932        release_semaphore (sem);
    927933
     934# ifdef KMK
     935      if (!out->dont_truncate)
     936        { /* likely */ }
     937      else return;
     938# endif
    928939      /* Truncate and reset the output, in case we use it again.  */
    929940      if (out->out != OUTPUT_NONE)
     
    10681079#endif
    10691080      out->syncout = !!output_sync;
     1081#ifdef KMK
     1082      out->dont_truncate = 0;
     1083#endif
    10701084      return;
    10711085    }
Note: See TracChangeset for help on using the changeset viewer.