+dpkg (1.4.1.12) unstable; urgency=low
+
+ * Non-maintainer release.
+ * Fix typo in chmodsafe_unlink that made dpkg chmod files that
+ weren't setuid or setgid
+
+ -- Wichert Akkerman <wakkerma@debian.org> Sun, 26 Sep 1999 02:41:30 +0200
+
dpkg (1.4.1.11) unstable; urgency=low
* Non-maintainer release.
-<!entity manuals-version "1.4.1.10">
-<!entity dpkg-version "1.4.1.10">
+<!entity manuals-version "1.4.1.11">
+<!entity dpkg-version "1.4.1.11">
void assertpredep(const char *const *argv) {
static struct versionrevision predepversion = {~0UL,0,0};
assertversion(argv,&predepversion,"1.1.0");
- }
+}
void assertepoch(const char *const *argv) {
static struct versionrevision epochversion = {~0UL,0,0};
struct stat stab;
if (lstat(pathname,&stab)) return -1;
- if (S_ISREG(stab.st_mode) ? (stab.st_mode | 07000) :
+ if (S_ISREG(stab.st_mode) ? (stab.st_mode & 07000) :
!(S_ISLNK(stab.st_mode) || S_ISDIR(stab.st_mode) ||
S_ISFIFO(stab.st_mode) || S_ISSOCK(stab.st_mode))) {
/* We chmod it if it is 1. a sticky or set-id file, or 2. an unrecognised