*** ./makefile.ORIG Mon Oct 8 15:35:36 2018 --- ./makefile Mon Oct 8 15:37:06 2018 *************** *** 2,15 **** # Makefile for UNIX - unrar # Linux using GCC ! CXX=c++ ! CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else ! LIBFLAGS=-fPIC ! DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP ! STRIP=strip ! AR=ar ! LDFLAGS=-pthread ! DESTDIR=/usr # Linux using LCC #CXX=lcc --- 2,15 ---- # Makefile for UNIX - unrar # Linux using GCC ! #CXX=c++ ! #CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else ! #LIBFLAGS=-fPIC ! #DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP ! #STRIP=strip ! #AR=ar ! #LDFLAGS=-pthread ! #DESTDIR=/usr # Linux using LCC #CXX=lcc *************** *** 54,66 **** #DESTDIR=/usr # AIX using xlC (IBM VisualAge C++ 5.0) ! #CXX=xlC ! #CXXFLAGS=-O -qinline -qro -qroconst -qmaxmem=16384 -qcpluscmt ! #DEFINES=-D_LARGE_FILES -D_LARGE_FILE_API ! #LIBS=-lbsd ! #STRIP=strip ! #AR=ar ! #DESTDIR=/usr # Solaris using CC #CXX=CC --- 54,66 ---- #DESTDIR=/usr # AIX using xlC (IBM VisualAge C++ 5.0) ! CXX=xlC_r ! CXXFLAGS=-O3 -qstrict -qinline -qro -qroconst -qmaxmem=262144 -qcpluscmt ! DEFINES=-D_LARGE_FILES -D_LARGE_FILE_API ! LIBS=-lbsd ! STRIP=strip ! AR=ar ! DESTDIR=/opt/freeware # Solaris using CC #CXX=CC *************** *** 140,146 **** clean: @rm -f *.o *.bak *~ ! unrar: clean $(OBJECTS) $(UNRAR_OBJ) @rm -f unrar $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) $(STRIP) unrar --- 140,146 ---- clean: @rm -f *.o *.bak *~ ! unrar: $(OBJECTS) $(UNRAR_OBJ) @rm -f unrar $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) $(STRIP) unrar *** ./qopen.hpp.ORIG Mon May 27 22:22:31 2019 --- ./qopen.hpp Mon May 27 22:23:12 2019 *************** *** 13,18 **** --- 13,20 ---- class Archive; class RawRead; + #define MaxBufSize 0x10000 // Must be multiple of CRYPT_BLOCK_SIZE. + class QuickOpen { private: *************** *** 30,36 **** QuickOpenItem *ListEnd; byte *Buf; // Read quick open data here. ! static const size_t MaxBufSize=0x10000; // Buf size, must be multiple of CRYPT_BLOCK_SIZE. size_t CurBufSize; // Current size of buffered data in write mode. #ifndef RAR_NOCRYPT // For shell extension. CryptData Crypt; --- 32,38 ---- QuickOpenItem *ListEnd; byte *Buf; // Read quick open data here. ! // static const size_t MaxBufSize=0x10000; // Buf size, must be multiple of CRYPT_BLOCK_SIZE. size_t CurBufSize; // Current size of buffered data in write mode. #ifndef RAR_NOCRYPT // For shell extension. CryptData Crypt;