File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2447,12 +2447,13 @@ struct Map_info *QgsGrass::vectNewMapStruct()
2447
2447
// In OSGeo4W there is GRASS compiled by MinGW while QGIS compiled by MSVC, the compilers
2448
2448
// may have different sizes of types, see issue #13002. Because there is no Vect_new_map_struct (GRASS 7.0.0, July 2015)
2449
2449
// the structure is allocated here using doubled (should be enough) space.
2450
+
2451
+ // The same problem was also reported for QGIS 2.11-master compiled on Xubuntu 14.04 LTS
2452
+ // using GRASS 7.0.1-2~ubuntu14.04.1 from https://launchpad.net/~grass/+archive/ubuntu/grass-stable
2453
+ // -> allocate more space on all systems
2454
+
2450
2455
// TODO: replace by Vect_new_map_struct once it appears in GRASS
2451
- #ifdef Q_OS_WIN
2452
2456
return ( struct Map_info * ) qgsMalloc ( 2 *sizeof ( struct Map_info ) );
2453
- #else
2454
- return ( struct Map_info * ) qgsMalloc ( sizeof ( struct Map_info ) );
2455
- #endif
2456
2457
}
2457
2458
2458
2459
void QgsGrass::vectDestroyMapStruct ( struct Map_info *map )
You can’t perform that action at this time.
0 commit comments