aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/atari800/files/patch-ac
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-10-29 09:07:09 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-10-29 09:07:09 +0000
commitd88cedc838256c93e2f02a1ce7435d826425bcdf (patch)
treeaa6480ca793198e69035277c0dfc7b1b4b6cab2f /emulators/atari800/files/patch-ac
parent4ba37079d07fdd7aa0e48acceb83ee73fa8cb3b0 (diff)
Import atari800 port. This is an emulator of the old 8bit computer.
PR: 3411 Submitted by: Joel Sutton <sutton@aardvark.apana.org.au>
Diffstat (limited to 'emulators/atari800/files/patch-ac')
-rw-r--r--emulators/atari800/files/patch-ac53
1 files changed, 53 insertions, 0 deletions
diff --git a/emulators/atari800/files/patch-ac b/emulators/atari800/files/patch-ac
new file mode 100644
index 000000000000..9e4e58feea4a
--- /dev/null
+++ b/emulators/atari800/files/patch-ac
@@ -0,0 +1,53 @@
+*** prompts.c.orig Sun Apr 20 23:32:27 1997
+--- prompts.c Sun Apr 20 23:34:30 1997
+***************
+*** 10,16 ****
+ char gash[128];
+
+ printf (message, string);
+! gets (gash);
+ if (strlen(gash) > 0)
+ strcpy (string, gash);
+ }
+--- 10,16 ----
+ char gash[128];
+
+ printf (message, string);
+! fgets (gash,128,stdin);
+ if (strlen(gash) > 0)
+ strcpy (string, gash);
+ }
+***************
+*** 20,26 ****
+ char gash[128];
+
+ printf (message, *num);
+! gets (gash);
+ if (strlen(gash) > 0)
+ sscanf (gash,"\n%d", num);
+ }
+--- 20,26 ----
+ char gash[128];
+
+ printf (message, *num);
+! fgets (gash,128,stdin);
+ if (strlen(gash) > 0)
+ sscanf (gash,"\n%d", num);
+ }
+***************
+*** 33,39 ****
+ do
+ {
+ printf (message, *yn);
+! gets (gash);
+
+ if (strlen(gash) > 0)
+ t_yn = gash[0];
+--- 33,39 ----
+ do
+ {
+ printf (message, *yn);
+! fgets (gash,128,stdin);
+
+ if (strlen(gash) > 0)
+ t_yn = gash[0];