Checkout
kotkov
committed
on 27 Jul 17
Split libsvn_subr/compress.c into three files.

This file contained routines for zlib and LZ4 compression and for general
data encoding, suc… Show more
Split libsvn_subr/compress.c into three files.

This file contained routines for zlib and LZ4 compression and for general

data encoding, such as svn__encode_uint().  It would be better to maintain

all of these three groups separately.

* subversion/libsvn_subr/compress.c

 (svn__encode_uint, svn__encode_int, svn__decode_uint, svn__decode_int):

  Move to encode.c.

 (svn_zlib__compiled_version, svn_zlib__runtime_version,

  svnCompressBound, MIN_COMPRESS_SIZE, zlib_encode, zlib_decode,

  svn__compress_zlib, svn__decompress_zlib): Move to compress_zlib.c.

 (svn__compress_lz4, svn__decompress_lz4): Move to compress_lz4.c.

* subversion/libsvn_subr/encode.c,

 subversion/libsvn_subr/compress_zlib.c,

 subversion/libsvn_subr/compress_lz4.c: New files, copied from compress.c

 to preserve history.

Show less