PostGIS
3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
◆
if()
[10/10]
if
(
psSHP->sHooks.FSeek(psSHP->fpSHP, psSHP->panRecOffset[hEntity], 0) !
=
0
)
Definition at line
1977
of file
shpopen.c
.
1978
{
1979
/*
1980
* TODO - mloskot: Consider detailed diagnostics of shape file,
1981
* for example to detect if file is truncated.
1982
*/
1983
char
str
[128];
1984
snprintf(
str
,
sizeof
(
str
),
1985
"Error in fseek() reading object from .shp file at offset %u"
,
1986
psSHP->panRecOffset[hEntity]);
1987
str
[
sizeof
(
str
)-1] =
'\0'
;
1988
1989
psSHP->sHooks.Error(
str
);
1990
return
SHPLIB_NULLPTR
;
1991
}
str
#define str(s)
Definition
lwgeom_functions_basic.c:44
SHPLIB_NULLPTR
#define SHPLIB_NULLPTR
Definition
shpopen.c:101
References
SHPLIB_NULLPTR
, and
str
.
loader
shpopen.c
Generated by
1.9.8