openbsd-ports/games/gnushogi/patches/patch-ab
1998-05-20 03:41:28 +00:00

20 lines
509 B
Plaintext

*** src/dspcom.c.orig Tue May 19 23:37:20 1998
--- src/dspcom.c Tue May 19 23:38:08 1998
***************
*** 1567,1573 ****
#ifdef NONDSP
s[0] = sx[0] = '\0';
while (!sx[0])
! (void) gets (sx);
#else
fflush (stdout);
#if defined MSDOS || defined THINK_C
--- 1567,1573 ----
#ifdef NONDSP
s[0] = sx[0] = '\0';
while (!sx[0])
! (void) fgets (sx, 79, stdin);
#else
fflush (stdout);
#if defined MSDOS || defined THINK_C