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
75402 7.1.101-200.gz patches 7.1.101 to 7.1.200, 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()
1661 7.1.160 getting/losing focus may cause hit-enter prompt to be redrawn
4347 7.1.161 compilation errors with tiny features and EXITFREE
4691 7.1.162 crash when using a modifier before "while" or "for"
2367 7.1.163 warning for the unknown option 'bufsecret'
1576 7.1.164 reading past end of regexp pattern
5538 7.1.165 crash related to getting X window ID
2134 7.1.166 memory leak when using "gp" in Visual mode
2528 7.1.167 xxd crashes when using "xxd -b -c 110"
2989 7.1.168 (extra) Win32 GUI: when no focus click doesn't position cursor
1926 7.1.169 using uninitialized memory when system() fails
1722 7.1.170 overlapping arguments to strcpy()
2324 7.1.171 reading one byte before allocated memory.
1536 7.1.172 if 'buftype' is "acwrite" Vim still does overwrite check
1928 7.1.173 accessing freed memory when using "\%^" pattern
2197 7.1.174 writing NUL past end of a buffer
4722 7.1.175 doesn't work with some combination of option settings
2943 7.1.176 compiling with Aap fails if "compiledby" contains '<' or '>'
5450 7.1.177 freeing memory twice when in debug mode while reading a script
1567 7.1.178 "%" doesn't work on "/* comment *//* comment */"
6581 7.1.179 configure doesn't find TCL 8.5
7099 7.1.180 regexp patterns are not sufficiently tested
1878 7.1.181 accessing uninitialized memory in Farsi mode with ":s"
5457 7.1.182 with tab pages and an argument list session file may be wrong
2489 7.1.183 Internal error for ":echo matchstr('a', 'a\%[\&]')"
2132 7.1.184 crash when deleting backwards over a line break in Insert mode
3744 7.1.185 "gR" and then BS doesn't work properly with multi-byte chars
3294 7.1.186 "expand('')" returns a bogus value after ":cd dir"
2341 7.1.187 Win32 GUI: custom completion using system() doesn't work
1688 7.1.188 "W10" message could be displayed in the second column
1950 7.1.189 (after 7.1.104) need to call plain_vgetc() in ask_yesno()
1685 7.1.190 cursor after end-of-line: "iA sentence.)"
2007 7.1.191 Win32 GUI: when not in focus click in scrollbar doesn't work
2605 7.1.192 CTRL-C doesn't stop duplicating text for "s" in Visual block
2962 7.1.193 some of the Vim 5.x digraphs could be supported
1650 7.1.194 Unix: ":echo glob('~/{}')" results in "/home/user//"
2273 7.1.195 '0 mark doesn't work for "~/foo ~ foo"
2642 7.1.196 (extra) Win32 GUI: "\n" in a tooltip doesn't cause line break
2308 7.1.197 Mac: "make install" doesn't work when $prefix is set
1460 7.1.198 hang when using ":s/\n//gn"
3572 7.1.199 can't do command line completion for a file name extension
2310 7.1.200 (after 7.1.177 and 7.1.182) compiler warnings
2705 7.1.201 when reading stdin 'fenc' and 'ff' are not set
2383 7.1.202 incomplete utf-8 byte sequence is not checked for validity
2261 7.1.203 if 'virtualedit' is "onemore" then ":normal 99|" is not right
2891 7.1.204 (extra) Win32: 'balloonexpr' tooltip disappears after 4 sec
5481 7.1.205 can't get the operator in an ":omap"
1690 7.1.206 compiler warnings when using MODIFIED_BY
7708 7.1.207 netbeans: "remove" cannot delete one line
2051 7.1.208 on Alpha get an unaligned access error
2249 7.1.209 GTK GUI: when using the netrw plugin ":gui" causes a hang
1923 7.1.210 listing mapping for 0xdb fails when 'encoding' is utf-8
25525 7.1.211 matchparen plugin may take so long it looks like Vim hangs
1491 7.1.212 accessing a byte before a line
1750 7.1.213 aborting ":tabedit" from the ATTENTION dialog leaves tab open
8399 7.1.214 ":1s/g\n\zs1//" deletes characters from the first line
6476 7.1.215 it's difficult to figure out the nesting of syntax items
2360 7.1.216 variants of --remote-tab are not mentioned for "vim --help"
7103 7.1.217 the "help-tags" tag may be missing from runtime/doc/tags
1864 7.1.218 syntax region without "keepend" could be truncated
12134 7.1.219 (after 7.1.215) synstack() doesn't work for one char region
3928 7.1.220 cursor may end up on trail byte after ")"
1978 7.1.221 when inserting a "(" the following highlighting may be wrong
3531 7.1.222 (after 7.1.217) wildcards of ":helptags" are not expanded
8138 7.1.223 glob() doesn't handle "'" when 'shell' is "sh" or "bash"
2131 7.1.224 "vim -F -o one two" sets 'rightleft' in one window only
1767 7.1.225 using unitialized value when XGetWMNormalHints() fails
1957 7.1.226 command line completion fails for a file name with a '&' char
5595 7.1.227 hang in syntax HL when moving over a ")"
1678 7.1.228 with 'foldmethod' "indent" fold can't be closed after "3>>"