diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-07 12:37:49 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-07 12:37:49 +0000 |
commit | d7272853a2c6d34751637be12e7d451504f02f3f (patch) | |
tree | e1c5a5da42326a1a23ddbe27395cf7e6d3543d07 /package/opkg/patches/012-cleanup-tmpdir.patch | |
parent | 02b4c152e205b4ef56e3f53ae1cce02af699ebb9 (diff) | |
download | upstream-d7272853a2c6d34751637be12e7d451504f02f3f.tar.gz upstream-d7272853a2c6d34751637be12e7d451504f02f3f.tar.bz2 upstream-d7272853a2c6d34751637be12e7d451504f02f3f.zip |
opkg: update to r513, move lock-file to /var/lock and drop cleanup patch - went upstream
SVN-Revision: 19061
Diffstat (limited to 'package/opkg/patches/012-cleanup-tmpdir.patch')
-rw-r--r-- | package/opkg/patches/012-cleanup-tmpdir.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/package/opkg/patches/012-cleanup-tmpdir.patch b/package/opkg/patches/012-cleanup-tmpdir.patch index d794a070e1..e69de29bb2 100644 --- a/package/opkg/patches/012-cleanup-tmpdir.patch +++ b/package/opkg/patches/012-cleanup-tmpdir.patch @@ -1,35 +0,0 @@ ---- a/src/opkg-cl.c -+++ b/src/opkg-cl.c -@@ -263,7 +263,7 @@ - int - main(int argc, char *argv[]) - { -- int opts; -+ int opts, err = -1; - char *cmd_name; - opkg_cmd_t *cmd; - int nocheckfordirorfile = 0; -@@ -327,15 +327,8 @@ - usage(); - } - -- if (opkg_cmd_exec(cmd, argc - opts, (const char **) (argv + opts))) -- goto err2; -+ err = opkg_cmd_exec(cmd, argc - opts, (const char **) (argv + opts)); - -- print_error_list(); -- free_error_list(); -- -- return 0; -- --err2: - #ifdef HAVE_CURL - opkg_curl_cleanup(); - #endif -@@ -346,5 +339,5 @@ - print_error_list(); - free_error_list(); - -- return -1; -+ return err; - } |