commit | f6a4ccf22bb35ebc810d872676354def9c37bee1 | [log] [tgz] |
---|---|---|
author | Craig A. Berry <craigberry@mac.com> | Sat Mar 12 18:32:21 2016 -0600 |
committer | Alexander Lamaison <alexander.lamaison@gmail.com> | Tue Mar 15 21:56:47 2016 +0000 |
tree | fe0c526b575e64c939f5d117ada5f68ecf725533 | |
parent | 0268b974a76fdd32d4c08fee702b980dde9834a8 [diff] |
VMS can't use %zd for off_t format. %z is a C99-ism that VMS doesn't currently have; even though the compiler is C99-compliant, the library isn't quite. The off_t used for the st_size element of the stat can be 32-bit or 64-bit, so detect what we've got and pick a format accordingly.