Hi, * Jörg Fischer wrote (2008-02-02 21:41): >in tags.c in the function 'static int nextTFBlock(FILE *fp,...' the >local variables incPos and incLen are declared as int > > /* INCLUDE or ALIAS block */ > int incLen, incPos, i, incLines; > >A bit later, the first use of incPos (inside a while loop parsing the >contents of the calltips file fp) is > > incPos = ftell(fp); > >Is this correct? I mean, since ftell returns a long, the result could >possibly get truncated, couldn't it? Similarly, the first use of >incLen (after incPos was assigned) is > > incLen = ftell(fp) - incPos;
I fixed this, but Sourceforge doesn't let me create the patch.
Thorsten
--
You get your education from copyrighted books, you get your news from
copyrighted papers and TV programs, you get your jobs from copyrighted
want ads, you get your entertainment from copyrighted music and motion
pictures - every aspect of life is affected by the law of copyright.
- L. Ray Patterson
pgpWVEDIEIIL2.pgp
Description: PGP signature
-- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
