On Sat, Apr 25, 2015 at 04:53:33AM -0400, Matt Whitlock wrote: > This solves some of the problems arising from Bionic's off_t being > 32 bits wide despite _FILE_OFFSET_BITS==64. See BusyBox bug #6908. > > Note that this doesn't solve all such problems since Bionic lacks > 64-bit variants of many standard I/O functions: open, creat, lockf, > posix_fadvise, posix_fallocate, truncate, sendfile, getrlimit, > setrlimit, fopen, freopen, fseeko, ftello, fgetpos, fsetpos, > mkstemp.
As long as that's the case, I think this approach of trying to fake 64-bit off_t on Bionic is dangerous and probably best omitted. IMO we should either be pushing for Bionic to fix these things or sticking with 32-bit off_t on Bionic and treating that as a limitation of the platform. Rich _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
