r4851 - trunk/src/target/opkg/libopkg
tick at docs.openmoko.org
tick at docs.openmoko.org
Mon Dec 8 09:08:31 CET 2008
Author: tick
Date: 2008-12-08 09:08:31 +0100 (Mon, 08 Dec 2008)
New Revision: 4851
Modified:
trunk/src/target/opkg/libopkg/opkg_cmd.c
trunk/src/target/opkg/libopkg/opkg_install.c
Log:
opkg: fixing some trivial defects while reviewing code
Modified: trunk/src/target/opkg/libopkg/opkg_cmd.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_cmd.c 2008-12-05 12:45:13 UTC (rev 4850)
+++ trunk/src/target/opkg/libopkg/opkg_cmd.c 2008-12-08 08:08:31 UTC (rev 4851)
@@ -812,7 +812,7 @@
char *pkg_name = NULL;
char **pkg_fields = NULL;
int n_fields = 0;
- char *buff ; // = (char *)malloc(1);
+ char *buff ;
if (argc > 0) {
pkg_name = argv[0];
Modified: trunk/src/target/opkg/libopkg/opkg_install.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_install.c 2008-12-05 12:45:13 UTC (rev 4850)
+++ trunk/src/target/opkg/libopkg/opkg_install.c 2008-12-08 08:08:31 UTC (rev 4851)
@@ -45,7 +45,6 @@
#include "xsystem.h"
#include "user.h"
-int satisfy_dependencies_for(opkg_conf_t *conf, pkg_t *pkg);
static int verify_pkg_installable(opkg_conf_t *conf, pkg_t *pkg);
static int unpack_pkg_control_files(opkg_conf_t *conf, pkg_t *pkg);
@@ -399,7 +398,6 @@
return 0;
}
-
static int check_conflicts_for(opkg_conf_t *conf, pkg_t *pkg)
{
More information about the commitlog
mailing list