1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/emulators/atari800/files/patch-ac
Thomas Gellekum d88cedc838 Import atari800 port. This is an emulator of the old 8bit computer.
PR:		3411
Submitted by:	Joel Sutton <sutton@aardvark.apana.org.au>
1997-10-29 09:07:09 +00:00

54 lines
1012 B
Plaintext

*** 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];