/* Decompresses in into buf, sets *ptr to the data, and returns the
* uncompressed length. If an error has occured, -1 is returned and errno is
* set. The buffer buf is automatically reallocated. SIGSEGV is caught in
* case of buffer-overflow. The function is not re-entrant because of a
* static longjmp handler. */
{
/* Decompresses in into buf, sets *ptr to the data, and returns the
* uncompressed length. If an error has occured, -1 is returned and errno is
* set. The buffer buf is automatically reallocated. SIGSEGV is caught in
* case of buffer-overflow. The function is not re-entrant because of a
* static longjmp handler. */
{