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

*** 35,45 **** */ #include <sys/wait.h> /* WIFEXITED(status) */ #include <alloca.h> /* alloca() */ #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL) /* tolik */ - # include <avo/strings.h> /* AVO_STRDUP() */ #if defined(DISTRIBUTED) # include <dm/Avo_CmdOutput.h> # include <rw/xdrstrea.h> #endif #endif --- 35,44 ----
*** 633,643 **** * nice message about it. */ SEND_MTOOL_MSG( make_output_msg = new Avo_CmdOutput(); (void) sprintf(tmp_buf, "%d", job_msg_id); ! make_output_msg->appendOutput(AVO_STRDUP(tmp_buf)); ); tmp_buf[0] = (int) nul_char; if (!silent_error) { if (exit_status != 0) { --- 632,642 ---- * nice message about it. */ SEND_MTOOL_MSG( make_output_msg = new Avo_CmdOutput(); (void) sprintf(tmp_buf, "%d", job_msg_id); ! make_output_msg->appendOutput(strdup(tmp_buf)); ); tmp_buf[0] = (int) nul_char; if (!silent_error) { if (exit_status != 0) {
*** 676,686 **** ); } (void) fprintf(stdout, "\n"); (void) fflush(stdout); SEND_MTOOL_MSG( ! make_output_msg->appendOutput(AVO_STRDUP(tmp_buf)); ); } SEND_MTOOL_MSG( xdr_msg = (RWCollectable*) make_output_msg; xdr(xdrs_p, xdr_msg); --- 675,685 ---- ); } (void) fprintf(stdout, "\n"); (void) fflush(stdout); SEND_MTOOL_MSG( ! make_output_msg->appendOutput(strdup(tmp_buf)); ); } SEND_MTOOL_MSG( xdr_msg = (RWCollectable*) make_output_msg; xdr(xdrs_p, xdr_msg);