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

◆ if() [3/10]

Definition at line 2021 of file shpopen.c.

2022 {
2023 /*
2024 * TODO - mloskot: Consider detailed diagnostics of shape file,
2025 * for example to detect if file is truncated.
2026 */
2027 char str[128];
2028 snprintf( str, sizeof(str),
2029 "Error in fread() reading object of size %d at offset %u from .shp file",
2030 nEntitySize, psSHP->panRecOffset[hEntity] );
2031 str[sizeof(str)-1] = '\0';
2032
2033 psSHP->sHooks.Error( str );
2034 return SHPLIB_NULLPTR;
2035 }
#define str(s)
nEntitySize
Definition shpopen.c:1908
#define SHPLIB_NULLPTR
Definition shpopen.c:101

References nEntitySize, SHPLIB_NULLPTR, and str.