diff options
Diffstat (limited to 'java/eclipse-cdt/files/patch-cdt.core-openpty.c')
-rw-r--r-- | java/eclipse-cdt/files/patch-cdt.core-openpty.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/java/eclipse-cdt/files/patch-cdt.core-openpty.c b/java/eclipse-cdt/files/patch-cdt.core-openpty.c deleted file mode 100644 index 993bd355dc78..000000000000 --- a/java/eclipse-cdt/files/patch-cdt.core-openpty.c +++ /dev/null @@ -1,19 +0,0 @@ ---- eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.1.2.200702150621/src/org.eclipse.cdt.core.freebsd_3.1.2.200702150621/library/openpty.c.orig Thu Mar 30 19:18:06 2006 -+++ eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.1.2.200702150621/src/org.eclipse.cdt.core.freebsd_3.1.2.200702150621/library/openpty.c Thu Mar 30 19:18:47 2006 -@@ -20,7 +20,6 @@ - #include <grp.h> - - #include <stdlib.h> --#include <stropts.h> - - /** - * This is taken from R. W. Stevens book. -@@ -84,7 +83,7 @@ - char *ptr; - - strcpy(pts_name, "/dev/ptmx"); -- fdm = getpt(); -+ fdm = posix_openpt(O_RDWR); - if (fdm < 0) - return -1; - if (grantpt(fdm) < 0) { /* grant access to slave */ |