Search
9:22:45
Shinmera
Can someone tell me what this is supposed to do? https://github.com/pfalcon/uzlib/blob/master/src/tinflate.c#L529-L538
9:22:46
Colleen
github.com/pfalcon/uzlib/bl... Website (HTML), Title: uzlib/tinflate.c at master · pfalcon/uzlib · GitHub
9:23:04
Shinmera
Wouldn't d->dest - data always return 0 because data is just d->dest, or am I missing something about stupid C tricks again
9:29:57
Shinmera
The code base is pretty horrid. Keeps using shit like post/pre increment in lvalue positions
9:30:10
Shinmera
well, lvalue and rvalue
9:30:41
Shinmera
Oh wait, I understand now
9:31:05
Shinmera
it relies on uzlib_uncompress changing d->dest and it uses the difference to calculate the length of newly processed data