1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/emulators/atari800/files/patch-ab
Satoshi Taoka 6f79c9c567 Updated to version 0.8.6 after I modified several problems
PR:		ports/7734
Submitted by:	Joel Sutton (maintainer)
1999-03-30 16:32:35 +00:00

30 lines
538 B
Plaintext

--- prompts.c.orig Thu Jun 18 20:20:15 1998
+++ prompts.c Thu Jun 18 20:22:22 1998
@@ -10,7 +10,7 @@
char gash[128];
printf(message, string);
- gets(gash);
+ fgets(gash,128,stdin);
if (strlen(gash) > 0)
strcpy(string, gash);
}
@@ -20,7 +20,7 @@
char gash[128];
printf(message, *num);
- gets(gash);
+ fgets(gash,128,stdin);
if (strlen(gash) > 0)
sscanf(gash, "\n%d", num);
}
@@ -32,7 +32,7 @@
do {
printf(message, *yn);
- gets(gash);
+ fgets(gash,128,stdin);
if (strlen(gash) > 0)
t_yn = gash[0];