ALT Linux Bugzilla
– Attachment 2353 Details for
Bug 13871
tty tunnel don't work
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
force using ptys in Unix98 style
vtund-unix98-ptys.patch (text/plain), 775 bytes, created by
Yura Kalinichenko
on 2008-01-04 22:17:54 MSK
(
hide
)
Description:
force using ptys in Unix98 style
Filename:
MIME Type:
Creator:
Yura Kalinichenko
Created:
2008-01-04 22:17:54 MSK
Size:
775 bytes
patch
obsolete
>diff -U 2 -r vtun.orig/config.h.in vtun/config.h.in >--- vtun.orig/config.h.in 2008-01-04 19:23:05 +0200 >+++ vtun/config.h.in 2008-01-04 19:34:20 +0200 >@@ -65,4 +65,10 @@ > #undef HAVE_SHAPER > >+/* define if you have Unix98 pseudoterminals */ >+#undef HAVE_GETPT >+#undef HAVE_GRANTPT >+#undef HAVE_UNLOCKPT >+#undef HAVE_PTSNAME >+ > /* Release version and date */ > #undef VTUN_VER >diff -U 2 -r vtun.orig/generic/pty_dev.c vtun/generic/pty_dev.c >--- vtun.orig/generic/pty_dev.c 2008-01-04 19:23:05 +0200 >+++ vtun/generic/pty_dev.c 2008-01-04 19:44:19 +0200 >@@ -25,8 +25,10 @@ > #include <unistd.h> > #include <fcntl.h> >-#include <stdlib.h> > #include <stdio.h> > #include <string.h> > #include <syslog.h> >+#define __USE_XOPEN >+#define __USE_GNU >+#include <stdlib.h> > > #include "vtun.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13871
: 2353