summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-04 16:46:54 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-04 16:46:54 +0100
commitc9af617ac62b15bfcbbfe8c54071146e2af01f65 (patch)
treed0eb268898ca64788550bf8ef728bf0ee5637ebb /src/errors.h
parent23d44493f1e82365f0a1dbd372fc2546811942f4 (diff)
patch 8.2.4863: accessing freed memory in test without the +channel featurev8.2.4863
Problem: Accessing freed memory in test without the +channel feature. (Dominique Pellé) Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not implemented. (closes #10350)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index fc815ee315..2edbb63b9a 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3264,4 +3264,8 @@ EXTERN char e_string_or_function_required_for_arrow_parens_expr[]
INIT(= N_("E1275: String or function required for ->(expr)"));
EXTERN char e_illegal_map_mode_string_str[]
INIT(= N_("E1276: Illegal map mode string: '%s'"));
+# if !defined(FEAT_JOB_CHANNEL)
+EXTERN char e_channel_job_feature_not_available[]
+ INIT(= N_("E1277: Channel and job feature is not available"));
+# endif
#endif