blob: 8ec787096c74aaf52cbbf9b01efca9bb74b8537b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ah,v 1.1 2010/04/29 00:17:14 dholland Exp $
--- moonphas.c~ 2000-02-09 16:06:23.000000000 +0000
+++ moonphas.c
@@ -526,7 +526,7 @@ read_moonfile(year)
line = 0;
mf_date_style = date_style; /* unless overridden by "opt -[AE]" */
- for (nrec = 1; getline(fp, lbuf, &line); nrec++) {
+ for (nrec = 1; get_line(fp, lbuf, &line); nrec++) {
/* special check for "opt -[AE]" line */
n = loadwords(words, lbuf);
|