"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/7zip/Archive/7z/7zHandler.cpp" between
p7zip_15.14.1_src_all.tar.gz and p7zip_16.02_src_all.tar.gz

About: p7zip is a command-line file archiver with a high compression ratio (a port of the Windows program 7za.exe).

7zHandler.cpp  (p7zip_15.14.1_src_all):7zHandler.cpp  (p7zip_16.02_src_all)
skipping to change at line 432 skipping to change at line 432
if (lp != 0) dest = AddProp32(dest, "lp", lp); if (lp != 0) dest = AddProp32(dest, "lp", lp);
if (pb != 2) dest = AddProp32(dest, "pb", pb); if (pb != 2) dest = AddProp32(dest, "pb", pb);
} }
} }
} }
else if (id == k_LZMA2) else if (id == k_LZMA2)
{ {
name = "LZMA2"; name = "LZMA2";
if (propsSize == 1) if (propsSize == 1)
{ {
Byte p = props[0]; Byte d = props[0];
if ((p & 1) == 0) if ((d & 1) == 0)
ConvertUInt32ToString((UInt32)((p >> 1) + 12), s); ConvertUInt32ToString((UInt32)((d >> 1) + 12), s);
else else
GetStringForSizeValue(s, 3 << ((p >> 1) + 11)); GetStringForSizeValue(s, 3 << ((d >> 1) + 11));
} }
} }
else if (id == k_PPMD) else if (id == k_PPMD)
{ {
name = "PPMD"; name = "PPMD";
if (propsSize == 5) if (propsSize == 5)
{ {
Byte order = *props; Byte order = *props;
char *dest = s; char *dest = s;
*dest++ = 'o'; *dest++ = 'o';
 End of changes. 2 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS