SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
net/ytalk/patches/patch-exec_c
Normal file
14
net/ytalk/patches/patch-exec_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- exec.c.orig Fri Dec 7 22:54:16 2012
|
||||
+++ exec.c Fri Dec 7 22:57:00 2012
|
||||
@@ -100,7 +100,11 @@ getpty(name)
|
||||
/* look for a Solaris/UNIX98-type pseudo-device */
|
||||
|
||||
#ifdef USE_DEV_PTMX
|
||||
+#ifdef HAVE_POSIX_OPENPT
|
||||
+ if ((pty=posix_openpt(O_RDWR|O_NOCTTY)) >= 0)
|
||||
+#else
|
||||
if ((pty=open("/dev/ptmx", O_RDWR)) >= 0)
|
||||
+#endif
|
||||
{
|
||||
/* grantpt() might want to fork/exec! */
|
||||
sigchld = signal(SIGCHLD, SIG_DFL);
|
Loading…
Add table
Add a link
Reference in a new issue