Bug fix.
This commit is contained in:
parent
01f3dc3eba
commit
9c8198742b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue