# For everything prior to 5.3 *** 4.8-RELEASE/src/usr.bin/fmt/fmt.c Mon Jan 14 10:48:26 2002 --- new/src/usr.bin/fmt/fmt.c Tue Feb 25 00:08:18 2003 *************** *** 613,619 **** while ((ch=getc(stream)) != '\n' && ch != EOF) { if (len+spaces_pending==0 && ch=='.' && !format_troff) troff=1; if (ch==' ') ++spaces_pending; ! else if (troff || isprint(ch)) { while (len+spaces_pending >= length) { length*=2; buf=xrealloc(buf, length); } --- 635,641 ---- while ((ch=getc(stream)) != '\n' && ch != EOF) { if (len+spaces_pending==0 && ch=='.' && !format_troff) troff=1; if (ch==' ') ++spaces_pending; ! else if (troff || isprintext(ch)) { while (len+spaces_pending >= length) { length*=2; buf=xrealloc(buf, length); }