9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.6k stars 318 forks source link

O_LARGEFILE workaround broken on aarch64 #619

Open leahneukirchen opened 1 year ago

leahneukirchen commented 1 year ago

In https://github.com/9fans/plan9port/pull/4 the workaround was disabled for 32-bit ARM, but for example the same wrong value is still used on 64-bit ARM.

Also the guard should use __GLIBC__ instead of __linux__ as other libc properly provide O_LARGEFILE.