* For conditions of distribution and use, see copyright notice in zlib.h
*/
-#ifndef OLD_GZIO
-
#include "gzguts.h"
/* gzclose() is in a separate file so that it is linked in only if it is used.
gz_statep state;
if (file == NULL)
- return EOF;
+ return Z_STREAM_ERROR;
state = (gz_statep)file;
return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
return gzclose_r(file);
#endif
}
-
-#endif /* !OLD_GZIO */