diff options
author | jlam <jlam@pkgsrc.org> | 2003-09-08 05:58:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-09-08 05:58:10 +0000 |
commit | a1162ddb60eea05df42b66fa8b95ac5d67641987 (patch) | |
tree | d85b81752467ec8562b5187ca8a1f33627ccb79e /pkgtools | |
parent | 6235d89a6cb95082aef0902a55b4083c89f04b3e (diff) | |
download | pkgsrc-a1162ddb60eea05df42b66fa8b95ac5d67641987.tar.gz |
Whee... pkgdb_remove_pkg returns 1 on success, so make the dummy function
return this value.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/lib/pkgdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/lib/pkgdb.c b/pkgtools/pkg_install/files/lib/pkgdb.c index 1a562c254fb..3a3af0a925b 100644 --- a/pkgtools/pkg_install/files/lib/pkgdb.c +++ b/pkgtools/pkg_install/files/lib/pkgdb.c @@ -1,4 +1,4 @@ -/* $NetBSD: pkgdb.c,v 1.17 2003/09/08 05:32:56 jlam Exp $ */ +/* $NetBSD: pkgdb.c,v 1.18 2003/09/08 05:58:10 jlam Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -8,7 +8,7 @@ #include <sys/cdefs.h> #endif #ifndef lint -__RCSID("$NetBSD: pkgdb.c,v 1.17 2003/09/08 05:32:56 jlam Exp $"); +__RCSID("$NetBSD: pkgdb.c,v 1.18 2003/09/08 05:58:10 jlam Exp $"); #endif /* @@ -263,7 +263,7 @@ int pkgdb_store(const char *key, const char *val) { return 0; } char *pkgdb_retrieve(const char *key) { return NULL; } void pkgdb_dump(void) {} int pkgdb_remove(const char *key) { return 0; } -int pkgdb_remove_pkg(const char *pkg) { return 0; } +int pkgdb_remove_pkg(const char *pkg) { return 1; } #endif /* HAVE_DBOPEN */ |