diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Handle.cc | 4 | ||||
-rw-r--r-- | lib/Makefile.sol.mingw | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index b894fe2..e3ed198 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -197,10 +197,6 @@ void Handle::close() throw (GeneralException) { if (err == Z_ERRNO) { throw GeneralException(String(_("Error during close: ")) + strerror(errno)); } else { -#ifdef IGNOREZDATAONCLOSE - if (err == Z_DATA_ERROR) - return; -#endif throw GeneralException(String(_("Error in zlib during gzclose: ")) + gzerror(zfile, &err)); } } diff --git a/lib/Makefile.sol.mingw b/lib/Makefile.sol.mingw index 3249192..d4685e5 100644 --- a/lib/Makefile.sol.mingw +++ b/lib/Makefile.sol.mingw @@ -2,7 +2,7 @@ CC = i586-mingw32msvc-gcc CXX = i586-mingw32msvc-g++ AR = i586-mingw32msvc-ar RANLIB = i586-mingw32msvc-ranlib -CPPFLAGS = -I../include -DFORCE64 -O3 -mwindows -D_REENTRANT -I/usr/local/win32/include -I../../extra/regex -DIGNOREZDATAONCLOSE +CPPFLAGS = -I../include -DFORCE64 -O3 -mwindows -D_REENTRANT -I/usr/local/win32/include -I../../extra/regex OBJECTS = Buffer.o Exceptions.o Handle.o Image.o Input.o Main.o Output.o \ Regex.o String.o checkargs.o datecalc.o fileutils.o generic.o TARGET = Baltisot-sol.a |