Source-Changes archive

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

CVS commit: src/usr.bin/ctags



Module Name:    src
Committed By:   dsl
Date:           Wed Apr  5 20:03:14 UTC 2006

Modified Files:
        src/usr.bin/ctags: C.c yacc.c

Log Message:
Avoid iswhite(EOF) - fixes coverty CIDs 365 and 1196
I'm not at all sure EOF handling is correct anyway - but it probably only
affects the last line of a file (and maybe last lines without \n).
In particular I suspect that 'ungetc(EOF, file)' doesn't do the expected
thing, and that fseek() needs to be preceeded by clearerr(). But life it short.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/usr.bin/ctags/C.c
cvs rdiff -r1.10 -r1.11 src/usr.bin/ctags/yacc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index