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.1 2002/11/24 21:06:09 agehall Exp $ + // $Id: module.pmod.in,v 1.2 2002/11/24 21:58:24 agehall Exp $   #pike __REAL_VERSION__      inherit @module@;            //! 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
pike.git/src/modules/Gz/module.pmod.in:28:    //! @[open] @[Stdio.File]    void create(mixed ... args) {    ::create();       if(sizeof(args))    open(@args);    }       string _sprintf()    { -  return sprintf("GZipFile(/*%s open */)", is_open ? "" : " not"); +  return sprintf("Gz.File(/*%s open */)", is_open ? "" : " not");    }       int close()    {    is_open = 0;    return ::close();    }       void destroy() {    close();