[fpc-pascal] Don't understand Zipper.DoEndOfFile/UnZipper.DoEndOfFile

Reinier Olislagers reinierolislagers at gmail.com
Wed Aug 15 13:58:43 CEST 2012


On 15-8-2012 13:48, Michael Van Canneyt wrote:
> On Wed, 15 Aug 2012, Reinier Olislagers wrote:
> 
>> I've been working on documenting the Zipper/Unzipper classes:
>> packages\paszlib\src\zipper.pp
>> Now looking at the protected procedure TZipper/TUnzipper.DoEndOfFile
>>
>> They apparently update compression percentage statistics and call a user
>> defined callback (if any, defined in OnEndOfFile)
>>
>> I don't understand though by whom/if they are called? A grep through the
>> source code showed nothing referencing it.
> 
> The calls to these routines must have fallen out during some
> refactoring. They should be called when the zip/unzip operation is done.
Ok, just for confirmation: done after each file in the list - as
oppposed to the zip/unzip operation on the entire zip file, right?

I'll have a look through the history to see if I can find it and write
up a patch.

Thanks,
Reinier



More information about the fpc-pascal mailing list