]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux-cramfs-zerofiles.patch
- AC-branch only,
[packages/util-linux.git] / util-linux-cramfs-zerofiles.patch
CommitLineData
5545a732
JR
1- mkfs.cramfs doesn't work correctly with empty files
2
3--- util-linux-2.13-pre5/disk-utils/mkfs.cramfs.c.zerofiles 2005-11-07 13:05:27.000000000 +0100
4+++ util-linux-2.13-pre5/disk-utils/mkfs.cramfs.c 2005-11-07 13:06:38.000000000 +0100
5@@ -661,7 +661,7 @@
6 if (e->same) {
7 set_data_offset(e, base, e->same->offset);
8 e->offset = e->same->offset;
9- } else {
10+ } else if (e->size) {
11 set_data_offset(e, base, offset);
12 e->offset = offset;
13 offset = do_compress(base, offset, e->name,
This page took 0.054847 seconds and 4 git commands to generate.