don't open the database O_EXCL - we need to use locking instead!

CVS patchset: 279
CVS date: 1996/02/15 00:10:29
This commit is contained in:
ewt 1996-02-15 00:10:29 +00:00
parent ea3e7dcddb
commit 030a88838a
1 changed files with 0 additions and 3 deletions

View File

@ -29,9 +29,6 @@ int rpmdbOpen (char * prefix, rpmdb *rpmdbp, int mode, int perms) {
if (mode & O_WRONLY)
return 0;
if (mode & O_RDWR)
mode |= O_EXCL;
strcpy(filename, prefix);
strcat(filename, "/var/lib/rpm/packages.rpm");
db.pkgs = faOpen(filename, mode, 0644);