summaryrefslogtreecommitdiff
path: root/net/gspoof/files/patch-console.c
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-03 15:26:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-03 15:26:39 +0000
commita3f314ca7d85f258f8a4548466d05840a3ae30c5 (patch)
treeec68fe1fcbcd420aa7b4fc3ae0dbb254bf60b253 /net/gspoof/files/patch-console.c
parent- Update to version 1.2.13 (diff)
- Update to version 3.1
PR: 57534 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=90138
Diffstat (limited to 'net/gspoof/files/patch-console.c')
-rw-r--r--net/gspoof/files/patch-console.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/net/gspoof/files/patch-console.c b/net/gspoof/files/patch-console.c
deleted file mode 100644
index 9a185e566b36..000000000000
--- a/net/gspoof/files/patch-console.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- console.c.orig Sat Aug 30 00:16:50 2003
-+++ console.c Sat Aug 30 15:56:23 2003
-@@ -335,7 +335,11 @@
- fgets(value, 20, stdin);
- seq = atol(value);
- }
-+#ifdef __FreeBSD__
-+ while (atoi(value) < 0 || strtoll(value, NULL, 10) > 4294970000);
-+#else
- while (atoi(value) < 0 || atoll(value) > 4294970000);
-+#endif
- }
- else if (!strcmp ("3.5", cmd))
- {
-@@ -345,7 +349,11 @@
- fgets(value, 20, stdin);
- ack = atol(value);
- }
-+#ifdef __FreeBSD__
-+ while (atoi(value) < 0 || strtoll(value, NULL, 10) > 4294970000);
-+#else
- while (atoi(value) < 0 || atoll(value) > 4294970000);
-+#endif
- }
- else if (!strcmp ("3.6", cmd))
- {