Opened 11 years ago

Closed 11 years ago

#360 closed defect/bug (fixed)

osm2navit producing zip file error (+ Windows problem)

Reported by: Stressedpiper Owned by: KaZeR
Priority: major Milestone:
Component: tools Version: git master
Severity: Keywords:
Cc:

Description

osm2navit is writing an incorrect total number of entries in the central directory for the ZIP end-of-cd record. This is due to an apparent double counting in phase5().

Also, there are missing binary flags in fopen() calls. Binary flags are needed to ensure Windows compatibility.

Possible fix attached. Will need to be checked for Linux. NB, also included "Australia".

Attachments (1)

osm2navit.c.diff (1.6 KB) - added by Stressedpiper 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Stressedpiper

comment:1 Changed 11 years ago by Stressedpiper

  • Component changed from core to tools

comment:2 Changed 11 years ago by Singesang

  • Resolution set to fixed
  • Status changed from new to closed

applied in r2214. thx

Note: See TracTickets for help on using tickets.