wok view busybox/stuff/busybox-1.10.1-unlzma.u @ rev 2129
get-wifi-firmware: b43-firmware version 4.150.10.5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 01 19:02:11 2009 +0100 (2009-02-01) |
parents | |
children |
line source
1 --- busybox-1.10.1/archival/libunarchive/decompress_unlzma.c
2 +++ busybox-1.10.1/archival/libunarchive/decompress_unlzma.c
3 @@ -491,10 +491,16 @@
5 if (full_write(dst_fd, buffer, buffer_pos) != buffer_pos) {
6 bad:
7 + len = -1;
8 + }
9 + else {
10 + USE_DESKTOP(total_written += buffer_pos;)
11 + len = USE_DESKTOP(total_written) + 0;
12 + }
13 + if (ENABLE_FEATURE_CLEAN_UP) {
14 rc_free(rc);
15 - return -1;
16 + free(buffer);
17 + free(p);
18 }
19 - rc_free(rc);
20 - USE_DESKTOP(total_written += buffer_pos;)
21 - return USE_DESKTOP(total_written) + 0;
22 + return len;
23 }