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

◆ if() [10/10]

if ( psSHP->sHooks.FSeek(psSHP->fpSHP, psSHP->panRecOffset[hEntity], 0) !  = 0)

Definition at line 1966 of file shpopen.c.

1967 {
1968 /*
1969 * TODO - mloskot: Consider detailed diagnostics of shape file,
1970 * for example to detect if file is truncated.
1971 */
1972 char str[128];
1973 snprintf( str, sizeof(str),
1974 "Error in fseek() reading object from .shp file at offset %u",
1975 psSHP->panRecOffset[hEntity]);
1976 str[sizeof(str)-1] = '\0';
1977
1978 psSHP->sHooks.Error( str );
1979 return SHPLIB_NULLPTR;
1980 }
#define str(s)
#define SHPLIB_NULLPTR
Definition shpopen.c:101

References SHPLIB_NULLPTR, and str.