From 6540030033405c8f590dfb279890076f727a91c4 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 8 Jul 2016 00:34:53 +0200 Subject: Use correct 'repository' hostname --- lib/liblz4.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liblz4.pc.in b/lib/liblz4.pc.in index d9393c7..1b29879 100644 --- a/lib/liblz4.pc.in +++ b/lib/liblz4.pc.in @@ -8,7 +8,7 @@ includedir=@INCLUDEDIR@ Name: lz4 Description: fast lossless compression algorithm library -URL: http://lz4.org/ +URL: http://www.lz4.org/ Version: @VERSION@ Libs: -L@LIBDIR@ -llz4 Cflags: -I@INCLUDEDIR@ -- cgit v0.12 From cec38d1b74e7b642b65e615517150f9587aedf7a Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 8 Jul 2016 00:35:57 +0200 Subject: Correctly reference self (github, not googlecode) --- examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 4075e5f..1e4f075 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -19,7 +19,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # You can contact the author at : -# - LZ4 source repository : http://code.google.com/p/lz4/ +# - LZ4 source repository : https://github.com/Cyan4973/lz4 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c # ########################################################################## # This makefile compile and test -- cgit v0.12 From d3e2d802660bc0585bd5d320e514601d4416cf19 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 8 Jul 2016 00:39:39 +0200 Subject: Use https wherever possible --- lib/lz4.c | 2 +- lib/xxhash.c | 4 ++-- versionsTest/test-lz4-versions.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/lz4.c b/lib/lz4.c index 77fd628..e58d930 100644 --- a/lib/lz4.c +++ b/lib/lz4.c @@ -63,7 +63,7 @@ * Method 2 : direct access. This method is portable but violate C standard. * It can generate buggy code on targets which generate assembly depending on alignment. * But in some circumstances, it's the only known way to get the most performance (ie GCC + ARMv6) - * See http://fastcompression.blogspot.fr/2015/08/accessing-unaligned-memory.html for details. + * See https://fastcompression.blogspot.fr/2015/08/accessing-unaligned-memory.html for details. * Prefer these methods in priority order (0 > 1 > 2) */ #ifndef LZ4_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ diff --git a/lib/xxhash.c b/lib/xxhash.c index 9238b15..156b484 100644 --- a/lib/xxhash.c +++ b/lib/xxhash.c @@ -46,7 +46,7 @@ * Method 2 : direct access. This method doesn't depend on compiler but violate C standard. * It can generate buggy code on targets which do not support unaligned memory accesses. * But in some circumstances, it's the only known way to get the most performance (ie GCC + ARMv6) - * See http://stackoverflow.com/a/32095106/646947 for details. + * See https://stackoverflow.com/a/32095106/646947 for details. * Prefer these methods in priority order (0 > 1 > 2) */ #ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ @@ -167,7 +167,7 @@ static U64 XXH_read64(const void* ptr) { return ((const unalign*)ptr)->u64; } #else /* portable and safe solution. Generally efficient. - * see : http://stackoverflow.com/a/32095106/646947 + * see : https://stackoverflow.com/a/32095106/646947 */ static U32 XXH_read32(const void* memPtr) diff --git a/versionsTest/test-lz4-versions.py b/versionsTest/test-lz4-versions.py index 2781e20..ec2b7b2 100644 --- a/versionsTest/test-lz4-versions.py +++ b/versionsTest/test-lz4-versions.py @@ -38,7 +38,7 @@ def get_git_tags(): tags = stdout.decode('utf-8').split() return tags -# http://stackoverflow.com/a/19711609/2132223 +# https://stackoverflow.com/a/19711609/2132223 def sha1_of_file(filepath): with open(filepath, 'rb') as f: return hashlib.sha1(f.read()).hexdigest() -- cgit v0.12 From 0c63b7cbd997fcf6a50c1476864bdff9cbbb2273 Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Mon, 25 Jul 2016 15:54:16 +0900 Subject: Fix build error with MinGW on Linux Linux uses case sensitive file system. So "Windows.h" doesn't exist. % make CC=x86_64-w64-mingw32-gcc EXT=.exe SHARD_EXT=dll ... lz4io.c:69:73: fatal error: Windows.h: No such file or directory compilation terminated. ... --- programs/lz4io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/lz4io.c b/programs/lz4io.c index 14bbf0e..e4823dc 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -66,7 +66,7 @@ # include /* _setmode, _fileno, _get_osfhandle */ # if !defined(__DJGPP__) # define SET_BINARY_MODE(file) { int unused=_setmode(_fileno(file), _O_BINARY); (void)unused; } -# include /* DeviceIoControl, HANDLE, FSCTL_SET_SPARSE */ +# include /* DeviceIoControl, HANDLE, FSCTL_SET_SPARSE */ # define SET_SPARSE_FILE_MODE(file) { DWORD dw; DeviceIoControl((HANDLE) _get_osfhandle(_fileno(file)), FSCTL_SET_SPARSE, 0, 0, 0, 0, &dw, 0); } # if defined(_MSC_VER) && (_MSC_VER >= 1400) /* Avoid MSVC fseek()'s 2GiB barrier */ # define fseek _fseeki64 -- cgit v0.12