Files
ports/comms/minicom/files/patch-src-script.c
T
Dirk Meyer a591c7e5b6 - remove SUID bit, users must be added to group dialer
PR:		149462

- update MASTER_SITES
- make portlint happier
2020-02-04 11:10:20 +00:00

20 lines
626 B
C

--- src/script.c.orig 2013-10-29 11:07:42 UTC
+++ src/script.c
@@ -32,6 +32,7 @@
#include <config.h>
#endif
+#include <sys/wait.h>
#include <stdarg.h>
#include "port.h"
@@ -76,7 +77,7 @@ struct env {
struct env *curenv; /* Execution environment */
int gtimeout = 120; /* Global Timeout */
int etimeout = 0; /* Timeout in expect routine */
-jmp_buf ejmp; /* To jump to if expect times out */
+sigjmp_buf ejmp; /* To jump to if expect times out */
int inexpect = 0; /* Are we in the expect routine */
const char *newline; /* What to print for '\n'. */
const char *s_login = "name"; /* User's login name */