summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-02-23 09:12:20 +0000
committerJim Meyering <jim@meyering.net>2002-02-23 09:12:20 +0000
commit39ae860d5b45e577bfd5adabd57cd7ed6ec5ed2d (patch)
tree0a1083267b0908be8ccd4bed3e1b54e45a7b2947 /old
parent8f0c48cf2f6d63f68f77b4adb86c1e38a81b9108 (diff)
downloadcoreutils-39ae860d5b45e577bfd5adabd57cd7ed6ec5ed2d.tar.xz
(simple_cat, cat, main): Used char * rather than
unsigned char *, to avoid some technical violations of the C standard, and to avoid the need for casts. I guess the unsigned char * was probably there for improved performance with ancient compilers, but the code wasn't using the unsignedness any more. Reported by Nelson H. F. Beebe. (cat): int -> size_t for full_write arg. This doesn't fix any bugs since the buffer size is small, but it makes the code a bit clearer.
Diffstat (limited to 'old')
0 files changed, 0 insertions, 0 deletions