22 lines
590 B
Text
22 lines
590 B
Text
$NetBSD: patch-ao,v 1.1 2009/08/15 17:15:32 wiz Exp $
|
|
|
|
--- src/c/getline.c.orig 2006-06-12 21:16:23.000000000 +0000
|
|
+++ src/c/getline.c
|
|
@@ -19,7 +19,7 @@ void new_buffers(void) {
|
|
checkptr(buf2 = (char *) realloc(buf2, buf_size));
|
|
}
|
|
#line 47 "getline.nw"
|
|
-char *getline (FILE *fp) {
|
|
+char *get_line (FILE *fp) {
|
|
|
|
|
|
#line 82 "getline.nw"
|
|
@@ -44,7 +44,7 @@ char *getline_expand (FILE *fp) {
|
|
char *s, *t;
|
|
int width;
|
|
|
|
- if (getline(fp)==NULL) return NULL;
|
|
+ if (get_line(fp)==NULL) return NULL;
|
|
|
|
#line 87 "getline.nw"
|
|
if (columnwidth(buf1) > buf_size - 1) {
|