mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
18 lines
419 B
C
18 lines
419 B
C
$NetBSD$
|
|
|
|
--- lib/spawni.c.orig Mon Apr 8 09:18:57 2013
|
|
+++ lib/spawni.c
|
|
@@ -223,10 +223,12 @@ __spawni (pid_t *pid, const char *file,
|
|
}
|
|
#endif
|
|
|
|
+#ifndef __minix
|
|
/* Set the process group ID. */
|
|
if ((flags & POSIX_SPAWN_SETPGROUP) != 0
|
|
&& setpgid (0, attrp->_pgrp) != 0)
|
|
_exit (SPAWN_ERROR);
|
|
+#endif
|
|
|
|
/* Set the effective user and group IDs. */
|
|
if ((flags & POSIX_SPAWN_RESETIDS) != 0
|