1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/typist/files/patch-ab

19 lines
408 B
Plaintext
Raw Normal View History

*** lesson.c.orig Sun May 18 14:54:37 1997
--- lesson.c Tue Jun 24 11:11:21 1997
***************
*** 72,78 ****
--- 72,84 ----
nocbreak();
+ #ifdef __FreeBSD__
+ (void)fgets(response,STR_SIZE + 1,stdin);
+ for (lp = response; *lp != '\n'; lp++) ;
+ *lp='\0';
+ #else
(void)gets(response);
+ #endif
cbreak();
for (lp = response; *lp == ' ' || *lp == '\t'; lp++) ;