summaryrefslogtreecommitdiff
path: root/usr.bin/tty
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-12-29 20:00:53 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-12-29 20:00:53 +0000
commit4e974cec464a9e0f0b9ba94ee6924b436da434a3 (patch)
tree6925ba83830391b6eac4aa9a276feb94df1c04c5 /usr.bin/tty
parente302a7e8e6ecd03be15572f849517fe6b38fa02c (diff)
Fix wrong optimization in spec_write() that goes: if we are about to do
a write that will globber the whole buffer, and it's not in cache, do not bother reading it in. That's wrong, since the user may be trying to write beyond the disk extent, in which case we definitely want to return an error, rather than returning saying the write was okay, and failing later on at an 'uncatched' biodone(). Okay tedu@.
Diffstat (limited to 'usr.bin/tty')
0 files changed, 0 insertions, 0 deletions