update Sat Oct 17 12:37:00 PDT 2009
[pkgsrc.git] / mail / metamail / patches / patch-at
1 --- uue.c.orig  2009-10-16 15:17:32.000000000 -0700
2 +++ uue.c       2009-10-16 15:14:38.000000000 -0700
3 @@ -30,7 +30,7 @@
4  }
5  
6  
7 -getline (buf, size, fp)
8 +uue_getline (buf, size, fp)
9  char *buf;
10  int size;
11  FILE *fp;
12 @@ -70,7 +70,7 @@
13      char buf[63];
14  
15      while (1) {
16 -       if (getline (buf, sizeof buf, infp) < 0) {
17 +       if (uue_getline (buf, sizeof buf, infp) < 0) {
18             fprintf (stderr, "Premature EOF!\n");
19             return;
20         }
21 @@ -82,7 +82,7 @@
22         }
23      }  
24      while (1) {
25 -       if (getline (buf, sizeof buf, infp) < 0) {
26 +       if (uue_getline (buf, sizeof buf, infp) < 0) {
27             fprintf (stderr, "Premature EOF!\n");
28             return;
29         }