diff options
| author | Alexander Langer <alex@FreeBSD.org> | 2000-07-16 15:32:28 +0000 |
|---|---|---|
| committer | Alexander Langer <alex@FreeBSD.org> | 2000-07-16 15:32:28 +0000 |
| commit | 4e044e735f784ee9c31986ebb0fef0bb0f87def9 (patch) | |
| tree | 27279f42e1e26273aafcf4650b3cfdfb818b7c3d /emulators/gsnes9x/files/patch-ab | |
| parent | d9b9e951a403337596a3412ae6d1ba162800342e (diff) | |
Add gsnes9x, a GTK front-end for the Snes9X SNES emulator.
PR: 19370
Submitted by: Kelly Yancey <kbyanc@posi.net>
Diffstat (limited to 'emulators/gsnes9x/files/patch-ab')
| -rw-r--r-- | emulators/gsnes9x/files/patch-ab | 38 |
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) |
