Przemyslaw Skibinski
ef54f9f9dd
added --rm option
2016-11-07 14:50:58 +01:00
Przemyslaw Skibinski
98be008479
Copy owner, file permissions and modification time
2016-11-07 12:41:14 +01:00
Nick Terrell
136caa552b
Rename passThrough to testMode
2016-11-03 18:50:25 -07:00
Nick Terrell
3dcafd35d4
Fix test mode and write to null
...
Fix test mode to not always return success.
Don't ask for permission to overwrite `nulmark`.
Before:
> echo "hello world" > file
> lz4 -t file
successfully decoded 12 bytes
> lz4 -tf file
successfully decoded 12 bytes
> lz4 file null
Warning : /dev/null already exists
Overwrite ? (Y/n) : n
Error 12 : No. Operation aborted : /dev/null already exists
> lz4 file /dev/null
Warning : /dev/null already exists
Overwrite ? (Y/n) : n
Error 12 : No. Operation aborted : /dev/null already exists
After:
> lz4 -t file
Error 44 : Unrecognized header : file cannot be decoded
> lz4 -tf file
Error 44 : Unrecognized header : file cannot be decoded
> lz4 file null
Compressed 12 bytes into 31 bytes ==> 258.33%
> lz4 file /dev/null
Compressed 12 bytes into 31 bytes ==> 258.33%
2016-11-03 15:41:09 -07:00
Yann Collet
99d11120bd
Merge pull request #249 from inikep/dev
...
Dev
2016-11-03 10:49:33 -07:00
Yann Collet
46b49af37c
fixed clang conversion warning
2016-11-03 10:39:35 -07:00
Yann Collet
c66108ceb2
check fread() operation results ( #243 )
2016-11-03 09:27:35 -07:00
Przemyslaw Skibinski
84cedb4632
updated links to LZ4 repository
2016-11-03 15:12:57 +01:00
Yann Collet
59adfd82d6
fix for ARM platform
2016-11-01 21:04:56 -07:00
Yann Collet
f173027690
moved cmake and debian directories to contrib ( #245 )
2016-11-01 17:29:15 -07:00
Yann Collet
d05ca2ff6d
fixed #247 , reported by Felix Bolte
2016-11-01 16:54:33 -07:00
Kouhei Sutou
46a7b94e8c
Use lower case for header file name
...
"WinIoCtl.h" works on Windows because Windows uses case insensitive file
system. But it doesn't work on GNU/Linux (for cross compiling with
MinGW) because GNU/Linux uses case sensitive file system.
2016-09-23 00:34:42 +09:00
inikep
829ae75871
remove EnablePREfast=true for Win32
2016-09-03 01:35:00 +02:00
inikep
c1864f69e8
fix mingw64 compilation warnings
2016-09-02 21:50:57 +02:00
Kouhei Sutou
14b40fb6d7
Fix build error on MinGW
...
Header file name is case insensitive on Windows but it is case sensitive
on Linux. "Windows.h" can't be found on Linux.
2016-01-10 17:41:43 +09:00
Yann Collet
dfabec2d18
Fixed a few minor visual analyzer warnings
2015-06-29 00:31:41 -08:00
Yann Collet
8901dcdc9d
removed one malloc
2015-06-28 21:53:42 -08:00
Yann Collet
1098d897a0
lz4io : removed one malloc
2015-06-28 20:24:09 -08:00
Yann Collet
7f3d82def8
Merge pull request #114 from lpsantil/djgpp
...
Djgpp
2015-05-28 03:04:17 +02:00
Louis P. Santillan
b2bbb2790d
Fixup programs/{Makefile,lz4cli.c,lz4io.c} to build with Andrew Wu's build-djgpp cross compilers. Add some documentation in README.DJ
2015-05-25 21:41:45 -07:00
Yann Collet
acae59a739
Fixed : default sparse mode disabled on stdout, to support >>
redirection scenario reported by Takayuki Matsuoka ( #110 )
2015-05-25 07:50:41 +01:00
Yann Collet
26065c3f47
Fixed : LZ4IO exits too early when frame crc not present, reported by Yongwoon Cho ( #106 )
2015-05-20 08:58:59 +01:00
Yann Collet
a9ff13a8bb
minor test refactor
2015-05-18 22:35:09 +01:00
Yann Collet
58b5aadb1f
Fixed sparse issue with non seekable streams ( #105 )
2015-05-18 22:09:37 +01:00
Yann Collet
1c3e633c48
Added compilation flag -Wcast-qual
2015-05-06 01:58:24 +01:00
Yann Collet
e05088d0eb
Updated lz4hc API
2015-05-03 20:57:21 +01:00
Yann Collet
1b17bf2ab8
New lz4 API, using LZ4_compress_fast()
2015-05-03 17:57:46 +01:00
Yann Collet
d6dc0a410d
streaming API : Improved ring buffer management
2015-04-24 10:15:12 +01:00
Yann Collet
b805d581b9
Removed obsolete functions from lz4 cli
2015-04-21 19:07:31 +01:00
Yann Collet
f11afafe23
Removed LZ4_compress() (obsolete) from lz4
2015-04-21 18:31:35 +01:00
Yann Collet
cbcdd88ccb
Fixed frame concatenation
2015-04-20 10:05:54 +01:00
Yann Collet
197982ec6c
Fixed unfinished frame (issue #75 )
2015-04-20 09:24:25 +01:00
Yann Collet
9fd4f1f9f7
Sparse file support is now enabled by default
2015-04-17 19:42:07 +01:00
Yann Collet
bce2eeb9df
Reclassified some notification messages as errors
2015-04-16 16:27:16 +01:00
Yann Collet
9e92bee044
stronger arm tests
2015-04-16 13:34:03 +01:00
Yann Collet
2ed9dcc900
fix minor "divide by zero" risk
2015-04-16 13:18:15 +01:00
Yann Collet
633c1ca810
fixed minor leak
2015-04-16 13:09:34 +01:00
Yann Collet
e328d41ef4
minor optimization for small files
2015-04-16 08:51:31 +01:00
Yann Collet
a430b859cf
Multiple files decompression refactoring
2015-04-15 16:24:43 +01:00
Takayuki MATSUOKA
081bcca33b
Issue#90 : Add LZ4F_ prefix
...
- Add LZ4F_ prefix to LZ4 frame related enums.
- Also add conditional macro LZ4F_DISABLE_OLD_ENUMS for testing and users who prefer strict prefixes.
2015-04-15 06:45:24 +09:00
Yann Collet
05a46fc59a
Changes LZ4F_compressBound() definition using NULL prefsPtr to cover worst case instead of default.
2015-04-14 18:51:36 +01:00
Yann Collet
348f5099e4
lz4io refactoring
2015-04-14 18:10:55 +01:00
Yann Collet
113b150f0a
Fix leak issue with compression of multiple files
2015-04-14 16:05:02 +01:00
Yann Collet
c64200dd85
Improved performance when compressing a lot of small files
2015-04-14 00:07:30 +01:00
Yann Collet
cc24124014
minor compatibility fixes
2015-04-13 20:43:54 +01:00
Yann Collet
ccba7a0a29
Merge pull request #86 from KyleJHarper/origin/r129/multiple_inputs_patch
...
Origin/r129/multiple inputs patch
2015-04-13 21:03:51 +02:00
Kyle J Harper
7f2f1fcd55
Added support for continuation of file compression and decompression if input files are missing. Should more closely match gzip/bzip2/xz and so forth. Also removed a debug print accidentally left in.
2015-04-12 18:41:55 -05:00
Kyle J Harper
0169502b49
Added new LZ4IO_decompressMultipleFilenames to allow decompression of multiple files with the -m switch added in r128 (ref: google code issue 151). Limitation: will only process files matching LZ4_EXTENSION macro, which for now seems reasonable.
2015-04-12 17:33:40 -05:00
Yann Collet
62ed153195
Fixed : a few minor coverity warnings
2015-04-12 08:21:35 +01:00
Yann Collet
8b8e5efefe
fixed minor sanitize warning
2015-04-11 10:25:08 +01:00