summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorBen Collins <bcollins@debian.org>1999-10-21 10:38:38 +0000
committerBen Collins <bcollins@debian.org>1999-10-21 10:38:38 +0000
commit43d40df9621b9203a1b52af0d217dccfa475cff7 (patch)
treebae50df3ecd1f4a7c67390f7be938b961c4d838e /dselect
parent7c995732b145b753060df5d172e3d70acb6e327b (diff)
downloaddpkg-43d40df9621b9203a1b52af0d217dccfa475cff7.tar.gz
* Fixed some compiler warnings
* Make start-stop-daemon exit(1) when we don't find one of the pid's we are trying to kill, in accordance with the man page. * When running --configure on an already installed package, just say it's installed, and not that it is in an unconfigurable state * Bah, add all the prefix/datadir... stuff back to the install target in debian/rules (po/ doesn't use it) * Add function to libdpkg that dpkg can call to make sure it's compiled version matches that of the library. If it fails, complain loudly, but allow to proceed * Make dpkg check for uid 0 requirement, before checking the path since not being root, is probably the reason that the PATH is borked in the first place * Make -p short for --print-avail, and -P short for --purge * Fix typo in md5sum(1) man page * start-stop-daemon: Add --background and --make-pidfile options * update-alternatives: make sure we remove "old" symlinks when they are no longer pertinent. Add /etc/alternatives/README that refers to the update-alternatives(8) man page. * dpkg-divert: Add check for being able to write to the old/new destination before doing a rename. We fail on this, without changing the diversion registry * Fix bad regex in update-rc.d
Diffstat (limited to 'dselect')
-rw-r--r--dselect/pkgdepcon.cc2
-rw-r--r--dselect/pkglist.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/dselect/pkgdepcon.cc b/dselect/pkgdepcon.cc
index 9395b6626..6b2b7fd3a 100644
--- a/dselect/pkgdepcon.cc
+++ b/dselect/pkgdepcon.cc
@@ -333,6 +333,8 @@ int packagelist::resolvedepcon(dependency *depends) {
default:
internerr("unknown deptype");
}
+ /* never reached, make gcc happy */
+ return 1;
}
int packagelist::deppossatisfied(deppossi *possi, perpackagestate **fixbyupgrade) {
diff --git a/dselect/pkglist.cc b/dselect/pkglist.cc
index 81f171094..a3987adce 100644
--- a/dselect/pkglist.cc
+++ b/dselect/pkglist.cc
@@ -78,6 +78,8 @@ int packagelist::compareentries(struct perpackagestate *a,
default:
internerr("unsorted or unknown in compareentries");
}
+ /* never reached, make gcc happy */
+ return 1;
}
void packagelist::discardheadings() {