]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/pty.c
Reinstate the textual service name in port forwarding Event Log
[PuTTY.git] / unix / pty.c
index bef9f2fab429a5b60f8f09ec02b2e99f40949e38..19ec8d71e3c0414d1a0c0c28e8290ea97265e0da 100644 (file)
@@ -11,7 +11,7 @@
  * a null pointer and ignored everywhere.
  */
 
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
 #define _XOPEN_SOURCE_EXTENDED
 #define _GNU_SOURCE
 
@@ -804,6 +804,11 @@ static int pty_exitcode(void *handle)
        return pty_exit_code;
 }
 
+static int pty_cfg_info(void *handle)
+{
+    return 0;
+}
+
 Backend pty_backend = {
     pty_init,
     pty_free,
@@ -820,5 +825,6 @@ Backend pty_backend = {
     pty_provide_ldisc,
     pty_provide_logctx,
     pty_unthrottle,
+    pty_cfg_info,
     1
 };