Ticket #2177 (closed defect: fixed)
Shapelib errors should not be fatal!
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5.1 |
| Component: | OGR_SF | Version: | 1.5.0 |
| Severity: | normal | Keywords: | shape |
| Cc: |
Description
In gdal/ogr/ogrsf_frmts/shape/shp_vsi.c this hook should *not* be issuing a CE_Fatal error, just CE_Failure. CE_Fatal triggers an abort() and program termination.
void VSI_SHP_Error( const char *message )
{
CPLError( CE_Fatal, CPLE_AppDefined, "%s", message );
}
Change History
Note: See
TracTickets for help on using
tickets.
