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.5 2002/11/25 11:18:14 grubba Exp $ + // $Id: module.pmod.in,v 1.6 2002/11/25 11:51:51 grubba Exp $   #pike __REAL_VERSION__      inherit @module@;    -  + #if constant(@module@._file)      //! Allows the user to open a Gzip archive and read and write   //! it's contents in an uncompressed form, emulating the @[Stdio.File]   //! interface.   //! @note   //! An important limitation on this class is that it may only be used   //! for reading @b{or@} writing, not both at the same time.   //! Please also note that if you want to reopen a file for reading   //! after a write, you must close the file before calling open or   //! strange effects might be the result.
pike.git/src/modules/Gz/module.pmod.in:97:       if (!zero_type(length))    return ::read(length);    else    while(!eof()) {    ret += ::read(1024*64);    }    return ret;    }   } +  + #endif /* constant(@module@._file) */