mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
17 lines
373 B
Plaintext
17 lines
373 B
Plaintext
|
*** popen.c.orig Tue Dec 20 17:22:12 1994
|
||
|
--- popen.c Tue Dec 20 17:22:51 1994
|
||
|
***************
|
||
|
*** 117,127 ****
|
||
|
}
|
||
|
(void) close(pdes[1]);
|
||
|
}
|
||
|
- #if defined(SVR4)||defined(HAVE_UNISTD_H)||!defined(BSD)
|
||
|
- setpgrp();
|
||
|
- #else
|
||
|
setpgrp(0, getpid());
|
||
|
- #endif
|
||
|
execl("/bin/sh", "sh", "-c", program, NULL);
|
||
|
_exit(127);
|
||
|
/* NOTREACHED */
|
||
|
--- 117,123 ----
|