# # # patch "restrictions.cc" # from [39eb08dd64b6f536a23c73850ee9e4beff16aeec] # to [60b8793d468dfdcd60f0c9f5844a01d4e059435f] # ============================================================ --- restrictions.cc 39eb08dd64b6f536a23c73850ee9e4beff16aeec +++ restrictions.cc 60b8793d468dfdcd60f0c9f5844a01d4e059435f @@ -941,7 +941,8 @@ UNIT_TEST(restrictions, ignored_invalid_ excludes.push_back(file_path_internal("bar")); app_state app; - path_restriction pmask(includes, excludes, -1, app, path_restriction::skip_check); + path_restriction pmask(includes, excludes, -1, app.work, + path_restriction::skip_check); UNIT_TEST_CHECK( pmask.includes(file_path_internal("foo"))); UNIT_TEST_CHECK(!pmask.includes(file_path_internal("bar")));