wok view busybox/stuff/busybox-1.10.1-unlzma.u @ rev 1305

Fix: Typo in claws-mail. Sorry guys.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Aug 25 09:51:40 2008 +0200 (2008-08-25)
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 }