diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-04-05 03:11:39 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-04-05 03:11:39 +0000 |
commit | c4851e78e4f63338fe9a4883e5b7a0370dce27f7 (patch) | |
tree | 3910aa2e83f782cec94f15b4547dadb741cd29ce /devel/gnome-vfs/files/patch-modules_pty-open.c | |
parent | f82c84522b047dd99c6f9d85ce3e07217ccce7df (diff) | |
download | ports-c4851e78e4f63338fe9a4883e5b7a0370dce27f7.tar.gz ports-c4851e78e4f63338fe9a4883e5b7a0370dce27f7.zip |
Notes
Diffstat (limited to 'devel/gnome-vfs/files/patch-modules_pty-open.c')
-rw-r--r-- | devel/gnome-vfs/files/patch-modules_pty-open.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/gnome-vfs/files/patch-modules_pty-open.c b/devel/gnome-vfs/files/patch-modules_pty-open.c new file mode 100644 index 000000000000..2ee23b086f16 --- /dev/null +++ b/devel/gnome-vfs/files/patch-modules_pty-open.c @@ -0,0 +1,13 @@ +--- modules/pty-open.c.orig Sun Apr 4 12:58:08 2004 ++++ modules/pty-open.c Sun Apr 4 12:59:30 2004 +@@ -613,6 +613,10 @@ + if ((fd == -1) && (errno == ENOENT)) { + fd = open("/dev/ptc", O_RDWR | O_NOCTTY); /* AIX */ + } ++ ++ if ((fd == -1) && (errno == ENOENT)) { ++ fd = posix_openpt(O_RDWR); ++ } + #endif + /* Set it to blocking. */ + flags = fcntl(fd, F_GETFL); |