Yakov Lerner wrote:

> > > On 9/14/06, Haakon Riiser <[EMAIL PROTECTED]> wrote:
> > > > After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
> > > > involving tags break, including the help system.  Typing :h,
> > > > or pressing ^] to jump to a tag, causes Vim to get caught in an
> > > > infinite loop.

[...]

> > Can you find out where in the code this happens?
> >
> > I suspect the 64 bit library functions work different from the "normal"
> > functions.  Perhaps fgets(), since that's what is being used to read the
> > tags file.
> 
> In situation where fgets() returns NULL, find_tags() enters
> infinite loop as follows.

Sorry, this doesn't show me where the loop actually is. Please compile
without the optimizer, otherwise code reordering confuses the debugger.

At least tell us if Vim hangs in tag_fgets() or in find_tags().
If it's in tag_fgets() it's probably a bug in the library.  If it's in
find_tags() then please try to find out why using 64 bit support makes a
difference.

-- 
MONK: ... and the Lord spake, saying, "First shalt thou take out the Holy Pin,
      then shalt thou count to three, no more, no less.  Three shalt be the
      number thou shalt count, and the number of the counting shalt be three.
      Four shalt thou not count, neither count thou two, excepting that thou
      then proceed to three.  Five is right out.  Once the number three, being
      the third number, be reached, then lobbest thou thy Holy Hand Grenade of
      Antioch towards thou foe, who being naughty in my sight, shall snuff it.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to