aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/005-uninitialized_err.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-12-20 21:21:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-12-20 21:21:14 +0000
commit49a0eaa0abf58c0111b74f85d3ef8487f283653e (patch)
tree38b0777ec5e6e9df2ffe5d91fff98703b5f850a7 /package/opkg/patches/005-uninitialized_err.patch
parentcf91acfa3dcc3b53ab077e50746e7f8819aaaa48 (diff)
downloadmaster-187ad058-49a0eaa0abf58c0111b74f85d3ef8487f283653e.tar.gz
master-187ad058-49a0eaa0abf58c0111b74f85d3ef8487f283653e.tar.bz2
master-187ad058-49a0eaa0abf58c0111b74f85d3ef8487f283653e.zip
[package] opkg: update to r503 - reduces peak memory usage by further 20%, rebased patches, restored old config file default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18864 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/patches/005-uninitialized_err.patch')
-rw-r--r--package/opkg/patches/005-uninitialized_err.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/opkg/patches/005-uninitialized_err.patch b/package/opkg/patches/005-uninitialized_err.patch
deleted file mode 100644
index 0d3b6cf24c..0000000000
--- a/package/opkg/patches/005-uninitialized_err.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/libopkg/pkg_hash.c
-+++ b/libopkg/pkg_hash.c
-@@ -384,8 +384,11 @@
- abstract_pkg_t *apkg = NULL;
- pkg_t *ret;
-
-- if (!(apkg = abstract_pkg_fetch_by_name(hash, name)))
-- return NULL;
-+ if (!(apkg = abstract_pkg_fetch_by_name(hash, name))) {
-+ if (err)
-+ *err = 0;
-+ return NULL;
-+ }
-
- ret = pkg_hash_fetch_best_installation_candidate(conf, apkg, pkg_name_constraint_fcn, apkg->name, 0, err);
-