diff options
Diffstat (limited to 'source/ap/vim/patches/7.3.373')
-rw-r--r-- | source/ap/vim/patches/7.3.373 | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/source/ap/vim/patches/7.3.373 b/source/ap/vim/patches/7.3.373 deleted file mode 100644 index 3e8937a03..000000000 --- a/source/ap/vim/patches/7.3.373 +++ /dev/null @@ -1,78 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 7.3.373 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 7.3.373 (after 7.3.366) -Problem: A tags file with an extremely long name may cause an infinite loop. -Solution: When encountering a long name switch to linear search. -Files: src/tag.c - - -*** ../vim-7.3.372/src/tag.c 2011-12-08 15:12:08.000000000 +0100 ---- src/tag.c 2011-12-14 14:13:28.000000000 +0100 -*************** -*** 1854,1860 **** - - if (state == TS_BINARY && orgpat.regmatch.rm_ic && !sortic) - { -! /* binary search won't work for ignoring case, use linear - * search. */ - linear = TRUE; - state = TS_LINEAR; ---- 1854,1860 ---- - - if (state == TS_BINARY && orgpat.regmatch.rm_ic && !sortic) - { -! /* Binary search won't work for ignoring case, use linear - * search. */ - linear = TRUE; - state = TS_LINEAR; -*************** -*** 1922,1927 **** ---- 1922,1940 ---- - MSG(_("Ignoring long line in tags file")); - verbose_leave(); - } -+ #ifdef FEAT_TAG_BINS -+ if (state != TS_LINEAR) -+ { -+ /* Avoid getting stuck. */ -+ linear = TRUE; -+ state = TS_LINEAR; -+ # ifdef HAVE_FSEEKO -+ fseeko(fp, search_info.low_offset, SEEK_SET); -+ # else -+ fseek(fp, (long)search_info.low_offset, SEEK_SET); -+ # endif -+ } -+ #endif - continue; - } - -*** ../vim-7.3.372/src/version.c 2011-12-08 18:44:47.000000000 +0100 ---- src/version.c 2011-12-14 14:12:06.000000000 +0100 -*************** -*** 716,717 **** ---- 716,719 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 373, - /**/ - --- -ZOOT: I'm afraid our life must seem very dull and quiet compared to yours. - We are but eightscore young blondes, all between sixteen and - nineteen-and-a-half, cut off in this castle, with no one to protect us. - Oooh. It is a lonely life ... bathing ... dressing ... undressing ... - making exciting underwear.... - "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ an exciting new programming language -- http://www.Zimbu.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |