You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defl_static.h: Add license blurb.
These can be considered to be "automatically generated metadata", and
also were changed in noticeable ways comparing to original Simon Tatham's
code, so not trying to make a claim that these are copyright by him.
Instead, just use the generic copyright notice and the license of the
uzlib project.
tinflate: Explicitly get length/invlength as little-endian.
Previosuly, the statements looked like:
length = uzlib_get_byte(d) + 256 * uzlib_get_byte(d);
But the C standard doesn't define in which order function calls are made,
and different compilers/their options may use different order. So, break
the statement above in two, to guarantee the proper computation order.
Reported in #8.