This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Better selection of homegrown ino_t in vmsish.h.
authorCraig A. Berry <craigberry@mac.com>
Sat, 9 Dec 2017 14:54:39 +0000 (08:54 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sat, 9 Dec 2017 15:25:38 +0000 (09:25 -0600)
commited55dc190542e7407287d08246600d9232656f01
treec1f75441ae7bb83a94bf08d52de6a6041482c54e
parent9a3c92872991415ec8cb2977e94b735767207cfa
Better selection of homegrown ino_t in vmsish.h.

We had been using a 64-bit definition of myino_t only when
_LARGEFILE is defined, but we actually get large file support via
either _LARGEFILE or _USE_STD_STAT because both give us 64-bit
off_t, so look at both definitions.

The size of off_t is not any great indicator for the size of
ino_t, but this preserves the intent of the existing code.

TODO: figure out when _USE_STD_STAT became available; it's
possible we no longer need this hackish layer on top of the
stat struct.
vms/vmsish.h