IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Ticket #1378


Ignore:
Timestamp:
Jun 6, 2010, 4:06:44 PM (16 years ago)
Author:
eugene
Comment:

This issue is caused by the difficulty of printing/scanning data of off_t type. Since the off_t type can vary in size between systems, a single print format cannot be used. This specific issue was driven by the inappropriate use of casting to get around this problem -- the casting sometimes violated optimization rules.

This issue has been addressed by reworking the code to use an implementation-dependent print format code 'OFF_T_FMT', which depends on the state of the LARGEFILE configuration. This macro is sometimes set of %ld and sometimes to %jd (appropriate for intmax_t).

fix is on the trunk in r28241

Legend:

Unmodified
Added
Removed
Modified