PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ if() [10/10]

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

Definition at line 1968 of file shpopen.c.

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

References SHPLIB_NULLPTR, and str.