grs1: avoid term_len < 0 for .abs operator 'range'
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 4 Mar 2010 10:25:59 +0000 (11:25 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 4 Mar 2010 10:26:47 +0000 (11:26 +0100)
commit4815bf6068b5a2623c50475e0e5ec598709934e0
treee76e16fcadb4452b4997c1cf86e9a1d43c4a6b8c
parent44621b084e8fdf06a45409754116e8810bd89664
grs1: avoid term_len < 0 for .abs operator 'range'

A negative term_len could happen for Zebra in many releases but it
only reveals itself in YAZ 4 where WRBUF uses size_t length.
index/recgrs.c