wok-6.x rev 1933
Linux: fix lzma initrd decompression
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 25 17:25:51 2008 +0000 (2008-12-25) |
parents | 532094c01130 |
children | 12e74c4517b2 |
files | linux/stuff/linux-lzma-2.6.25.5.u |
line diff
1.1 --- a/linux/stuff/linux-lzma-2.6.25.5.u Wed Dec 24 21:06:04 2008 +0000 1.2 +++ b/linux/stuff/linux-lzma-2.6.25.5.u Thu Dec 25 17:25:51 2008 +0000 1.3 @@ -2215,11 +2215,3 @@ 1.4 buf += written; 1.5 len -= written; 1.6 continue; 1.7 -@@ -534,7 +550,6 @@ 1.8 - if(buf == (char *) initrd_start) { 1.9 - char *work_buffer = malloc(LZMA_IOBUF_SIZE); 1.10 - if (work_buffer) { 1.11 -- fill_total = fill_offset = 0; 1.12 - fill_buffer(work_buffer, LZMA_IOBUF_SIZE); 1.13 - status = unlzma(work_buffer, LZMA_IOBUF_SIZE, 1.14 - fill_buffer, flush_buffer, NULL);