pkgsrc/news/cg/patches/patch-ab

22 lines
416 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-ab,v 1.1 2009/08/24 08:06:41 wiz Exp $
--- util.c.orig 2002-05-13 16:27:29.000000000 +0000
+++ 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)
;
}