summaryrefslogtreecommitdiff
path: root/libiohelp
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-21 04:27:23 +0000
committerRoland McGrath <roland@gnu.org>1999-11-21 04:27:23 +0000
commitd4139b9468005e145ba4c9fffa90b212de05e7d5 (patch)
tree0b2f89e42395f814345f1de6dff41945e21a01ad /libiohelp
parent1a69c12f73b7df071d87ed26a4e89c26cb7b05eb (diff)
1999-11-20 Roland McGrath <roland@baalperazim.frob.com>
* dev.c (dev_read, dev_write): In DEV->inhibit_cache case, handle zero (i.e. unknown) block_size by treating it as 1. Use shift and bitwise-and rather than multiply and modulus for block size arithmetic, since it's a known power of two.
Diffstat (limited to 'libiohelp')
0 files changed, 0 insertions, 0 deletions