From: <pa...@us...> - 2009-05-23 21:42:17
|
Revision: 2284 http://navit.svn.sourceforge.net/navit/?rev=2284&view=rev Author: pavel Date: 2009-05-23 21:42:14 +0000 (Sat, 23 May 2009) Log Message: ----------- Fix:OSM:Buffer size should not be hardcoded, we have nice #define Modified Paths: -------------- trunk/navit/navit/osm2navit.c Modified: trunk/navit/navit/osm2navit.c =================================================================== --- trunk/navit/navit/osm2navit.c 2009-05-23 21:38:32 UTC (rev 2283) +++ trunk/navit/navit/osm2navit.c 2009-05-23 21:42:14 UTC (rev 2284) @@ -1687,7 +1687,7 @@ static int phase1(FILE *in, FILE *out_ways, FILE *out_nodes, FILE *out_turn_restrictions) { - int size=4096; + int size=BUFFER_SIZE; char buffer[size]; char *p; sig_alrm(0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |