Print this page
make: ship the Joyent patch to enable parallel make (originally from rm)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/misc.cc
          +++ new/usr/src/cmd/make/bin/misc.cc
↓ open down ↓ 129 lines elided ↑ open up ↑
 130  130   *              format          printf type format string
 131  131   *              args            Arguments to match the format
 132  132   *
 133  133   *      Global variables used:
 134  134   *              fatal_in_progress Indicates if this is a recursive call
 135  135   *              parallel_process_cnt Do we need to wait for anything?
 136  136   *              report_pwd      Should we report the current path?
 137  137   */
 138  138  /*VARARGS*/
 139  139  void
 140      -fatal(char * message, ...)
      140 +fatal(const char *message, ...)
 141  141  {
 142  142          va_list args;
 143  143  
 144  144          va_start(args, message);
 145  145          (void) fflush(stdout);
 146  146  #ifdef DISTRIBUTED
 147  147          (void) fprintf(stderr, catgets(catd, 1, 262, "dmake: Fatal error: "));
 148  148  #else
 149  149          (void) fprintf(stderr, catgets(catd, 1, 263, "make: Fatal error: "));
 150  150  #endif
↓ open down ↓ 823 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX