devel/bmake

This commit is contained in:
Lionel Sambuc 2013-10-07 17:51:03 +02:00
parent 5426a335d8
commit 011d972cb3
2 changed files with 2 additions and 2 deletions

View File

@ -1396,7 +1396,7 @@ JobExec(Job *job, char **argv)
* we can kill it and all its descendants in one fell swoop,
* by killing its process family, but not commit suicide.
*/
#if defined(MAKE_NATIVE) || defined(HAVE_SETPGID)
#if defined(MAKE_NATIVE) && defined(HAVE_SETPGID)
#if defined(SYSV)
/* XXX: dsl - I'm sure this should be setpgrp()... */
(void)setsid();

View File

@ -832,7 +832,7 @@ main(int argc, char **argv)
progname++;
else
progname = argv[0];
#if defined(MAKE_NATIVE) || (defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE))
#if defined(MAKE_NATIVE) && (defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE))
/*
* get rid of resource limit on file descriptors
*/