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 = { 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.

It seems to be caused by gtags' --sort parameter.

tagsort.c:path_sort() calls dbop.c:dbop_put() with the whole
line as "name" parameter.  One can easily imagine people
writing arbitrary length lines so I suppose increasing
MAXKEYLEN will not guarantee every file being processable...

--
Tero


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to