|
From: Danny B. <dan...@us...> - 2009-03-15 07:49:55
|
Update of /cvsroot/roadmap/roadmap/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11853 Modified Files: buildmap_line.c buildmap_osm_main.c Log Message: Change a test slightly. Add 2009 copyright. Test for 0 pointer before using it. Index: buildmap_line.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/buildmap_line.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** buildmap_line.c 14 Mar 2009 16:10:22 -0000 1.17 --- buildmap_line.c 15 Mar 2009 07:49:46 -0000 1.18 *************** *** 1003,1007 **** old = nalloc_line_by_point; ! if (nalloc_line_by_point < point) { nalloc_line_by_point = point + ALLOC_POINTS; lbp = (struct lbp *) realloc((void *)lbp, --- 1003,1007 ---- old = nalloc_line_by_point; ! if (nalloc_line_by_point <= point) { nalloc_line_by_point = point + ALLOC_POINTS; lbp = (struct lbp *) realloc((void *)lbp, Index: buildmap_osm_main.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/buildmap_osm_main.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** buildmap_osm_main.c 14 Mar 2009 16:10:21 -0000 1.15 --- buildmap_osm_main.c 15 Mar 2009 07:49:46 -0000 1.16 *************** *** 3,7 **** * * Copyright 2007 Paul G. Fox ! * Copyright (c) 2008, Danny Backx * * This file is part of RoadMap. --- 3,7 ---- * * Copyright 2007 Paul G. Fox ! * Copyright (c) 2008, 2009, Danny Backx * * This file is part of RoadMap. |