summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-02-01 22:26:20 -0500
committermidipix <writeonce@midipix.org>2020-05-23 05:59:02 +0000
commitefbaf8132d09a6bd26b64556291a7ff62fd413b9 (patch)
tree875032f05fb8c2b8d881c1105cd25e692fc6093d /src/driver
parent239ac5c3f246a737d7b70817319a37d6cece8a69 (diff)
downloadtpax-efbaf8132d09a6bd26b64556291a7ff62fd413b9.tar.bz2
tpax-efbaf8132d09a6bd26b64556291a7ff62fd413b9.tar.xz
driver: --strict-path-input, --pure-path-output: initial support.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/tpax_driver_ctx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c
index d8e2de8..c27ce90 100644
--- a/src/driver/tpax_driver_ctx.c
+++ b/src/driver/tpax_driver_ctx.c
@@ -403,6 +403,14 @@ int tpax_get_driver_ctx(
case TAG_NORECURSE:
cctx.drvflags &= ~(uintptr_t)TPAX_DRIVER_DIR_MEMBER_RECURSE;
break;
+
+ case TAG_STRICT_PATH:
+ cctx.drvflags |= TPAX_DRIVER_STRICT_PATH_INPUT;
+ break;
+
+ case TAG_PURE_PATH:
+ cctx.drvflags |= TPAX_DRIVER_PURE_PATH_OUTPUT;
+ break;
}
} else {
operand = entry;