mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
4907e8e57c
- Support CFLAGS propely PR: 22813 Submitted by: Ports Fury
15 lines
333 B
Plaintext
15 lines
333 B
Plaintext
--- popen.c.orig Sat May 21 05:40:23 1994
|
|
+++ popen.c Sat Nov 11 08:26:42 2000
|
|
@@ -117,11 +117,7 @@
|
|
}
|
|
(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 */
|