Patch 8.2.4075 (after 8.2.4073)
Problem: Test failures.
Solution: Change check for NULL pointer.
Files: src/userfunc.c
*** ../vim-8.2.4074/src/userfunc.c 2022-01-13 12:05:03.489321507 +0000
--- src/userfunc.c 2022-01-13 13:22:57.459771123 +0000
***************
*** 4152,4164 ****
else
eap->skip = TRUE;
}
- if (name == NULL)
- goto ret_free; // out of memory
// For "export def FuncName()" in an autoload script the function name
// is stored with the legacy autoload name "dir#script#FuncName" so
// that it can also be found in legacy script.
! if (is_export)
name = may_prefix_autoload(name);
}
--- 4152,4162 ----
else
eap->skip = TRUE;
}
// For "export def FuncName()" in an autoload script the function name
// is stored with the legacy autoload name "dir#script#FuncName" so
// that it can also be found in legacy script.
! if (is_export && name != NULL)
name = may_prefix_autoload(name);
}
*** ../vim-8.2.4074/src/version.c 2022-01-13 13:08:10.507904428 +0000
--- src/version.c 2022-01-13 13:24:14.659813786 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4075,
/**/
--
The psychic said, "God bless you." I said, "I didn't sneeze." She
looked deep into my eyes and said, "You will, eventually." And, damn
if she wasn't right. Two days later, I sneezed. --Ellen Degeneres
/// 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/20220113132511.9E3631C0329%40moolenaar.net.