patch 9.1.1793: Link error when build without channel feature

Commit: 
https://github.com/vim/vim/commit/1e009b06345f5bcb188fa9409d8a9006a51629cb
Author: Christian Brabandt <[email protected]>
Date:   Fri Sep 26 16:18:55 2025 +0000

    patch 9.1.1793: Link error when build without channel feature
    
    Problem:  Link error when build without channel feature
              (lindhobe, after v9.1.1774)
    Solution: Remove ifdef FEAT_JOB_CHANNEL around
              check_for_string_or_blob_arg()
    
    fixes: #18396
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/errors.h b/src/errors.h
index 771f4976d..0b66402f7 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3136,10 +3136,8 @@ EXTERN char e_float_or_number_required_for_argument_nr[]
        INIT(= N_("E1219: Float or Number required for argument %d"));
 EXTERN char e_string_or_number_required_for_argument_nr[]
        INIT(= N_("E1220: String or Number required for argument %d"));
-# ifdef FEAT_JOB_CHANNEL
 EXTERN char e_string_or_blob_required_for_argument_nr[]
        INIT(= N_("E1221: String or Blob required for argument %d"));
-# endif
 EXTERN char e_string_or_list_required_for_argument_nr[]
        INIT(= N_("E1222: String or List required for argument %d"));
 EXTERN char e_string_or_dict_required_for_argument_nr[]
diff --git a/src/typval.c b/src/typval.c
index 7dc3e8673..a113eda5a 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -823,7 +823,6 @@ check_for_opt_lnum_arg(typval_T *args, int idx)
            || check_for_lnum_arg(args, idx) != FAIL) ? OK : FAIL;
 }
 
-#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
 /*
  * Give an error and return FAIL unless "args[idx]" is a string or a blob.
  */
@@ -837,7 +836,6 @@ check_for_string_or_blob_arg(typval_T *args, int idx)
     }
     return OK;
 }
-#endif
 
 /*
  * Give an error and return FAIL unless "args[idx]" is a string or a list.
diff --git a/src/version.c b/src/version.c
index 80071eab6..b83c5cee5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1793,
 /**/
     1792,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1v2BKm-00D4My-Bb%40256bit.org.

Raspunde prin e-mail lui