pike.git / src / modules / Gz / module.pmod.in

version» Context lines:

pike.git/src/modules/Gz/module.pmod.in:1: - // $Id: module.pmod.in,v 1.18 2008/07/13 13:53:46 marcus Exp $ + // -*- pike -*- + // $Id: module.pmod.in,v 1.19 2008/11/12 14:57:44 mast Exp $   #pike __REAL_VERSION__    -  + #if constant(@module@) +    inherit @module@;    - #if constant(@module@.inflate) -  +    //! Low-level implementation of read/write support for GZip files   class _file {       protected private Stdio.Stream f;    protected private inflate inf;    protected private deflate def;    protected private int level, strategy;    protected private string read_buf;    protected private int file_pos, crc, write_mode, at_eof;   
pike.git/src/modules/Gz/module.pmod.in:404:    String.Buffer buf = String.Buffer();    string data;    do {    if (!(data = ::read(1024*64))) break;    buf->add(data);    } while (sizeof(data));    return (string)buf;    }   }    - #endif // constant(@module@.inflate) + #else + constant this_program_does_not_exist = 1; + #endif // constant(@module@)