mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
4e044e735f
PR: 19370 Submitted by: Kelly Yancey <kbyanc@posi.net>
39 lines
700 B
Plaintext
39 lines
700 B
Plaintext
--- src/confiles.c.orig Sun Jun 18 17:34:23 2000
|
|
+++ src/confiles.c Sun Jun 18 18:06:27 2000
|
|
@@ -81,7 +81,7 @@
|
|
file = fopen (conf, "r");
|
|
}
|
|
|
|
- getline (&str, &size, file);
|
|
+ fgets (str, size, file);
|
|
str[strlen (str)-1] = '\0';
|
|
|
|
while (!feof (file)) {
|
|
@@ -142,7 +142,7 @@
|
|
}
|
|
}
|
|
|
|
- getline (&str, &size, file);
|
|
+ fgets (str, size, file);
|
|
str[strlen (str)-1] = '\0';
|
|
|
|
if (lval)
|
|
@@ -179,7 +179,7 @@
|
|
return NULL;
|
|
}
|
|
|
|
- getline (&str, &size, file);
|
|
+ fgets (str, size, file);
|
|
str[strlen (str)-1] = '\0';
|
|
|
|
while (!feof (file)) {
|
|
@@ -237,7 +237,7 @@
|
|
}
|
|
}
|
|
|
|
- getline (&str, &size, file);
|
|
+ fgets (str, size, file);
|
|
str[strlen (str)-1] = '\0';
|
|
|
|
if (lval)
|