diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-01-25 16:46:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-01-25 16:46:26 +0000 |
commit | 4ff87a66385d4e07988d9b356750fb5b15825808 (patch) | |
tree | 0a814ff64e38c6232648a14542824bfeef0df3a6 /package/busybox/patches/525-clean_temp.patch | |
parent | e7d27627fd5a7dec57ca5a069cac9a962b0cce17 (diff) | |
download | mtk-20170518-4ff87a66385d4e07988d9b356750fb5b15825808.zip mtk-20170518-4ff87a66385d4e07988d9b356750fb5b15825808.tar.gz mtk-20170518-4ff87a66385d4e07988d9b356750fb5b15825808.tar.bz2 |
oops, applied the ipkg patch with the wrong patchlevel
SVN-Revision: 10253
Diffstat (limited to 'package/busybox/patches/525-clean_temp.patch')
-rw-r--r-- | package/busybox/patches/525-clean_temp.patch | 35 |
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 0000000..0c3be74 --- /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; |