Branch: Tag:

2009-08-30

2009-08-30 15:58:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Missed one place...

Rev: src/modules/Gz/zlibmod.c:1.88

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: zlibmod.c,v 1.87 2009/08/30 13:44:15 grubba Exp $ + || $Id: zlibmod.c,v 1.88 2009/08/30 15:58:54 grubba Exp $   */      #include "global.h"
652:    int flush)   {    int fail=0; -  ONERROR uwp; +     -  + #ifdef _REENTRANT +  ONERROR uwp;    THREADS_ALLOW();    mt_lock(& this->lock);    THREADS_DISALLOW();    SET_ONERROR (uwp, do_mt_unlock, &this->lock); -  + #endif       if(!this->gz.state)    {
708:    } while(!this->gz.avail_out || flush==Z_FINISH || this->gz.avail_in);    }    + #ifdef _REENTRANT    CALL_AND_UNSET_ONERROR (uwp); -  + #endif    return fail;   }