diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-05 14:04:47 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-05 14:04:47 +0000 |
commit | dae349247f5e500b70722063faa9ebfe5052d13c (patch) | |
tree | a831c13cfb8e839ddf5d020a879d3e4d8c0376f8 /shell | |
parent | e41dfc4c37226b2171e92ac6c1c64389cd353bbe (diff) | |
download | busybox-w32-dae349247f5e500b70722063faa9ebfe5052d13c.tar.gz busybox-w32-dae349247f5e500b70722063faa9ebfe5052d13c.tar.bz2 busybox-w32-dae349247f5e500b70722063faa9ebfe5052d13c.zip |
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!
git-svn-id: svn://busybox.net/trunk/busybox@17164 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions