1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.3.373 (after 7.3.366)
11 Problem: A tags file with an extremely long name may cause an infinite loop.
12 Solution: When encountering a long name switch to linear search.
16 *** ../vim-7.3.372/src/tag.c 2011-12-08 15:12:08.000000000 +0100
17 --- src/tag.c 2011-12-14 14:13:28.000000000 +0100
21 if (state == TS_BINARY && orgpat.regmatch.rm_ic && !sortic)
23 ! /* binary search won't work for ignoring case, use linear
29 if (state == TS_BINARY && orgpat.regmatch.rm_ic && !sortic)
31 ! /* Binary search won't work for ignoring case, use linear
38 MSG(_("Ignoring long line in tags file"));
41 + #ifdef FEAT_TAG_BINS
42 + if (state != TS_LINEAR)
44 + /* Avoid getting stuck. */
48 + fseeko(fp, search_info.low_offset, SEEK_SET);
50 + fseek(fp, (long)search_info.low_offset, SEEK_SET);
57 *** ../vim-7.3.372/src/version.c 2011-12-08 18:44:47.000000000 +0100
58 --- src/version.c 2011-12-14 14:12:06.000000000 +0100
62 { /* Add new patch number below this line */
68 ZOOT: I'm afraid our life must seem very dull and quiet compared to yours.
69 We are but eightscore young blondes, all between sixteen and
70 nineteen-and-a-half, cut off in this castle, with no one to protect us.
71 Oooh. It is a lonely life ... bathing ... dressing ... undressing ...
72 making exciting underwear....
73 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
75 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
76 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
77 \\\ an exciting new programming language -- http://www.Zimbu.org ///
78 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///