opnsense-ports/net/tcpview/files/patch-hex.c
Franco Fichtner 7fa6d6f0c6 */*: sync with upstream
Taken from: HardenedBSD
2017-10-10 04:44:29 +02:00

10 lines
283 B
C

--- hex.c.orig 1993-04-22 13:40:04.000000000 -0700
+++ hex.c 2017-10-06 07:25:01.182767000 -0700
@@ -85,6 +85,7 @@
char *s;
do {
+#define gets(a) fgets(a,sizeof(a),stdin)
if( gets(str) == NULL )
return NULL;
if( *str != '\t' && *str != ' ' && PrintFrames )