2013-09-26 17:14:40 +02:00

41 lines
879 B
Plaintext

$NetBSD: patch-at,v 1.3 2012/10/26 20:27:15 joerg Exp $
--- metamail/uue.c.orig 1993-07-28 18:31:02.000000000 +0000
+++ metamail/uue.c
@@ -30,7 +30,7 @@ FILE *outfp;
}
-getline (buf, size, fp)
+uue_getline (buf, size, fp)
char *buf;
int size;
FILE *fp;
@@ -62,7 +62,7 @@ FILE *fp;
}
-fromuue (infp, outfp, boundaries, ctptr)
+void fromuue (infp, outfp, boundaries, ctptr)
FILE *infp, *outfp;
char **boundaries;
int *ctptr;
@@ -70,7 +70,7 @@ int *ctptr;
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 @@ int *ctptr;
}
}
while (1) {
- if (getline (buf, sizeof buf, infp) < 0) {
+ if (uue_getline (buf, sizeof buf, infp) < 0) {
fprintf (stderr, "Premature EOF!\n");
return;
}