Message293859
In configure.ac, HAVE_LARGEFILE_SUPPORT is defined if (off_t > long && longlong >= off_t) and thus, when it is not defined, it means that off_t <= long (since longlong < off_t is false) so an off_t should fit into a long. But on Android the size of off_t is different from the size of ino_t so one cannot use the value of HAVE_LARGEFILE_SUPPORT to know if an ino_t would fit into an unsigned long.
On Android architecture 'x86' at api level 21:
sizeof(st->st_ino) = 8
and from the output of configure:
checking size of off_t... 4
checking size of long... 4
checking size of long long... 8 |
|
Date |
User |
Action |
Args |
2017-05-17 16:11:47 | xdegaye | set | recipients:
+ xdegaye, vstinner, serhiy.storchaka, eryksun, steve.dower, xiang.zhang, mba |
2017-05-17 16:11:47 | xdegaye | set | messageid: <1495037507.22.0.968926425269.issue29619@psf.upfronthosting.co.za> |
2017-05-17 16:11:47 | xdegaye | link | issue29619 messages |
2017-05-17 16:11:46 | xdegaye | create | |
|