PostGIS  2.1.10dev-r@@SVN_REVISION@@
if ( psSHP->sHooks.FSeek(psSHP->fpSHP, psSHP->panRecOffset[hEntity], 0)!  = 0)

Definition at line 1611 of file shpopen.c.

1612  {
1613  /*
1614  * TODO - mloskot: Consider detailed diagnostics of shape file,
1615  * for example to detect if file is truncated.
1616  */
1617  char str[128];
1618  sprintf( str,
1619  "Error in fseek() reading object from .shp file at offset %u",
1620  psSHP->panRecOffset[hEntity]);
1621 
1622  psSHP->sHooks.Error( str );
1623  return NULL;
1624  }