[Issue 24579] stat_t has wrong size for Android armv7a

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 15 22:32:23 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24579

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16588 "Fix bugzilla 24579 - stat_t has wrong size for
Android armv7a" was merged into master:

- 19291e62918d646cd2cefb663b4be8beb4667e29 by Tim Schendekehl:
  Fix bugzilla 24579 - stat_t has wrong size for Android armv7a

  Offsets in stat_t and dirent are 64-bit on Android, but 32-bit
  for most other types on 32-bit architectures.

  For comparison the headers can be seen here:
 
https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/include/sys/stat.h
 
https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/include/dirent.h

  DMD does not support armv7a and does not run tests on Android. I have
  only tested this patch with LDC for Android armv7a.

https://github.com/dlang/dmd/pull/16588

--


More information about the Digitalmars-d-bugs mailing list