diff options
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); |