[xoreos-git] [xoreos/phaethon] a73619: COMMON: Move LZMA decompression into lzma.h

GitHub noreply at github.com
Sun Nov 6 01:21:28 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/phaethon
  Commit: a73619344262a44015ddf3d627423de42ea349c8
      https://github.com/xoreos/phaethon/commit/a73619344262a44015ddf3d627423de42ea349c8
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-06 (Sun, 06 Nov 2016)

  Changed paths:
    M src/aurora/bzffile.cpp
    M src/aurora/bzffile.h
    A src/common/lzma.cpp
    A src/common/lzma.h
    M src/common/rules.mk

  Log Message:
  -----------
  COMMON: Move LZMA decompression into lzma.h


  Commit: 5fef7ba48f610d4ec03321a0159b26a74e3badef
      https://github.com/xoreos/phaethon/commit/5fef7ba48f610d4ec03321a0159b26a74e3badef
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-06 (Sun, 06 Nov 2016)

  Changed paths:
    M src/common/lzma.cpp

  Log Message:
  -----------
  COMMON: Use lower-level liblzma functions to decompress LZMA

The single-call lzma_raw_buffer_decode() function mucks about with the
error code and the stream positions, so we use a raw lzma decoder
stream ourselves. That we, we correctly identify when a compressed
data stream has been truncated.


Compare: https://github.com/xoreos/phaethon/compare/72620ac0dabd...5fef7ba48f61


More information about the xoreos-git mailing list