mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Merge branch '17_64BIT_DATA_bug' of https://github.com/pastewka/netcdf-c into tmp
This commit is contained in:
commit
290ca69a70
@ -1220,7 +1220,8 @@ NC_computeshapes(NC3_INFO* ncp)
|
||||
if(first_rec == NULL)
|
||||
first_rec = *vpp;
|
||||
if((*vpp)->len == UINT32_MAX &&
|
||||
fIsSet(ncp->flags, NC_64BIT_OFFSET)) /* Flag for large last record */
|
||||
(fIsSet(ncp->flags, NC_64BIT_OFFSET) ||
|
||||
fIsSet(ncp->flags, NC_64BIT_DATA))) /* Flag for large last record */
|
||||
ncp->recsize += (*vpp)->dsizes[0] * (*vpp)->xsz;
|
||||
else
|
||||
ncp->recsize += (*vpp)->len;
|
||||
|
Loading…
Reference in New Issue
Block a user