# For 5.3 & beyond Moves from calling: man iswprint: Standard C Library (libc, -lc) To Internal: iswprintext() *** 5.3-RELEASE/src/usr.bin/fmt/fmt.c Mon Jan 14 10:48:26 2002 --- new/src/usr.bin/fmt/fmt.c Tue Nov 9 17:56:49 CET 2004 *************** *** 664,670 **** while ((ch=getwc(stream)) != '\n' && ch != WEOF) { if (len+spaces_pending==0 && ch=='.' && !format_troff) troff=1; if (ch==' ') ++spaces_pending; ! else if (troff || iswprint(ch)) { while (len+spaces_pending >= length) { length*=2; buf=xrealloc(buf, length * sizeof(wchar_t)); } --- 664,670 ---- while ((ch=getwc(stream)) != '\n' && ch != WEOF) { if (len+spaces_pending==0 && ch=='.' && !format_troff) troff=1; if (ch==' ') ++spaces_pending; ! else if (troff || iswprintext(ch)) { while (len+spaces_pending >= length) { length*=2; buf=xrealloc(buf, length * sizeof(wchar_t)); }