projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.2.39:
[sbcl.git]
/
src
/
runtime
/
run-program.c
diff --git
a/src/runtime/run-program.c
b/src/runtime/run-program.c
index
241db7f
..
8fd0ae0
100644
(file)
--- a/
src/runtime/run-program.c
+++ b/
src/runtime/run-program.c
@@
-19,9
+19,7
@@
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#if defined(SVR4) || defined(__linux__)
#include <unistd.h>
#include <unistd.h>
-#endif
#include <sys/ioctl.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <termios.h>
@@
-63,7
+61,7
@@
int spawn(char *program, char *argv[], char *envp[], char *pty_name,
/* Put us in our own process group. */
#if defined(hpux)
setsid();
/* Put us in our own process group. */
#if defined(hpux)
setsid();
-#elif defined(SVR4) || defined(__linux__)
+#elif defined(SVR4) || defined(__linux__) || defined(__osf__)
setpgrp();
#else
setpgrp(0, getpid());
setpgrp();
#else
setpgrp(0, getpid());