summaryrefslogtreecommitdiff
path: root/mail/faces/patches/patch-ae
blob: 595fe41e467a2b6b6ea7efd50bae462427102a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- filters/rs2icon.c	1998/02/25 13:51:18	1.1
+++ filters/rs2icon.c	1998/02/25 13:51:55
@@ -21,7 +21,7 @@
  */
 
 #include <stdio.h>
-#ifdef SYSV32 || hpux
+#if defined(SYSV32) || defined(hpux)
 #include <string.h>
 #else
 #include <strings.h>
--- filters/ikon2icon.c	1998/02/25 13:51:11	1.1
+++ filters/ikon2icon.c	1998/02/25 13:57:09
@@ -13,12 +13,17 @@
  *  either to the comments or the code of this program, but if reported
  *  to me, then an attempt will be made to fix them.
  */
+#include <sys/param.h>
 
 #include <stdio.h>
 
 #define  PATCHLEVEL  1
 
-#define  GETS        (void) gets     /* To make lint happy. */
+#if (defined(BSD) && BSD >= 199306)
+#define  GETS(s)	{ (void)fgets(s, sizeof(s), stdin); s[sizeof(s) - 1] = 0; }
+#else
+#define  GETS(s)        (void) gets(s)     /* To make lint happy. */
+#endif
 #define  PRINTF      (void) printf
 #define  SPRINTF     (void) sprintf
 #define  SSCANF      (void) sscanf