24 lines
788 B
Diff
24 lines
788 B
Diff
diff -urN tftp-hpa-5.2.orig/tftp/main.c tftp-hpa-5.2/tftp/main.c
|
|
--- tftp-hpa-5.2.orig/tftp/main.c 2020-11-14 22:21:15.851650899 -0700
|
|
+++ tftp-hpa-5.2/tftp/main.c 2020-11-14 22:21:41.878327755 -0700
|
|
@@ -95,7 +95,7 @@
|
|
int margc;
|
|
char *margv[20];
|
|
const char *prompt = "tftp> ";
|
|
-sigjmp_buf toplevel;
|
|
+static sigjmp_buf toplevel;
|
|
void intr(int);
|
|
struct servent *sp;
|
|
int portrange = 0;
|
|
diff -urN tftp-hpa-5.2.orig/tftp/tftp.c tftp-hpa-5.2/tftp/tftp.c
|
|
--- tftp-hpa-5.2.orig/tftp/tftp.c 2020-11-14 22:21:15.851650899 -0700
|
|
+++ tftp-hpa-5.2/tftp/tftp.c 2020-11-14 22:21:51.304998113 -0700
|
|
@@ -48,7 +48,7 @@
|
|
#define PKTSIZE SEGSIZE+4
|
|
char ackbuf[PKTSIZE];
|
|
int timeout;
|
|
-sigjmp_buf toplevel;
|
|
+static sigjmp_buf toplevel;
|
|
sigjmp_buf timeoutbuf;
|
|
|
|
static void nak(int, const char *);
|