1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/emulators/gsnes9x/files/patch-ab
Alexander Langer 4e044e735f Add gsnes9x, a GTK front-end for the Snes9X SNES emulator.
PR:             19370
Submitted by:   Kelly Yancey <kbyanc@posi.net>
2000-07-16 15:32:28 +00:00

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)