• Armin Le Grand's avatar
    profilesafe: Collect copies in single *.pack file · 7db23b63
    Armin Le Grand yazdı
    Enhanced helper classes for BackupFileHelper to
    allow writing a stack of rescued last valid
    configuration files to a single file package.
    Added configuration values for enabling this and
    defining the number of entries, added max entry
    limitation. Using FileSize and CRC32 now to dectect
    if config file did change. To make this work I added
    sorting to writing the configuration so that with no
    change the same configuration file is written.
    Use std::vector for better mem performance for sorting,
    defined static const for buffer size of manipulation,
    prepare inflate/deflate usages. Fixes to setPos, warnings
    
    Change-Id: Ib286e2a3f25b0085a1e3ae4f50c9ff1ff3a5dcf5
    7db23b63
components.cxx 30.8 KB