Patch 8.2.4134
Problem:    MS-Windows: test for import with absolute path fails.
Solution:   Handle path starting with slash as an absolute path.
Files:      src/vim9script.c


*** ../vim-8.2.4133/src/vim9script.c    2022-01-18 13:14:44.069194847 +0000
--- src/vim9script.c    2022-01-18 13:40:30.007462370 +0000
***************
*** 468,474 ****
            vim_free(from_name);
        }
      }
!     else if (mch_isFullName(tv.vval.v_string))
      {
        // Absolute path: "/tmp/name.vim"
        if (is_autoload)
--- 468,480 ----
            vim_free(from_name);
        }
      }
!     else if (mch_isFullName(tv.vval.v_string)
! #ifdef BACKSLASH_IN_FILENAME
!           // On MS-Windows omitting the drive is still handled like an
!           // absolute path, not using 'runtimepath'.
!           || *tv.vval.v_string == '/' || *tv.vval.v_string == '\\'
! #endif
!           )
      {
        // Absolute path: "/tmp/name.vim"
        if (is_autoload)
*** ../vim-8.2.4133/src/version.c       2022-01-18 13:34:01.607865571 +0000
--- src/version.c       2022-01-18 13:41:56.571374048 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4134,
  /**/

-- 
ARTHUR:        What?
BLACK KNIGHT:  None shall pass.
ARTHUR:        I have no quarrel with you, good Sir knight, but I must cross
               this bridge.
BLACK KNIGHT:  Then you shall die.
                                  The Quest for the Holy Grail (Monty Python)

 /// 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/20220118134425.3AF9F1C044E%40moolenaar.net.

Raspunde prin e-mail lui