Date: Fri, 26 Jul 1996 00:27:52 +0400 (MSD) From: "Alexander V. Lukyanov" Message-Id: <199607252027.AAA22318@video.yars.free.net> To: djgpp-workers AT delorie DOT com Subject: harmless typo *** fwrite.c.orig Wed Jul 24 11:55:46 1996 --- fwrite.c Wed Jul 24 12:00:02 1996 *************** *** 48,54 **** while (s > 0) { if (*ptr=='\n') { ! if (--f->_cnt > 0) *f->_ptr++ = '\r'; else if (_flsbuf('\r', f) == EOF) --- 48,54 ---- while (s > 0) { if (*ptr=='\n') { ! if (--f->_cnt > -f->_bufsiz) *f->_ptr++ = '\r'; else if (_flsbuf('\r', f) == EOF)