Laurent Vivier 1f442da51e 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>
2018-11-14 11:07:06 +00:00
..
2018-02-22 15:44:07 -08:00
2018-03-21 15:13:40 +01:00
2018-08-16 09:50:54 +01:00
2018-10-02 18:47:55 +02:00
2018-10-09 13:44:12 +02:00
2018-08-16 09:50:54 +01:00
2018-08-31 09:53:10 +02:00
2018-02-08 09:22:03 +08:00
2018-08-31 09:53:10 +02:00
2018-08-23 18:46:25 +02:00
2017-12-20 22:01:24 +08:00