mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
9f8304653b
unprivileged user mode in portupgrade (-s switch) and fixes ruby-bdb's 'close' method. Reviewed by: knu
21 lines
540 B
C
21 lines
540 B
C
--- src/common.c.orig 2009-05-02 19:19:39.000000000 +0400
|
|
+++ src/common.c 2009-05-02 19:20:04.000000000 +0400
|
|
@@ -941,7 +941,7 @@
|
|
}
|
|
}
|
|
if (!(dbst->options & BDB_NOT_OPEN)) {
|
|
- bdb_test_error(dbst->dbp->close(dbst->dbp, flags));
|
|
+ dbst->dbp->close(dbst->dbp, flags);
|
|
}
|
|
}
|
|
else {
|
|
@@ -950,7 +950,7 @@
|
|
bdb_ary_delete(&envst->db_ary, dbst->ori_val);
|
|
}
|
|
if (!(dbst->options & BDB_NOT_OPEN)) {
|
|
- bdb_test_error(dbst->dbp->close(dbst->dbp, flags));
|
|
+ dbst->dbp->close(dbst->dbp, flags);
|
|
}
|
|
}
|
|
}
|