Fix iovec for the case with invalid elements (Lauro Ramos Venancio).
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:21:03 +0000 (10:21 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:21:03 +0000 (10:21 +0000)
commitd732dcb442ce810709f48d7a105b573efda118a2
tree3f2625598c78ebac8bace395df92be6508942cb5
parenta2f86d8e08b530679bdcf8662c51e21c2e9ad46e
Fix iovec for the case with invalid elements (Lauro Ramos Venancio).

We must call the writev even if an iovec element is invalid. For
example, if the second element is invalid, the linux process the first
one.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5562 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/syscall.c