summaryrefslogtreecommitdiffstats
path: root/linux-user/cpu_loop-common.h
diff options
context:
space:
mode:
authorLaurent Vivier2018-11-13 18:54:37 +0100
committerAlex Bennée2018-11-14 12:07:06 +0100
commit1f442da51e088160e892c4e059c154eec3f058c5 (patch)
treedc3ba647bfbb07de403e005536d2afae2fce7d47 /linux-user/cpu_loop-common.h
parent.travis.yml: split MacOSX builds and reduce target list (diff)
downloadqemu-1f442da51e088160e892c4e059c154eec3f058c5.tar.gz
qemu-1f442da51e088160e892c4e059c154eec3f058c5.tar.xz
qemu-1f442da51e088160e892c4e059c154eec3f058c5.zip
tests/tcg/multiarch: fix 32bit linux-test on 64bit host
Fix: TEST linux-test on i386 .../tests/tcg/multiarch/linux-test.c:201: readdir readdir() calls getdents64() to have the list of the entries in a directory, and getdents64() can return 64bit d_off values (with ext4, for instance) that will not fit in the 32bit d_off field of the readdir() dirent structure. To avoid that, use readdir64() to use a 64bit d_off field too. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'linux-user/cpu_loop-common.h')
0 files changed, 0 insertions, 0 deletions