Now works with 8bit chars...

This commit is contained in:
Andrey A. Chernov 1995-10-28 22:48:27 +00:00
parent 290b1ca54e
commit ee15822acd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11898

View File

@ -308,7 +308,7 @@ wr_fputs(s)
#define PUTC(c) if (putchar(c) == EOF) goto err;
for (; *s != '\0'; ++s) {
c = toascii(*s);
c = *s;
if (c == '\n') {
PUTC('\r');
PUTC('\n');