]> git.lizzy.rs Git - plan9front.git/commit
acme: apply nemos acmediskread patch (from sources)
authorcinap_lenrek <cinap_lenrek@gmx.de>
Sat, 11 May 2013 16:43:03 +0000 (18:43 +0200)
committercinap_lenrek <cinap_lenrek@gmx.de>
Sat, 11 May 2013 16:43:03 +0000 (18:43 +0200)
commit3174ffc971c3f48a41e9717eae564c1019c82bf8
treea47246fdac65ed4c5b6c496a7a7ae5607e768909
parent389d6a1054cbf6734499a81c7de2dbc8251fa65c
acme: apply nemos acmediskread patch (from sources)

pread does not guarantee that it would read all the data asked for.
But acme usage of disk assumes that. This issues as many reads as
needed to make acme work when read returns less data than it wanted.
sys/src/cmd/acme/disk.c