Patch 8.2.4605
Problem:    Error for arguments of remote_expr() even when the +clientserver
            feature is not included.
Solution:   Move #ifdef.
Files:      src/clientserver.c


*** ../vim-8.2.4604/src/clientserver.c  2022-02-07 13:56:40.592793019 +0000
--- src/clientserver.c  2022-03-15 17:32:13.632107317 +0000
***************
*** 794,799 ****
--- 794,800 ----
      rettv->v_type = VAR_STRING;
      rettv->vval.v_string = NULL;
  
+ #ifdef FEAT_CLIENTSERVER
      if (in_vim9script()
            && (check_for_string_arg(argvars, 0) == FAIL
                || check_for_string_arg(argvars, 1) == FAIL
***************
*** 802,808 ****
                    && check_for_opt_number_arg(argvars, 3) == FAIL)))
        return;
  
- #ifdef FEAT_CLIENTSERVER
      remote_common(argvars, rettv, TRUE);
  #endif
  }
--- 803,808 ----
***************
*** 945,957 ****
      rettv->v_type = VAR_STRING;
      rettv->vval.v_string = NULL;
  
      if (in_vim9script()
            && (check_for_string_arg(argvars, 0) == FAIL
                || check_for_string_arg(argvars, 1) == FAIL
                || check_for_opt_string_arg(argvars, 2) == FAIL))
        return;
  
- #ifdef FEAT_CLIENTSERVER
      remote_common(argvars, rettv, FALSE);
  #endif
  }
--- 945,957 ----
      rettv->v_type = VAR_STRING;
      rettv->vval.v_string = NULL;
  
+ #ifdef FEAT_CLIENTSERVER
      if (in_vim9script()
            && (check_for_string_arg(argvars, 0) == FAIL
                || check_for_string_arg(argvars, 1) == FAIL
                || check_for_opt_string_arg(argvars, 2) == FAIL))
        return;
  
      remote_common(argvars, rettv, FALSE);
  #endif
  }
*** ../vim-8.2.4604/src/version.c       2022-03-21 19:47:27.908641008 +0000
--- src/version.c       2022-03-21 19:52:05.088700879 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4605,
  /**/

-- 
Q:  Why do ducks have flat feet?
A:  To stamp out forest fires.

Q:  Why do elephants have flat feet?
A:  To stamp out flaming ducks.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220321195955.95D801C783D%40moolenaar.net.

Raspunde prin e-mail lui