Message35702
Rather than introducing a new method, why not just add an optional maxlen argument to .decompress(). I think the changes would be:
* add 'int maxlen=-1;'
* add "...|i" ... ,&maxlen to the argument parsing
* if maxlen != -1, length = maxlen else length = DEFAULTALLOC;
* Add '&& maxlen==-1' to the while loop. (Use the current CVS; I just checked in a patch rearranging the zlib module a bit.)
Do you want to make those changes and resubmit the patch?
|
|
Date |
User |
Action |
Args |
2007-08-23 15:03:47 | admin | link | issue403753 messages |
2007-08-23 15:03:47 | admin | create | |
|