bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems running htags for files with long lines.


From: Shigio Yamaguchi
Subject: Re: Problems running htags for files with long lines.
Date: Fri, 06 Jan 2006 09:26:08 +0900

Hi,
> I played a little with CVS version of Global and noticed a small
> problem when running htags for a file with very long line e.g.:
> 
>   private static final long[] crc_table =3D { 0x00000000L, 0x77073096L, ...=
> .
> 
> this line contained several hundreds of characters and htags
> dies with following error:
> 
>   gtags: aprimary key too long.
>   htags: 'global -xns ".*" | gtags --sort --unique' failed.

I have fixed the CVS version, I believe.
Could you please try the current CVS version again?
Thank you for your report!

Here is the diff:

diff -r1.28 dupindex.c
128c128
<                        strbuf_puts(command, " | gtags --sort --unique");
---
>                        strbuf_puts(command, " | gtags --sort --format=ctags 
> --unique");
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]