"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sunpro/Make/bin/make/common/dist.cc" between
schily-2021-08-14.tar.bz2 and schily-2021-09-18.tar.bz2

About: Schily Tools are a collection of programs like cdrecord, cdda2wav, mkisofs, star and much more. In memoriam of the author Jörg Schilling, who passed away in October 2021.

dist.cc  (schily-2021-08-14.tar.bz2):dist.cc  (schily-2021-09-18.tar.bz2)
skipping to change at line 36 skipping to change at line 36
*/ */
/* /*
* @(#)dist.cc 1.35 06/12/12 * @(#)dist.cc 1.35 06/12/12
*/ */
#pragma ident "@(#)dist.cc 1.25 96/03/12" #pragma ident "@(#)dist.cc 1.25 96/03/12"
/* /*
* Copyright 2017-2019 J. Schilling * Copyright 2017-2019 J. Schilling
* *
* @(#)dist.cc 1.5 19/10/17 2017-2019 J. Schilling * @(#)dist.cc 1.6 21/08/16 2017-2019 J. Schilling
*/ */
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef lint #ifndef lint
static UConst char sccsid[] = static UConst char sccsid[] =
"@(#)dist.cc 1.5 19/10/17 2017-2019 J. Schilling"; "@(#)dist.cc 1.6 21/08/16 2017-2019 J. Schilling";
#endif #endif
#ifdef DISTRIBUTED #ifdef DISTRIBUTED
/* /*
* dist.cc * dist.cc
* *
* Deal with the distributed processing * Deal with the distributed processing
*/ */
#include <avo/err.h> #include <avo/err.h>
skipping to change at line 284 skipping to change at line 284
env = getmem(length); env = getmem(length);
(void) sprintf(env, (void) sprintf(env,
"%s=", "%s=",
NOCATGETS("DMAKE_ODIR")); NOCATGETS("DMAKE_ODIR"));
(void) putenv(env); (void) putenv(env);
} }
(void) sprintf(&rxm_command[strlen(rxm_command)], (void) sprintf(&rxm_command[strlen(rxm_command)],
NOCATGETS(" %d %d"), NOCATGETS(" %d %d"),
pipe1[0], pipe2[1]); pipe1[0], pipe2[1]);
#ifdef linux execl(SHELL_PATH), /* /usr/bin/sh or /bin/sh */
execl(NOCATGETS("/bin/sh"),
#else
execl(NOCATGETS("/usr/bin/sh"),
#endif
NOCATGETS("sh"), NOCATGETS("sh"),
NOCATGETS("-c"), NOCATGETS("-c"),
rxm_command, rxm_command,
(char *)NULL); (char *)NULL);
_exit(127); _exit(127);
} }
} }
/* /*
* static void * static void
 End of changes. 3 change blocks. 
7 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)