summaryrefslogtreecommitdiff
path: root/srclib/apr-util/dbm/sdbm
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2012-01-29 13:30:57 +0100
committerStefan Fritsch <sf@sfritsch.de>2012-01-29 13:30:57 +0100
commitd1d018768afd79cb2ecd1805f0d8f3ed23f4076b (patch)
tree04d53b0a9786234f3bbd3badffdb22dbe2b74d03 /srclib/apr-util/dbm/sdbm
parent0890390c00801651d08d3794e13b31a5dabbf5ef (diff)
downloadapache2-upstream/2.2.22.tar.gz
Upstream tarball 2.2.22upstream/2.2.22
Diffstat (limited to 'srclib/apr-util/dbm/sdbm')
-rw-r--r--srclib/apr-util/dbm/sdbm/sdbm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/srclib/apr-util/dbm/sdbm/sdbm.c b/srclib/apr-util/dbm/sdbm/sdbm.c
index 9dfcc4bc..a1ce6953 100644
--- a/srclib/apr-util/dbm/sdbm/sdbm.c
+++ b/srclib/apr-util/dbm/sdbm/sdbm.c
@@ -101,7 +101,7 @@ static apr_status_t prep(apr_sdbm_t **pdb, const char *dirname, const char *pagn
* as required by this package. Also set our internal
* flag for RDONLY if needed.
*/
- if (!(flags & APR_WRITE)) {
+ if (!(flags & APR_FOPEN_WRITE)) {
db->flags |= SDBM_RDONLY;
}
@@ -111,12 +111,12 @@ static apr_status_t prep(apr_sdbm_t **pdb, const char *dirname, const char *pagn
* an apr_file_t, in case it's ever introduced, and set
* our own flag.
*/
- if (flags & APR_SHARELOCK) {
+ if (flags & APR_FOPEN_SHARELOCK) {
db->flags |= SDBM_SHARED;
- flags &= ~APR_SHARELOCK;
+ flags &= ~APR_FOPEN_SHARELOCK;
}
- flags |= APR_BINARY | APR_READ;
+ flags |= APR_FOPEN_BINARY | APR_FOPEN_READ;
/*
* open the files in sequence, and stat the dirfile.