1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/ftp/moxftp/files/patch-ab
1994-12-29 13:04:34 +00:00

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 ----