From ee15822acde9606c4eabc68ca38a82aa73dc8eae Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 28 Oct 1995 22:48:27 +0000 Subject: [PATCH] Now works with 8bit chars... --- usr.bin/write/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 7d99f21df47..a609cd24b77 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -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');