init git
Merge remote branch '360/master'
Merge remote branch 'upstream/master'
Fix build failure.
error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
Apply recent changs in libarvhie/test/main.c to {tar,cpio,cat}/test/main.c for keeping maintenacebility.
Add bsdcat_test.log and bsdcat_test.trs to .gitignore.
Add a test utility function, copy_reference_file simply coping
a sample file to the current directory of a running test.
A uudecode filter test will use it for its new test.

TODO: make a symbolic link file insted of copying a sample file.
Historically, libarchive cannot handle uuencoded files when
libarchive's test suit was made. Now libarchive can handle it
directly by uudecode filter, I think, we can reduce copying
sample files to the directory test program expects they are
on an isolated directory for their test.
Fix a bug which uudecode filter wrongly decoded the uuencoded data
which size was more than 64K bytes.
Fix builid failure on FreeBSD 10.
On FreeBSD 10, ENOTSUP and EOPNOTSUPP are the same value,
so it cannot be used in the same switch statement.
Fix build failure on Ubuntu.
Fix test_compat_mac failure on non-mac OS X platform.
It requries an option 'mac-ext' to pass the test
since commit 95e0b3a4f.
Add support for lz4 read filter.
TODO: detecting liblz4 library by CMake.
Properly set buffer,offset and size when lha format reader returns
ARCHIVE_WAR by getting CRC error.o
Fix a bug in lha read format.
The bug was it could not correctly extract the compressed data
which had just one repated pattern.
Add a test for a bug fix of lha reader.
Fix dead store which Clang Static Analyser pointed out,
and some style changes. No functional changes.
Fix garbag return value which Clang Static Analyser pointed out.
Plug memory leaks which Clang Static Analyser pointed out.
Fix dereference of null pointer which Clang Static Analyser pointed out.
Style fix. space -> tab.