README.patches
Patches for Vim - Vi IMproved 7.2 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.2.001 patch -p0 < 7.2.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. Individual patches for Vim 7.2: SIZE NAME FIXES 1877 7.2.001 Mac: pseudo-ttys don't work properly on Leopard 1462 7.2.002 leaking memory when displaying menus 3663 7.2.003 typo in translated message, message not translated 3413 7.2.004 Cscope help message is not translated 4638 7.2.005 a few problems when profiling 1552 7.2.006 HTML files are not recognized by contents 16735 7.2.007 (extra) minor issues for VMS 1947 7.2.008 wrong window count when using :bunload in a BufHidden autocmd 2245 7.2.009 can't compile with Perl 5.10 on MS-aindows 5415 7.2.010 "K" in Visual mode does not properly escape all characters 2873 7.2.011 error when inserting a float value from expression register 1444 7.2.012 compiler warnings when building with startup timing 4157 7.2.013 hang when waiting for X selection, consuming lots of CPU time 1769 7.2.014 synstack() doesn't work in an emptly line 1943 7.2.015 "make all test install" doesn't stop when the test fails 4536 7.2.016 cmdline completion pattern can be in freed memory 5319 7.2.017 X11: strlen() used wrongly, pasting very big selection fails 1390 7.2.018 memory leak when substitute is aborted 2269 7.2.019 completion and exists() don't work for ":noautocmd" 1521 7.2.020 "kvim" starts the GUI even though KDE is no longer supported 4806 7.2.021 getting full file name when executing autocmds may be slow 3823 7.2.022 (extra) cannot run tests with the MingW compiler 2062 7.2.023 'cursorcolumn' wrong in a closed fold when display is shifted 1452 7.2.024 'history' can be made negative, causes out-of-memory error 1470 7.2.025 a CursorHold event that invokes system() is retriggered 2969 7.2.026 (after 7.2.010) 'K' uses the rest of the line 3235 7.2.027 can use cscope commands in the sandbox, might not be safe 1466 7.2.028 confusing error message for missing () 1291 7.2.029 no completion for ":doautoall" like for ":doautocmd" 1546 7.2.030 (after 7.2.027) can't compile, ex_oldfiles undefined 39400 7.2.031 file names from viminfo are not available to the user 1583 7.2.032 (after 7.2.031) can't compile with EXITFREE defined 2270 7.2.033 using "ucs-2le" for two-byte BOM, but text might be "utf-16le" 2372 7.2.034 memory leak in spell info when deleting a buffer 3522 7.2.035 mismatches for library and Vim alloc/free functions 7545 7.2.036 (extra) mismatches for library and Vim alloc/free functions 1576 7.2.037 double free with GTK 1 and compiled with EXITFREE 2438 7.2.038 overlapping arguments to memcpy() 1378 7.2.039 accessing freed memory on exit when EXITFREE is defined 1836 7.2.040 ":e ++ff=dos foo" gets "unix" 'ff' when CR before NL missing 22993 7.2.041 (extra) diff wrong when edit diff buffer in another tab page 4987 7.2.042 restoring view in autocmd sometimes doesn't work completely 2550 7.2.043 VMS: Too many chars escaped in filename and shell commands 5639 7.2.044 crash because of gcc 4 being over protective for strcpy() 2056 7.2.045 the Python interface has an empty entry in sys.path 1704 7.2.046 wrong check for filling buffer with encoding 2470 7.2.047 using -nb while it is not supported makes other side hang 4758 7.2.048 v:count and v:prevcount are not set correctly 32552 7.2.049 (extra) Win32: the clipboard doesn't support UTF-16 8484 7.2.050 compiler warnings for not using return value of fwrite() 15179 7.2.051 can't avoid 'wig' and 'suffixes' for glob() and globpath() 2611 7.2.052 synIDattr() doesn't support "sp" for special color 1754 7.2.053 crash when using WorkShop command ":ws foo" 2006 7.2.054 compilation warnings for fprintf format 34319 7.2.055 various compiler warnings with strict checking 1635 7.2.056 (after 7.2.050) tests 58 and 59 fail 3210 7.2.057 (after 7.2.056) trying to put size_t in int variable 2338 7.2.058 can't add a feature name in the :version output 1847 7.2.059 diff is not always displayed properly 34772 7.2.060 spell checking doesn't work well for compound words 1886 7.2.061 creating funcref requires loading the autoload script first 1657 7.2.062 "[Scratch]" is not translated 3558 7.2.063 warning for NULL argument of Perl_sys_init3() 1942 7.2.064 repeating "~" on a Visual block doesn't always update screen 5149 7.2.065 GTK GUI: cursor disappears doing ":vsp" when maximized 2759 7.2.066 not easy to check if 'encoding' is a multi-byte encoding 1683 7.2.067 can't load sesison extra file when it contains special chars 2598 7.2.068 error when Emacs tags file line is too long 1726 7.2.069 (after 7.2.060) compiler warning for putting size_t in int 17606 7.2.070 crash when a function returns a:000 2353 7.2.071 (extra) Win32: Handling netbeans events may cause a crash 1615 7.2.072 (extra, fixed patch) compiler warning in Sniff code 4121 7.2.073 ":set <xHome>" has the same output as ":set <Home>" 1832 7.2.074 (extra, after 7.2.073) extra part of 7.2.073 2218 7.2.075 (after 7.2.058) unclear comment about making a diff 2666 7.2.076 rename(from, to) deletes file if names refer to the same file 4745 7.2.077 (after 7.2.076) rename() fails if names differ only in case 3298 7.2.078 problems with deleting folds 6947 7.2.079 "killed" netbeans events are not handled correctly