From 9fd4f1f9f780f1be38ad6695d62a9ba2ea426d6d Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 17 Apr 2015 19:42:07 +0100 Subject: Sparse file support is now enabled by default --- programs/lz4.1 | 2 +- programs/lz4cli.c | 2 +- programs/lz4io.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/lz4.1 b/programs/lz4.1 index a9b5195..a79fed3 100644 --- a/programs/lz4.1 +++ b/programs/lz4.1 @@ -185,7 +185,7 @@ independently, and the resulting name of the compressed file will be hence for a file. It won't work with unknown source size, such as stdin or pipe. .TP .B \--[no-]sparse - enable sparse file (default:disabled)(experimental) + sparse file support (default:enabled) .TP .B \-l use Legacy format (useful for Linux Kernel compression) diff --git a/programs/lz4cli.c b/programs/lz4cli.c index d77ef5b..da18169 100644 --- a/programs/lz4cli.c +++ b/programs/lz4cli.c @@ -175,7 +175,7 @@ static int usage_advanced(void) /* DISPLAY( " -BX : enable block checksum (default:disabled)\n"); *//* Option currently inactive */ DISPLAY( "--no-frame-crc : disable stream checksum (default:enabled)\n"); DISPLAY( "--content-size : compressed frame includes original size (default:not present)\n"); - DISPLAY( "--sparse : enable sparse file (default:disabled)(experimental)\n"); + DISPLAY( "--[no-]sparse : sparse file support (default:enabled)\n"); DISPLAY( "Benchmark arguments :\n"); DISPLAY( " -b : benchmark file(s)\n"); DISPLAY( " -i# : iteration loops [1-9](default : 3), benchmark mode only\n"); diff --git a/programs/lz4io.c b/programs/lz4io.c index 7d4fc55..e0c69d8 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -131,7 +131,7 @@ static int g_blockSizeId = LZ4IO_BLOCKSIZEID_DEFAULT; static int g_blockChecksum = 0; static int g_streamChecksum = 1; static int g_blockIndependence = 1; -static int g_sparseFileSupport = 0; +static int g_sparseFileSupport = 1; static int g_contentSizeFlag = 0; static const int minBlockSizeID = 4; -- cgit v0.12