aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/ext2fs/swapfs.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-05 14:04:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-05 14:04:47 +0000
commit3376298b59abea4ec3c69fe1dbe5898db260cc5a (patch)
treea831c13cfb8e839ddf5d020a879d3e4d8c0376f8 /e2fsprogs/old_e2fsprogs/ext2fs/swapfs.c
parent98b8e9487dc40100d8031136f2241a66ce9dffb0 (diff)
downloadbusybox-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 'e2fsprogs/old_e2fsprogs/ext2fs/swapfs.c')
0 files changed, 0 insertions, 0 deletions