diff options
author | Jim Meyering <jim@meyering.net> | 2002-02-23 09:12:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-02-23 09:12:20 +0000 |
commit | 39ae860d5b45e577bfd5adabd57cd7ed6ec5ed2d (patch) | |
tree | 0a1083267b0908be8ccd4bed3e1b54e45a7b2947 /old/textutils | |
parent | 8f0c48cf2f6d63f68f77b4adb86c1e38a81b9108 (diff) | |
download | coreutils-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/textutils')
0 files changed, 0 insertions, 0 deletions