To: vim_dev@googlegroups.com Subject: Patch 9.0.0477 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0477 Problem: Missing dependency may cause crashes on incomplete build. Solution: Add dependency. Files: src/vim9type.c, src/Makefile *** ../vim-9.0.0476/src/vim9type.c 2022-08-20 12:07:55.098022792 +0100 --- src/vim9type.c 2022-09-16 11:15:45.284343048 +0100 *************** *** 20,25 **** --- 20,30 ---- # include #endif + // When not generating protos this is included in proto.h + #ifdef PROTO + # include "vim9.h" + #endif + /* * Allocate memory for a type_T and add the pointer to type_gap, so that it can * be easily freed later. *** ../vim-9.0.0476/src/Makefile 2022-08-30 15:05:27.016802522 +0100 --- src/Makefile 2022-09-16 12:26:24.414427190 +0100 *************** *** 4191,4197 **** auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \ proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \ libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ ! globals.h errors.h objects/viminfo.o: viminfo.c vim.h protodef.h auto/config.h feature.h os_unix.h \ auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \ proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \ --- 4191,4197 ---- auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \ proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \ libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ ! globals.h errors.h vim9.h objects/viminfo.o: viminfo.c vim.h protodef.h auto/config.h feature.h os_unix.h \ auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \ proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \ *** ../vim-9.0.0476/src/version.c 2022-09-16 12:10:00.073526252 +0100 --- src/version.c 2022-09-16 12:27:25.186251530 +0100 *************** *** 705,706 **** --- 705,708 ---- { /* Add new patch number below this line */ + /**/ + 477, /**/ -- From "know your smileys": !-| I-am-a-Cylon-Centurian-with-one-red-eye-bouncing-back-and-forth /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///