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