1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-cc,v 1.1 2010/12/08 11:30:18 markd Exp $
rename getline() to avoid clash
--- source/3rdparty/sge_depend/parse.c.orig 2008-04-16 09:11:05.000000000 +0000
+++ source/3rdparty/sge_depend/parse.c
@@ -80,7 +80,7 @@ static int gobble(filep, file, file_red)
register char *line;
register int type;
- while ((line = getline(filep))) {
+ while ((line = sge_getline(filep))) {
switch(type = deftype(line, filep, file_red, file, FALSE)) {
case IF:
case IFFALSE:
@@ -571,7 +571,7 @@ int find_includes(filep, file, file_red,
register int type;
boolean recfailOK;
- while ((line = getline(filep))) {
+ while ((line = sge_getline(filep))) {
switch(type = deftype(line, filep, file_red, file, TRUE)) {
case IF:
doif:
|