Hi Iwamoto san, > When STRBUF_SHARPSKIP is specified, strbuf_fgets doesn't return NULL at the end of file. > This causes an infinite loop.
Fixed. Thank you for your comment. Regards, Shigio 2015-12-05 1:58 GMT+09:00 Hideki IWAMOTO <[email protected]>: > Hi. Yamaguchi san. > > When STRBUF_SHARPSKIP is specified, strbuf_fgets doesn't return NULL at > the end of file. > This causes an infinite loop. > > ==== version 6.5.1 ==== > $ env GTAGSLABEL='non-existent' gtags --config > gtags: label 'non-existent' not found. > > ==== current cvs head ==== > $ env GTAGSLABEL='non-existent' gtags --config > ... never return .... > > > > > On Fri, 04 Dec 2015 00:36:44 +0000 > Shigio YAMAGUCHI <[email protected]> wrote: > > > CVSROOT: /sources/global > > Module name: global > > Changes by: Shigio YAMAGUCHI <shigio> 15/12/04 00:36:44 > > > > Modified files: > > libutil : strbuf.c > > > > Log message: > > [Bug fixed] > > gtags.conf: some part of a comment line which start with '#' was > not skipped > > when the line is very large. Now it is skipped correctly. > > Reported by Hideki IWAMOTO. > > > > CVSWeb URLs: > > > http://cvs.savannah.gnu.org/viewcvs/global/libutil/strbuf.c?cvsroot=global&r1=1.43&r2=1.44 > > > > _______________________________________________ > > Global-commit mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/global-commit > > -- > Hideki IWAMOTO <[email protected]> > > -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
