This commit is contained in:
Francis Beaudet 1999-05-12 10:36:17 +00:00 committed by Alexandre Julliard
parent 01f3dc3eba
commit 9c8198742b
1 changed files with 8 additions and 8 deletions

View File

@ -117,6 +117,14 @@ BigBlockFile * BIGBLOCKFILE_Construct(
This->fileBased = fileBased;
This->flProtect = BIGBLOCKFILE_GetProtectMode(openFlags);
This->blocksize = blocksize;
/* initialize the block list
*/
This->headblock = NULL;
if (This->fileBased)
{
if (!BIGBLOCKFILE_FileInit(This, hFile))
@ -134,14 +142,6 @@ BigBlockFile * BIGBLOCKFILE_Construct(
}
}
This->flProtect = BIGBLOCKFILE_GetProtectMode(openFlags);
This->blocksize = blocksize;
/* initialize the block list
*/
This->headblock = NULL;
return This;
}