Send commitlog mailing list submissions to
commitlog@lists.openmoko.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. r4557 - trunk/src/target/opkg/libopkg ([EMAIL PROTECTED])
2. Openmoko's patched copy of Bitbake: Changes to 'bitbake-om'
([EMAIL PROTECTED])
3. Openmoko's patched copy of Bitbake: Changes to 'master'
([EMAIL PROTECTED])
4. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.dev'
([EMAIL PROTECTED])
--- Begin Message ---
Author: tick
Date: 2008-07-27 08:42:19 +0200 (Sun, 27 Jul 2008)
New Revision: 4557
Modified:
trunk/src/target/opkg/libopkg/opkg_cmd.c
trunk/src/target/opkg/libopkg/opkg_remove.c
Log:
opkg: fix some memory leak and double free issues.
Modified: trunk/src/target/opkg/libopkg/opkg_cmd.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_cmd.c 2008-07-25 15:41:16 UTC (rev
4556)
+++ trunk/src/target/opkg/libopkg/opkg_cmd.c 2008-07-27 06:42:19 UTC (rev
4557)
@@ -909,9 +909,9 @@
done = 0;
- available = pkg_vec_alloc();
pkg_info_preinstall_check(conf);
if ( argc > 0 ) {
+ available = pkg_vec_alloc();
pkg_hash_fetch_all_installed(&conf->pkg_hash, available);
for (i=0; i < argc; i++) {
pkg_name = malloc(strlen(argv[i])+2);
Modified: trunk/src/target/opkg/libopkg/opkg_remove.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_remove.c 2008-07-25 15:41:16 UTC (rev
4556)
+++ trunk/src/target/opkg/libopkg/opkg_remove.c 2008-07-27 06:42:19 UTC (rev
4557)
@@ -90,7 +90,7 @@
int i;
int a;
int count;
- pkg_vec_t *dependent_pkgs = pkg_vec_alloc();
+ pkg_vec_t *dependent_pkgs;
abstract_pkg_t * ab_pkg;
if((ab_pkg = pkg->parent) == NULL){
@@ -110,6 +110,8 @@
i = 0;
count = 1;
+ dependent_pkgs = pkg_vec_alloc();
+
while (dependents [i] != NULL) {
abstract_pkg_t *dep_ab_pkg = dependents[i];
@@ -131,16 +133,20 @@
* 2 - to keep track of pkgs whose deps have been checked alrdy -
Karthik */
}
- if (count == 1)
- return 0;
+ if (count == 1) {
+ free(dependent_pkgs);
+ return 0;
+ }
+ int err=0;
for (i = 0; i < dependent_pkgs->len; i++) {
- int err = opkg_remove_pkg(conf, dependent_pkgs->pkgs[i],0);
+ err = opkg_remove_pkg(conf, dependent_pkgs->pkgs[i],0);
if (err)
- return err;
+ break;
}
- return 0;
+ free(dependent_pkgs);
+ return err;
}
static int user_prefers_removing_dependents(opkg_conf_t *conf, abstract_pkg_t
*abpkg, pkg_t *pkg, abstract_pkg_t **dependents)
@@ -268,8 +274,10 @@
/* remove packages depending on this package - Karthik */
err = opkg_remove_dependent_pkgs (conf, pkg, dependents);
- free(dependents);
- if (err) return err;
+ if (err) {
+ free(dependents);
+ return err;
+ }
}
if (dependents)
free(dependents);
--- End Message ---
--- Begin Message ---
ChangeLog | 6 ++++++
lib/bb/build.py | 3 ++-
lib/bb/cooker.py | 6 ++++++
lib/bb/providers.py | 6 +++++-
4 files changed, 19 insertions(+), 2 deletions(-)
New commits:
commit ea685af08b6b5ab0061648ff9756e0d00aaad759
Merge: 61d27fa76f759647998d6dbb12e2eed72349e168
9952a35d0a9d0ff3603cd0a11f4282d9dd7c7b11
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 27 09:19:47 2008 +0200
Merge commit 'bitbake-1.8' into bitbake-om
Conflicts:
doc/bitbake.1
doc/manual/usermanual.xml
commit 9952a35d0a9d0ff3603cd0a11f4282d9dd7c7b11
Author: rpurdie <[EMAIL PROTECTED]>
Date: Sat Jul 19 21:12:10 2008 +0000
providers.py: Fix indentation errors
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 078ae356ed5f67f6ae699d070713921ceb658c5e
Author: rpurdie <[EMAIL PROTECTED]>
Date: Sat Jul 19 17:58:18 2008 +0000
providers.py: When a regexp fails to compile for PACKAGES_DYNAMIC, print a
more useful error (#4444)
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 7a4fbc796148850afd4be7b5f5751ad78b67affb
Author: rpurdie <[EMAIL PROTECTED]>
Date: Tue Jun 10 09:33:30 2008 +0000
Revert the '-' character fix in class names since it breaks things
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 6dc0ebc2fa4bd8bebc9d6e7a5189c0a30eb0ea68
Author: rpurdie <[EMAIL PROTECTED]>
Date: Wed May 21 21:26:46 2008 +0000
build.py: Make sure expandKeys has been called on the data dictonary before
running tasks fixing various strange issues (from poky). Correctly add a task
override in the form task-TASKNAME which whilst a change in behaviour shouldn't
matter since the original approach didn't work at all
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit c94600890e29821d2851945c00465eacd748c8c9
Author: rpurdie <[EMAIL PROTECTED]>
Date: Mon May 19 20:39:48 2008 +0000
manuals: Add missing options documentation (thanks to zecke for noticing
and the patch)
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit f44b45430b8281b32bdd10250caf273b5c410024
Author: rpurdie <[EMAIL PROTECTED]>
Date: Mon May 19 20:16:03 2008 +0000
BBHandler.py: Correctly handle '-' characters in class names (#2958)
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 20f7d12003b815323e1875fca01859d66fd26ca2
Author: rpurdie <[EMAIL PROTECTED]>
Date: Mon May 19 20:14:22 2008 +0000
cooker.py: Make sure Build Completed events are generated even when tasks
fail
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
--- End Message ---
--- Begin Message ---
ChangeLog | 6 ++++++
doc/bitbake.1 | 13 +++++++------
doc/manual/usermanual.xml | 1 +
lib/bb/build.py | 3 ++-
lib/bb/cooker.py | 6 ++++++
lib/bb/providers.py | 6 +++++-
6 files changed, 27 insertions(+), 8 deletions(-)
New commits:
commit 9952a35d0a9d0ff3603cd0a11f4282d9dd7c7b11
Author: rpurdie <[EMAIL PROTECTED]>
Date: Sat Jul 19 21:12:10 2008 +0000
providers.py: Fix indentation errors
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 078ae356ed5f67f6ae699d070713921ceb658c5e
Author: rpurdie <[EMAIL PROTECTED]>
Date: Sat Jul 19 17:58:18 2008 +0000
providers.py: When a regexp fails to compile for PACKAGES_DYNAMIC, print a
more useful error (#4444)
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 7a4fbc796148850afd4be7b5f5751ad78b67affb
Author: rpurdie <[EMAIL PROTECTED]>
Date: Tue Jun 10 09:33:30 2008 +0000
Revert the '-' character fix in class names since it breaks things
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 6dc0ebc2fa4bd8bebc9d6e7a5189c0a30eb0ea68
Author: rpurdie <[EMAIL PROTECTED]>
Date: Wed May 21 21:26:46 2008 +0000
build.py: Make sure expandKeys has been called on the data dictonary before
running tasks fixing various strange issues (from poky). Correctly add a task
override in the form task-TASKNAME which whilst a change in behaviour shouldn't
matter since the original approach didn't work at all
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit c94600890e29821d2851945c00465eacd748c8c9
Author: rpurdie <[EMAIL PROTECTED]>
Date: Mon May 19 20:39:48 2008 +0000
manuals: Add missing options documentation (thanks to zecke for noticing
and the patch)
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit f44b45430b8281b32bdd10250caf273b5c410024
Author: rpurdie <[EMAIL PROTECTED]>
Date: Mon May 19 20:16:03 2008 +0000
BBHandler.py: Correctly handle '-' characters in class names (#2958)
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
commit 20f7d12003b815323e1875fca01859d66fd26ca2
Author: rpurdie <[EMAIL PROTECTED]>
Date: Mon May 19 20:14:22 2008 +0000
cooker.py: Make sure Build Completed events are generated even when tasks
fail
git-svn-id: svn://svn.berlios.de/bitbake/branches/[EMAIL PROTECTED]
fd90740e-a5ea-0310-a7a2-b3005cc77bd6
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcdates.inc | 2 +-
conf/distro/include/sane-srcrevs.inc | 2 +-
packages/tasks/task-openmoko-feed.bb | 5 ++++-
3 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit c1eec19112a722b088c3c131a98cdb9f81bd6613
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 27 09:08:56 2008 +0200
[srcdate] Upgrade EFL to a date/time to really get today's version
The SRCDATE was put into the future to get the most recent version
of e. A change to Bitbake was introduced to allow checking out by
DATE and TIME. Catch up with today's version of e.
commit 293bad1d9da0563b6e6e2d55f3713153b588a45e
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 27 09:08:23 2008 +0200
[task-openmoko-feed] Put mc, gpsd and devmem2 into the feed two
commit c822def3506bfe73d7cfd1fcd9121d92d59810ad
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Fri Jul 25 21:13:51 2008 +0200
[srcrev] Upgrade assassin. Change font, size and wording of dialogs
New Stuff:
GUI font/position/words tunning
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog