wok-4.x view busybox/stuff/busybox-1.10.1-unlzma.u @ rev 1465
update BUILD_DEPENDS in asunder clearlooks evas gcolor2 gnome-menus grsync intltool libiec61883 libwnck neon poedit portmap pycairo shared-mime-info tsclient xorg-libICE xorg-xload
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 09:01:05 2008 +0000 (2008-10-04) |
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 }