[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 980417: Large file netCDF bug?




>To: address@hidden
>From: address@hidden (Tom Umeda)
>Subject: Large file netCDF bug?
>Organization: .
>Keywords: 199804170434.WAA07033
>
> I have installed the large-file netCDF 3.4 on Solaris 2.6 system
> and may have encounter a bug in "posixio.c" where the statement:
>
>        assert(offset < X_INT_MAX);
>
> is used(2 places).  In the large-file configuration offset is a 64 bit word
> whereas X_INT_MAX remains set to the maximum of a 32 bit word, 2147483647.
>
> Tom Umeda

Tom:

Thanks for pointing this out.
We will correct these for next release.
For now, compile with the assertions off using -DNDEBUG, or
eliminate the offending assertions.

-glenn