diff options
author | Richard Purdie <richard@openedhand.com> | 2008-02-03 00:03:07 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-02-03 00:03:07 +0000 |
commit | 8c42510e06cdc8364f5e74b31b1d75ca342ab269 (patch) | |
tree | 60e224d0fb014e190b957883f2e1c0d59e4451b5 /meta/packages/qemu/qemu-0.9.1/writev_fix.patch | |
parent | 30d7bf91e51a4117b93b9d6add3fd7c9645f964e (diff) | |
download | openembedded-core-8c42510e06cdc8364f5e74b31b1d75ca342ab269.tar.gz openembedded-core-8c42510e06cdc8364f5e74b31b1d75ca342ab269.tar.bz2 openembedded-core-8c42510e06cdc8364f5e74b31b1d75ca342ab269.tar.xz openembedded-core-8c42510e06cdc8364f5e74b31b1d75ca342ab269.zip |
qemu: Fix writev syscall null value handling, fixes glibc LC_CTYPE errors during locale generation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3661 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1/writev_fix.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.1/writev_fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1/writev_fix.patch b/meta/packages/qemu/qemu-0.9.1/writev_fix.patch new file mode 100644 index 000000000..e0ed4af97 --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1/writev_fix.patch @@ -0,0 +1,17 @@ +--- + linux-user/syscall.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: qemu-0.9.1/linux-user/syscall.c +=================================================================== +--- qemu-0.9.1.orig/linux-user/syscall.c 2008-02-03 00:00:00.000000000 +0000 ++++ qemu-0.9.1/linux-user/syscall.c 2008-02-03 00:00:38.000000000 +0000 +@@ -1048,7 +1048,7 @@ static abi_long lock_iovec(int type, str + base = tswapl(target_vec[i].iov_base); + vec[i].iov_len = tswapl(target_vec[i].iov_len); + vec[i].iov_base = lock_user(type, base, vec[i].iov_len, copy); +- if (!vec[i].iov_base) ++ if (!vec[i].iov_base && vec[i].iov_len) + goto fail; + } + unlock_user (target_vec, target_addr, 0); |