#22 ClusterCount not initialized by file_initFile

open
nobody
None
5
2009-02-23
2009-02-23
Jokke
No

ClusterCount remains uninitialized after a file is opened, which sometimes leads to failure to detect need for allocation of new clusters.

Proposed solution:
Add the line:

file->Cache.ClusterCount=0;

in function "file_initFile", in "file.c".

I have tested this solution, with good result.

regards

Discussion

  • Jokke
    Jokke
    2009-02-23

    I saw now that this is fixed (the proposed way) in the 0.2 repository, but not in the 0.2.8 download.