Browse Source

remove bug no. 3080398

pre-master-46
h_vogt 16 years ago
parent
commit
28622b5a75
  1. 4
      ChangeLog
  2. 2
      src/frontend/misccoms.c

4
ChangeLog

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

2
src/frontend/misccoms.c

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

Loading…
Cancel
Save