Ticket #157 (closed defect: fixed)

Opened 13 months ago

Last modified 11 months ago

nad2bin: big-endian ctable2 file format generation broken.

Reported by: rroliver Owned by: warmerdam
Priority: critical Milestone:
Component: CommandlineUtilities Version: Development (trunk)
Keywords: nad2bin ctable2 big-endian Cc:

Description

Generation of ctable2 format on big-endian systems is broken as only half of the shift values get byte swapped.

Assume it was forgotten to multiply lim.lam * 2 for the two floats per entry...

Patch attached

Attachments

proj-4.8.0-fix_nad2bin_ctable2_bigendian-1.patch Download (0.9 KB) - added by rroliver 13 months ago.
Fix ctable2 file format generation on big-endian systems

Change History

Changed 13 months ago by rroliver

Fix ctable2 file format generation on big-endian systems

Changed 11 months ago by rroliver

Bump

Still broken in trunk on bigendian (sparc) and still generating incorrect files during the build.

Patch in this ticket still fixes it...

Changed 11 months ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed

Patch applied in trunk (r2225) - thanks and sorry for the delay.

Note: See TracTickets for help on using tickets.