PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ if() [3/10]

Definition at line 2010 of file shpopen.c.

2011 {
2012 /*
2013 * TODO - mloskot: Consider detailed diagnostics of shape file,
2014 * for example to detect if file is truncated.
2015 */
2016 char str[128];
2017 snprintf( str, sizeof(str),
2018 "Error in fread() reading object of size %d at offset %u from .shp file",
2019 nEntitySize, psSHP->panRecOffset[hEntity] );
2020 str[sizeof(str)-1] = '\0';
2021
2022 psSHP->sHooks.Error( str );
2023 return SHPLIB_NULLPTR;
2024 }
#define str(s)
nEntitySize
Definition shpopen.c:1897
#define SHPLIB_NULLPTR
Definition shpopen.c:101

References nEntitySize, SHPLIB_NULLPTR, and str.