remove bug no. 3080398

This commit is contained in:
h_vogt 2010-10-04 20:58:00 +00:00
parent 7c7ff52262
commit 28622b5a75
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
============================ Rework-22 ==================================
2010-10-04 Holger Vogt
* miscoms.c: remove bug no. 3080398
2010-10-02 Holger Vogt
* mesadefs.h, mesamsak.c, mesamparam.c, mesasetup.c
jfetmask.c: remove NAN or exp -312 outputs

View File

@ -84,7 +84,7 @@ com_quit(wordlist *wl)
fprintf(cp_out,
"\nAre you sure you want to quit (yes)? ");
(void) fflush(cp_out);
if (!fgets(buf, BSIZE_SP, stdin)) {
if (!fgets(buf, sizeof(buf), stdin)) {
clearerr(stdin);
*buf = 'y';
}