Patches for Vim - Vi IMproved 7.1 The files in this directory contain source code changes to fix problems in released versions of Vim. Each file also contains an explanation of the problem that is fixed, like the message that was sent to the vim-dev maillist. The best is to apply the patches in sequence. This avoids problems when a patch depends on a previous patch. If you did not unpack the extra archive, you may want to skip patches marked with "extra:". Similarly for the "lang" archive. Or ignore errors for missing files. Before patching, change to the top Vim directory, where the "src" and "runtime" directories are located. Depending on the version of "patch" that you use, you may have add an argument to make it patch the right file: patch -p < 7.1.001 patch -p0 < 7.1.001 After applying a patch, you need to compile Vim. There are no patches for binaries. Checksums for the patch files can be found in the file MD5. Collection of patches for Vim 7.1: SIZE NAME INCLUDES 91424 7.1.001-100.gz patches 7.1.001 to 7.1.100, gzip'ed Individual patches for Vim 7.1: SIZE NAME FIXES 2404 7.1.001 can't build with Gnome GUI 2011 7.1.002 Oracle Pro*C/C++ files are not detected 1529 7.1.003 (extra) Win32: menu entries end up in message history 2481 7.1.004 crash when editing a directory 3841 7.1.005 "cit" used on deletes 2941 7.1.006 when reading from stdin 'modified' can't be reset in autocmd 6458 7.1.007 (extra) Mac: context menu does not work, scrollbars not dimmed 2631 7.1.008 getfsize() returns an invalid number for very big files 1881 7.1.009 diff mode: tab to spaces change not highlighted correctly 2796 7.1.010 Gnome: tab pages are not included in the saved session 1934 7.1.011 buffer overflow when $VIMRUNTIME is very long 1904 7.1.012 ":let &tw = 'asdf'" does not give an error message 2139 7.1.013 ":syn include" only loads the first file 1479 7.1.014 crash in C-indenting 3743 7.1.015 MzScheme interface doesn't build on Mac; init problem 2368 7.1.016 (after 7.1.012) error message when using ":cwindow" 6729 7.1.017 ":confirm w" does not give a prompt when file is read-only 1771 7.1.018 "p" at end of line doesn't work right when 've' is set 1650 7.1.019 ":python" doesn't mention the command is not implemented 3229 7.1.020 reading uninitialized memory when using a dialog 2875 7.1.021 (after 7.1.015) MzScheme interface doesn't build on Win32 1842 7.1.022 when setting 'keymap' twice b:keymap_name variable isn't set 1718 7.1.023 "dw" in a line with one character deletes the line 1335 7.1.024 using a pointer that may have become invalid 2292 7.1.025 search('pat', 'bc) doesn't find word under cursor at BOL 1710 7.1.026 "[p" doesn't work in Visual mode 3345 7.1.027 on Sun OS reading from a process substitutions doesn't work 2239 7.1.028 ":sort" does nothing special with empty search pattern 2692 7.1.029 (after 7.1.019) can't compile when all interfaces are used 2364 7.1.030 vimtutor shell script checks for "vim6" but not for "vim7" 6533 7.1.031 virtcol([123, '$']) doesn't work 3006 7.1.032 possible crash when doing completion on the command line 1530 7.1.033 buffer marked modified after ":bdel" and ":next" 2956 7.1.034 Win64: compiler warnings for typecast, optimizer problem 1797 7.1.035 after ":s/./&/#" all listed lines have a line number 12171 7.1.036 add "none" to completion of ":echohl" and ":match" 1817 7.1.037 using strcpy() for an overlapping string 5704 7.1.038 'preseveindent' doesn't always work when 'et' is set 1750 7.1.039 weird help-tags tag in docs file may make cause a crash 53412 7.1.040 ":match" only supports three matches 4614 7.1.041 (extra, after 7.1.040) update test makefiles for new test 2366 7.1.042 (after 7.1.040) internal error when using matchadd() 2820 7.1.043 in Ex mode using CTRL-D twice may cause a crash 1632 7.1.044 in Insert mode 0 CTRL-T deletes all indent 3101 7.1.045 double screen redraw in some situations 1637 7.1.046 ":s/.*/&/" deletes composing characters 1552 7.1.047 wrong argument for vim_regcomp() 5010 7.1.048 paren highlighting is not updated after scrolling 1722 7.1.049 can't compile with GTK2 when using hangul input feature 4800 7.1.050 possible crash in C++ indenting 2295 7.1.051 accessing uninitialized memory when finding spell suggestions 2435 7.1.052 when creating a new match not all fields are initialized 1473 7.1.053 reading uninitialized memory when updating command line 4451 7.1.054 accessing uninitialized memory when displaying the fold column 5414 7.1.055 using strcpy() with arguments that overlap 3151 7.1.056 scrolling back at more prompt doesn't work properly 2514 7.1.057 CursorHold causes problems for Normal and Visual mode commands 10612 7.1.058 completion menu doesn't work properly when 'righleft' is set 3350 7.1.059 in Ex mode "g/^/vi" and pressing CTRL-C: Vim hangs and beeps 5066 7.1.060 splitting quickfix window messes up window layout 6320 7.1.061 with latin1 'ignorecase' doesn't work for umlauts 1550 7.1.062 (after 7.0.038) C comment indent can be wrong 1391 7.1.063 compiler warning for uninitialized variable 1405 7.1.064 on interix some files appear not to exist 2983 7.1.065 Win32: MingW Compilation problem for newer version of w32api 4553 7.1.066 when 'bomb' is changed the file should be considered modified 7701 7.1.067 'infercase' doesn't work for thesaurus completion 6709 7.1.068 'equalalways' equalizes windows too often 2757 7.1.069 GTK GUI: confirm() dialog has a default button when not wanted 1560 7.1.070 (extra) Win32 GUI: same confirm() default button problem 5534 7.1.071 (after 7.1.040) add a basic test for regexp patterns 5705 7.1.072 (extra, after 7.1.041 and 7.1.071) extra part of 7.1.071 3595 7.1.073 (after 7.1.062) crash when 'preserveindent' is set 5259 7.1.074 crash when using string() on a recursively nested List 1686 7.1.075 ":let v:statusmsg" reads memory already freed 2376 7.1.076 a couple more strcpy() with overlapping arguments 2678 7.1.078 dropping file name on gvim containing CSI byte doesn't work 2922 7.1.079 "@" character in 'isfname' doesn't pick up umlauts for latin1 2960 7.1.080 (extra) Compiler warnings for gvimex.cpp 3253 7.1.081 completion doesn't work after ":!cat ") may return < 0 for a Linewise selection 1515 7.1.133 shorten_fname1() linked when it's not needed 10379 7.1.134 (extra) Win32: Can't build with VC8 3337 7.1.135 Win32: ":e c:/tmp/foo" and ":e c:/tmp//foo" create two buffers 1522 7.1.136 memory leak when using Ruby syntax highlighting 1553 7.1.137 build failure when using EXITFREE 1836 7.1.138 Perl: Msg() doesn't stop when "q" is typed at the more prompt 1557 7.1.139 fold truncated when ending Insert mode with CTRL-C 1664 7.1.140 v:count can't be used in an expression mapping 2806 7.1.141 GTK: can't use negative offset with -geom argument 2161 7.1.142 ":redir @A>" doesn't work 1723 7.1.143 uninitialized memory read when diffing three files 1250 7.1.144 after ":diffup" cursor can be in the wrong position 6160 7.1.145 stay in Insert completion mode depending on the char typed 2838 7.1.146 VMS: writing fails for rare record organisation 2079 7.1.147 (after 7.1.127) freeing memory twice completing user name 2557 7.1.148 QNX and some other systems require testing for sys/types.h 4823 7.1.149 completion menu messed up when using the scroll bar 1759 7.1.150 Visual mode "p" doesn't work when 'clipboard' has "unnamed" 2108 7.1.151 lalloc(0) error for line completion with 'ic' and 'inf' set 3183 7.1.152 display problem when 'hls' and 'cursorcolumn' are set 4610 7.1.153 compiler warnings on SGI 1547 7.1.154 (after 7.1.152) compiler warning for signed/unsigned compare 1594 7.1.155 crash when 'undolevels' is 0 and repeating "udd" 4174 7.1.156 overlapping arguments for strcpy() during cmdline completion 1541 7.1.157 :" in Ex mode at end of file results in an error message 4629 7.1.158 (extra) Win32: with utf-8 and cp1250 Alt-y is the wrong char 1646 7.1.159 overlapping arguments for a strcpy()