summaryrefslogtreecommitdiff
path: root/source/n/metamail/metamail.uue.getline.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/metamail/metamail.uue.getline.diff')
-rw-r--r--source/n/metamail/metamail.uue.getline.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/source/n/metamail/metamail.uue.getline.diff b/source/n/metamail/metamail.uue.getline.diff
new file mode 100644
index 00000000..24bdcd7b
--- /dev/null
+++ b/source/n/metamail/metamail.uue.getline.diff
@@ -0,0 +1,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;
+ }