Patch 8.2.4654 (after 8.2.4653)
Problem:    Missing changes for import check.
Solution:   Add missing changes.
Files:      src/vim9script.c


*** ../vim-8.2.4653/src/vim9script.c    2022-03-30 21:12:16.451923056 +0100
--- src/vim9script.c    2022-03-31 11:22:27.079942495 +0100
***************
*** 399,405 ****
        {
            int error = OK;
  
!           // script does not exist yet, create a new scriptitem
            *sid = get_new_scriptitem_for_fname(&error, fname);
            if (error == FAIL)
                return FAIL;
--- 399,412 ----
        {
            int error = OK;
  
!           // Script does not exist yet, check name and create a new
!           // scriptitem.
!           if (!file_is_readable(fname))
!           {
!               semsg(_(mch_isdir(fname) ? e_str_is_directory
!                                         : e_cannot_read_from_str_2), fname);
!               return FAIL;
!           }
            *sid = get_new_scriptitem_for_fname(&error, fname);
            if (error == FAIL)
                return FAIL;
*** ../vim-8.2.4653/src/version.c       2022-03-31 11:37:54.263367943 +0100
--- src/version.c       2022-03-31 11:50:53.427334493 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4654,
  /**/

-- 
Q: How do you tell the difference between a female cat and a male cat?
A: You ask it a question and if HE answers, it's a male but, if SHE
   answers, it's a female.

 /// 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/20220331105145.1E0BE1C13F2%40moolenaar.net.

Raspunde prin e-mail lui