commit | 333858b77c2b4f7636257808a77822c58bdd80fe | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Aug 21 02:13:12 2012 +0400 |
committer | Riku Voipio <riku.voipio@linaro.org> | Mon Aug 27 10:17:30 2012 +0300 |
tree | 09c5fd3e0c80db779e995ee736355b55908c7552 | |
parent | 42644cee08f85202f5d3e8babf6503487849353a [diff] |
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>