aboutsummaryrefslogtreecommitdiff
path: root/news/cg/files/patch-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'news/cg/files/patch-util.c')
-rw-r--r--news/cg/files/patch-util.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/news/cg/files/patch-util.c b/news/cg/files/patch-util.c
new file mode 100644
index 000000000000..05e2c8e4fcfb
--- /dev/null
+++ b/news/cg/files/patch-util.c
@@ -0,0 +1,20 @@
+--- util.c.orig 2002-05-13 16:27:29 UTC
++++ util.c
+@@ -180,7 +180,7 @@ rename_uniq(const char *from, char **to)
+
+
+ char *
+-getline(FILE *f)
++get_line(FILE *f)
+ {
+ static char *b;
+ static int bsize;
+@@ -234,7 +234,7 @@ getline(FILE *f)
+ void
+ skip_rest(FILE *f)
+ {
+- while (getline(f) != NULL)
++ while (get_line(f) != NULL)
+ ;
+ }
+