summaryrefslogtreecommitdiffstats
path: root/source/n/metamail/metamail.uue.getline.diff
blob: 24bdcd7bf7cb78eb44af61dbb50a3bd51c42fcdb (about) (plain) (blame)
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
--- ./src/metamail/uue.c.orig	2010-08-11 20:04:47.000000000 -0500
+++ ./src/metamail/uue.c	2010-08-11 20:05:12.000000000 -0500
@@ -30,7 +30,7 @@
 }
 
 
-getline (buf, size, fp)
+uue_getline (buf, size, fp)
 char *buf;
 int size;
 FILE *fp;
@@ -70,7 +70,7 @@
     char buf[63];
 
     while (1) {
-	if (getline (buf, sizeof buf, infp) < 0) {
+	if (uue_getline (buf, sizeof buf, infp) < 0) {
 	    fprintf (stderr, "Premature EOF!\n");
 	    return;
 	}
@@ -82,7 +82,7 @@
 	}
     }	
     while (1) {
-	if (getline (buf, sizeof buf, infp) < 0) {
+	if (uue_getline (buf, sizeof buf, infp) < 0) {
 	    fprintf (stderr, "Premature EOF!\n");
 	    return;
 	}