diff options
author | ache <ache@FreeBSD.org> | 1994-09-21 20:23:07 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-09-21 20:23:07 +0000 |
commit | ba621babdd3c413227527c33b42e3d50f93bd3b6 (patch) | |
tree | 369612a37872768c7e2267dfeb7fdb3cdbd9d6f5 /bin/ls | |
parent | 3ec4d7796c175c8e7ef6cb46c607c9ba088631a0 (diff) | |
download | FreeBSD-src-ba621babdd3c413227527c33b42e3d50f93bd3b6.zip FreeBSD-src-ba621babdd3c413227527c33b42e3d50f93bd3b6.tar.gz |
Make ls ctype-aware
Diffstat (limited to 'bin/ls')
-rw-r--r-- | bin/ls/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c index 4d1173d..4f80c78 100644 --- a/bin/ls/util.c +++ b/bin/ls/util.c @@ -58,7 +58,7 @@ prcopy(src, dest, len) int ch; while (len--) { - ch = *src++; + ch = *src++ & 0xff; *dest++ = isprint(ch) ? ch : '?'; } } |