1.1 --- a/opener_resource.cc Sat Mar 13 23:22:31 2021 +0100
1.2 +++ b/opener_resource.cc Sun Mar 14 00:40:21 2021 +0100
1.3 @@ -21,9 +21,9 @@
1.4
1.5
1.6
1.7 -/* Return a pager object for the given path. */
1.8 +/* Return a pager object for the given path and flags. */
1.9
1.10 -FilePager *OpenerResource::open(const char *path)
1.11 +FilePager *OpenerResource::open(const char *path, int flags)
1.12 {
1.13 fileid_t fileid = get_fileid(path);
1.14
1.15 @@ -32,7 +32,7 @@
1.16
1.17 Accessor *accessor = get_accessor(fileid);
1.18 PageMapper *mapper = get_mapper(accessor);
1.19 - return new FilePager(fileid, mapper);
1.20 + return new FilePager(fileid, mapper, flags);
1.21 }
1.22
1.23 /* Obtain an accessor for the 'fileid' or register a new one in the accessing