The R Project SVN R

Rev

Rev 77674 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 77674 Rev 84891
Line 556... Line 556...
556
 
556
 
557
static void
557
static void
558
R_zlib_free(voidpf ptr, voidpf addr) {}
558
R_zlib_free(voidpf ptr, voidpf addr) {}
559
*/
559
*/
560
 
560
 
-
 
561
#ifndef HAVE_LIBDEFLATE
561
/* added in 4.0.0, modified from uncompress[2] */
562
/* added in 4.0.0, modified from uncompress[2] */
562
static int
563
static int
563
R_uncompress(Bytef *dest, uLong *destLen, Bytef *source, uLong sourceLen,
564
R_uncompress(Bytef *dest, uLong *destLen, Bytef *source, uLong sourceLen,
564
	     int opt)
565
	     int opt)
565
{
566
{
Line 599... Line 600...
599
 
600
 
600
    *destLen = stream.total_out;
601
    *destLen = stream.total_out;
601
    inflateEnd(&stream);
602
    inflateEnd(&stream);
602
    return err;
603
    return err;
603
}
604
}
-
 
605
#endif