Matt Turner
8b9a198d86
Avoid unaligned accesses
...
Architectures like SPARC do not allow unaligned accesses. Avoid them by
memcpy()ing the data to an aligned buffer. On x86 systems where
unaligned loads are fast, the memcpy() will be compiled away and the
same code generated as before.
5 years ago
Dave Vasilevsky
00e62fe45a
Merge pull request #77 from steini2000/master
...
fix decompressing files >4gb on 32bit systems
5 years ago
Dave Vasilevsky
a2d9b67f40
Merge pull request #78 from clandmeter/bashism
...
use posix shell for tests
5 years ago
Carlo Landmeter
e33f9a5454
use posix shell for tests
6 years ago
steini2000
26e4b77b9e
fix decompressing files >4gb on 32bit systems
...
On 32bit systems, size_t is only 32bit and overflows on file size >4GB.
6 years ago
Christian Krause
4f079c33a2
update travis instructions
...
This now uses the faster, docker-based infrastructure of Travis.
7 years ago
Philipp Kern
943932c0e8
Fix an off-by-one error that causes memory corruption.
...
We read up to bsize bytes from gInFile, so allocate as much memory.
7 years ago
Christian Krause
75f27d8850
fixes pkg-config flags
8 years ago
Christian Krause
cbeac7cd5f
Merge branch 'master' of github.com:vasi/pixz
8 years ago
Christian Krause
7504c11378
adds missing newline in help
8 years ago
Christian Krause
d2d7203969
Merge pull request #61 from kraj/master
...
Musl inspired general fixes
8 years ago
Khem Raj
5ed67fc86f
endian: Use macro bswap_64 instead of __bswap_64
...
byteswap.h defines then as public APIs on all libc
on linux including musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years ago
Khem Raj
a224836798
configure: Detect headers before using them
...
Current logic does not work when system does not have
sys/endian.h, since it tried to reuse the cached results
from first try of detecting htole64 in sys/endian.h which is
'no' and hence the second try to look into endian.h also
comes out negative.
So we check for header and then run the test for symbols
and these symbols are not standard and we need to define _GNU_SOURCE
for it to work, this issue is exposed by systems using musl e.g.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years ago
Christian Krause
936d8068ae
option to not build man page
...
fixes #56
9 years ago
Christian Krause
e044a6d041
release version 1.0.6
9 years ago
Christian Krause
c8f14d0f06
fixes #55
9 years ago
Christian Krause
7fb07efef7
print fseeko error
9 years ago
Christian Krause
8879834e8a
release version 1.0.5
9 years ago
Christian Krause
b263b1c6e1
Merge pull request #53 from wookietreiber/endian-conversion-checks
...
autoconf checks for htole64 and le64toh
9 years ago
Christian Krause
5d831e6d1b
autoconf checks for htole64 and le64toh
...
- addresses #52
9 years ago
Christian Krause
8d318b90fc
release version 1.0.4
9 years ago
Christian Krause
7140800fe5
Merge pull request #51 from wookietreiber/include-man-pages-in-release
...
include man page in release tarball
9 years ago
Christian Krause
ebebf82439
include man page in release tarball
...
- adds man page to `EXTRA_DIST`
- `configure` checks for `a2x` only if the man page does not exist (poor
mans way of checking if we build from git or release tarball)
- fixes #50
9 years ago
Christian Krause
a12755fd16
fixes out-of-tree build manpage generation
...
Unfortunately, a2x generates the manpage only in the directory where the
source file is located and it does not offer a command line option to
change the output directory. I hope, the `if ! test -f` hack I
implemented works everywhere.
9 years ago
Christian Krause
033fa93a76
update download link in man page
9 years ago
Christian Krause
bc3b389e2c
fix README.md file name in DIST
9 years ago
Christian Krause
d1bfc20d51
release version 1.0.3
9 years ago
Christian Krause
f35af1ae52
Merge pull request #42 from wookietreiber/cppcheck-test
...
implementing the basic cppcheck test
9 years ago
Christian Krause
b98e2a74d0
update TODO comment
9 years ago
Christian Krause
e6dc14b3a1
Merge branch 'master' into cppcheck-test
9 years ago
Christian Krause
e28a753722
update differences to xz
9 years ago
Christian Krause
545375e4a6
list main differences between pixz and xz in README
9 years ago
Christian Krause
6ef81d1c95
update README because xz has multi-core support
9 years ago
Christian Krause
8cfd6bb9e7
Merge branch 'master' into cppcheck-test
9 years ago
Christian Krause
56fba37518
better error message on incorrect input path
9 years ago
Christian Krause
510876dda0
Merge pull request #43 from wookietreiber/wip-file-permissions
...
creates output file with permissions of input file
9 years ago
Christian Krause
e5ba30f9c0
creates output file with permissions of input file
...
- also some more detailed error messages, some duplication, though,
maybe clean up later
- fixes #15
9 years ago
Christian Krause
115d6b2e5e
check for preserving file permission, compression
...
- adresses issue #15
9 years ago
Christian Krause
35a2f67be9
implements cppcheck test
...
- fixes #8
9 years ago
Christian Krause
b07393c2f6
Merge pull request #40 from wookietreiber/fix-issue-34
...
fixes #34
9 years ago
Christian Krause
f9b8a4c122
made test shell script executable for travis
9 years ago
Christian Krause
d7d1b9ce0f
fixes #34
...
for now this just adds the `-c` option and completely ignores it
9 years ago
Christian Krause
2d452f540b
Merge pull request #39 from wookietreiber/start-testing
...
testing framework and first test
9 years ago
Christian Krause
078e7da461
made test shell script executable for travis
9 years ago
Christian Krause
0c933db8a8
testing framework and first test
9 years ago
Christian Krause
36895b9550
travis, revert container try, does not work
9 years ago
Christian Krause
5c730afe65
travis, try container
9 years ago
Christian Krause
0a01496af5
travis, fix configure.ac
9 years ago
Christian Krause
5c7e823146
travis, fix configure.ac
9 years ago
Christian Krause
36c74f7e90
downgrade autoconf version requirement to allow travis to build
9 years ago