summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-17 18:42:07 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-17 18:42:07 (GMT)
commit9fd4f1f9f780f1be38ad6695d62a9ba2ea426d6d (patch)
tree629756ebc24853d0e4e93afea2e3963dd1ac1e28 /programs
parent7644bee6435f05e0954b3da5f457550614a199b7 (diff)
downloadlz4-9fd4f1f9f780f1be38ad6695d62a9ba2ea426d6d.zip
lz4-9fd4f1f9f780f1be38ad6695d62a9ba2ea426d6d.tar.gz
lz4-9fd4f1f9f780f1be38ad6695d62a9ba2ea426d6d.tar.bz2
Sparse file support is now enabled by default
Diffstat (limited to 'programs')
-rw-r--r--programs/lz4.12
-rw-r--r--programs/lz4cli.c2
-rw-r--r--programs/lz4io.c2
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;