Definition at line 258 of file dbfopen.c.
262 if (psDBF->bCurrentRecordModified && psDBF->nCurrentRecord > -1)
264 psDBF->bCurrentRecordModified =
FALSE;
266 nRecordOffset = psDBF->nRecordLength * (
SAOffset)psDBF->nCurrentRecord + psDBF->nHeaderLength;
268 if (psDBF->sHooks.FSeek(psDBF->fp, nRecordOffset, 0) != 0 ||
269 psDBF->sHooks.FWrite(psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp) != 1)
272 sprintf(szMessage,
"Failure writing DBF record %d.", psDBF->nCurrentRecord);
273 psDBF->sHooks.Error(szMessage);
if(!DBFLoadRecord(psDBF, hEntity)) return NULL
References FALSE, if(), and TRUE.
Referenced by DBFAddNativeFieldType(), DBFAlterFieldDefn(), DBFClose(), DBFLoadRecord(), DBFReorderFields(), DBFUpdateHeader(), DBFWriteAttribute(), DBFWriteAttributeDirectly(), and DBFWriteTuple().