diff options
| author | Dmitry V. Levin | 2012-08-21 00:13:12 +0200 |
|---|---|---|
| committer | Riku Voipio | 2012-08-27 09:17:30 +0200 |
| commit | 333858b77c2b4f7636257808a77822c58bdd80fe (patch) | |
| tree | 09c5fd3e0c80db779e995ee736355b55908c7552 /linux-user/main.c | |
| parent | linux-user: arg_table need not have global scope (diff) | |
| download | qemu-333858b77c2b4f7636257808a77822c58bdd80fe.tar.gz qemu-333858b77c2b4f7636257808a77822c58bdd80fe.tar.xz qemu-333858b77c2b4f7636257808a77822c58bdd80fe.zip | |
linux-user: fix emulation of getdents
In case when TARGET_ABI_BITS == 32 && HOST_LONG_BITS == 64, the last
byte of the target dirent structure (aka d_type byte) was never copied
from the host dirent structure, thus breaking everything that relies
on valid d_type value, e.g. glob(3).
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions
