summaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-25 16:46:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-25 16:46:26 +0000
commit35b652105b359de7c99565ee7fc3b548e17f2501 (patch)
tree8b0566cbbe5f32bbec59ff7723b5ce68462a4afa /package/busybox
parent900af27a32d1c3ec7c28e79de7c3d63e11edf4a2 (diff)
oops, applied the ipkg patch with the wrong patchlevel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10253 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/patches/525-clean_temp.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/busybox/patches/525-clean_temp.patch b/package/busybox/patches/525-clean_temp.patch
new file mode 100644
index 000000000..0c3be747c
--- /dev/null
+++ b/package/busybox/patches/525-clean_temp.patch
@@ -0,0 +1,35 @@
+diff -urN busybox-1.8.2.old/archival/libipkg/pkg_extract.c busybox-1.8.2.dev/archival/libipkg/pkg_extract.c
+--- busybox-1.8.2.old/archival/libipkg/pkg_extract.c 2008-01-23 22:18:44.000000000 +0100
++++ busybox-1.8.2.dev/archival/libipkg/pkg_extract.c 2008-01-23 22:20:31.000000000 +0100
+@@ -85,6 +85,7 @@
+ free(archive->buffer);
+ free(archive->accept);
+ free(archive);
++ unlink(name);
+ free(name);
+
+ return 0;
+@@ -114,6 +115,7 @@
+ close(archive->src_fd);
+ free(archive);
+ free(path);
++ unlink(name);
+ free(name);
+
+ return 0;
+@@ -138,6 +140,7 @@
+ close(archive->src_fd);
+ free(archive);
+ free(path);
++ unlink(name);
+ free(name);
+
+ return 0;
+@@ -218,6 +221,7 @@
+ fputs(archive->buffer, file);
+ free(archive->buffer);
+ free(archive);
++ unlink(name);
+ free(name);
+
+ return 0;