aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-12 12:53:40 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-12 12:53:40 -0800
commitb32fcc7a8ef2857e111fc5daac15558545df912b (patch)
tree9dde17b5138147d6890a7ec4df3885678a16ab2a /expand.h
parente9c226b8bebe25f54d65a272ccfa7697980d6d28 (diff)
Don't call expand_home_directory from within parser_t::test - it may hang
Diffstat (limited to 'expand.h')
-rw-r--r--expand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/expand.h b/expand.h
index 1dedf173..a4f7e2ab 100644
--- a/expand.h
+++ b/expand.h
@@ -53,7 +53,10 @@ enum
EXPAND_SKIP_PROCESS = 1 << 7,
/** Don't expand jobs (but you can still expand processes). This is because job expansion is not thread safe. */
- EXPAND_SKIP_JOBS = 1 << 8
+ EXPAND_SKIP_JOBS = 1 << 8,
+
+ /** Don't expand home directories */
+ EXPAND_SKIP_HOME_DIRECTORIES = 1 << 9
};
typedef int expand_flags_t;