diff options
author | Denis Vlasenko | 2007-01-05 14:04:47 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-05 14:04:47 +0000 |
commit | 3376298b59abea4ec3c69fe1dbe5898db260cc5a (patch) | |
tree | a831c13cfb8e839ddf5d020a879d3e4d8c0376f8 /miscutils | |
parent | 98b8e9487dc40100d8031136f2241a66ce9dffb0 (diff) | |
download | busybox-3376298b59abea4ec3c69fe1dbe5898db260cc5a.zip busybox-3376298b59abea4ec3c69fe1dbe5898db260cc5a.tar.gz |
Stop tracking buffer size - it is a constant.
Stop ignoring write errors.
Fix bugs in this line:
rc->buffer_size = read(rc->fd, RC_BUFFER, rc->buffer_size);
(a) should use safe_read()
(b) just ONE short read (e.g. 4 bytes) will make ALL future reads short!
Diffstat (limited to 'miscutils')
0 files changed, 0 insertions, 0 deletions