summaryrefslogtreecommitdiff
path: root/emulators/gsnes9x/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/gsnes9x/files/patch-ab')
-rw-r--r--emulators/gsnes9x/files/patch-ab38
1 files changed, 38 insertions, 0 deletions
diff --git a/emulators/gsnes9x/files/patch-ab b/emulators/gsnes9x/files/patch-ab
new file mode 100644
index 000000000000..235c38fd8a70
--- /dev/null
+++ b/emulators/gsnes9x/files/patch-ab
@@ -0,0 +1,38 @@
+--- 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)