pike.git / src / modules / Gz / zlibmod.c

version» Context lines:

pike.git/src/modules/Gz/zlibmod.c:285:    break;       default:    if(THIS->gz.msg)    Pike_error("Failed to initialize Gz.deflate: %s\n",THIS->gz.msg);    else    Pike_error("Failed to initialize Gz.deflate (%d).\n", tmp);    }   }    - /*! @decl Gz.deflate clone() -  *! -  *! Clones the deflate object. Typically used to test compression -  *! of new content using the same exact state. -  *! + #if 0 + /* @decl Gz.deflate clone() +  * +  * Clones the deflate object. Typically used to test compression +  * of new content using the same exact state. +  *    */   static void gz_deflate_clone(INT32 args) {    int tmp;    struct object *ob = low_clone(deflate_program);    struct zipper *clone = get_storage(ob, deflate_program);       clone->level = THIS->level;    clone->state = THIS->state;       push_object(ob);
pike.git/src/modules/Gz/zlibmod.c:316:    Pike_error ("Out of memory while cloning Gz.deflate.\n");    break;       default:    if(THIS->gz.msg)    Pike_error("Failed to clone Gz.deflate: %s\n",THIS->gz.msg);    else    Pike_error("Failed to clone Gz.deflate (%d).\n", tmp);    }   } + #endif      #ifdef _REENTRANT   static void do_mt_unlock (PIKE_MUTEX_T *lock)   {    mt_unlock (lock);   }   #endif      static int do_deflate(dynamic_buffer *buf,    struct zipper *this,