diff options
Diffstat (limited to 'x11/enterminus/files/patch-src_bin_pty.c')
-rw-r--r-- | x11/enterminus/files/patch-src_bin_pty.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/enterminus/files/patch-src_bin_pty.c b/x11/enterminus/files/patch-src_bin_pty.c new file mode 100644 index 000000000000..263137f1b925 --- /dev/null +++ b/x11/enterminus/files/patch-src_bin_pty.c @@ -0,0 +1,11 @@ +--- src/bin/pty.c.orig Mon Aug 14 18:25:18 2006 ++++ src/bin/pty.c Mon Aug 14 18:25:51 2006 +@@ -19,7 +19,7 @@ + int fd; + char *ptydev; + +- if((fd = getpt()) >= 0) ++ if((fd = posix_openpt(O_RDWR)) >= 0) + { + if(grantpt(fd) == 0 && unlockpt(fd) == 0) + { |