History log of /src/usr.bin/ctags/C.c |
Revision | | Date | Author | Comments |
1.19 |
| 13-Jul-2009 |
roy | Rename internal getline() function to get_line() so it does conflict with the soon to be added getline(3) libc function.
|
1.18 |
| 11-Apr-2009 |
lukem | fix -Wsign-compare issue
|
1.17 |
| 27-Mar-2009 |
christos | remove debugging code.
|
1.16 |
| 27-Mar-2009 |
christos | fix off-by-one bug that did not add a tag for "foo" in "typedef struct foo { int x; } foo_t"; as intended.
|
1.15 |
| 22-Apr-2006 |
christos | branches: 1.15.6; 1.15.16; 1.15.28; 1.15.30; 1.15.32; 1.15.34; Coverity CID 2913: Check for EOF before using char as index to array.
|
1.14 |
| 05-Apr-2006 |
dsl | 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.
|
1.13 |
| 20-Jul-2005 |
ross | Fix a couple of stack-smashing buffer overflows.
|
1.12 |
| 17-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations, constify; WARNS=3.
|
1.11 |
| 20-Jun-2004 |
jmc | Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
|
1.10 |
| 07-Aug-2003 |
agc | branches: 1.10.2; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.9 |
| 31-Jan-2002 |
tv | Make this compilable as a host tool.
|
1.8 |
| 03-May-2001 |
ross | teach ctags(1) about // comments.
|
1.7 |
| 05-Jun-1999 |
ross | Don't recognize `int (*f)();' as a function. The false match caused the next real function to be eaten and skipped during the forward scan for `{'.
Restores about 35 lost functions to the kernel tags file.
|
1.6 |
| 26-May-1999 |
ross | Now understands white space between # and define.
|
1.5 |
| 24-Jul-1998 |
ross | Deal with the gnu __attribute__ keyword, which is in an odd place and breaks the ctags function-recognition algorithm.
|
1.4 |
| 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF
|
1.3 |
| 26-Mar-1995 |
glass | Merge with 4.4Lite
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.10.2.1 |
| 22-Jun-2004 |
tron | Pull up revision 1.11 (requested by jmc in ticket #527): Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
|
1.15.34.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.15.32.1 |
| 14-Aug-2009 |
snj | Pull up following revision(s) (requested by roy in ticket #885): bin/pax/options.c: revision 1.105 dist/nawk/maketab.c: revision 1.12 dist/nawk/proctab.c: revision 1.11 dist/nawk/proto.h: revision 1.9 dist/nawk/run.c: revision 1.29 usr.bin/ctags/C.c: revision 1.19 usr.bin/ctags/ctags.h: revision 1.9 usr.bin/ctags/fortran.c: revision 1.11 usr.bin/ctags/lisp.c: revision 1.11 usr.bin/ctags/print.c: revision 1.10 usr.bin/ctags/yacc.c: revision 1.12 usr.bin/gencat/gencat.c: revision 1.30 Rename internal getline() function to get_line() so it does conflict with the soon to be added getline(3) libc function.
|
1.15.30.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.15.28.1 |
| 14-Aug-2009 |
snj | Pull up following revision(s) (requested by roy in ticket #885): bin/pax/options.c: revision 1.105 dist/nawk/maketab.c: revision 1.12 dist/nawk/proctab.c: revision 1.11 dist/nawk/proto.h: revision 1.9 dist/nawk/run.c: revision 1.29 usr.bin/ctags/C.c: revision 1.19 usr.bin/ctags/ctags.h: revision 1.9 usr.bin/ctags/fortran.c: revision 1.11 usr.bin/ctags/lisp.c: revision 1.11 usr.bin/ctags/print.c: revision 1.10 usr.bin/ctags/yacc.c: revision 1.12 usr.bin/gencat/gencat.c: revision 1.30 Rename internal getline() function to get_line() so it does conflict with the soon to be added getline(3) libc function.
|
1.15.16.1 |
| 25-Aug-2009 |
snj | Pull up following revision(s) (requested by plunky in ticket #1354): bin/pax/options.c: revision 1.105 via patch usr.bin/ctags/C.c: revision 1.19 usr.bin/ctags/ctags.h: revision 1.9 usr.bin/ctags/fortran.c: revision 1.11 usr.bin/ctags/lisp.c: revision 1.11 usr.bin/ctags/print.c: revision 1.10 usr.bin/ctags/yacc.c: revision 1.12 usr.bin/gencat/gencat.c: revision 1.30 via patch Rename internal getline() function to get_line() so it does not conflict with the soon to be added getline(3) libc function.
|
1.15.6.1 |
| 25-Aug-2009 |
snj | Pull up following revision(s) (requested by plunky in ticket #1354): bin/pax/options.c: revision 1.105 via patch usr.bin/ctags/C.c: revision 1.19 usr.bin/ctags/ctags.h: revision 1.9 usr.bin/ctags/fortran.c: revision 1.11 usr.bin/ctags/lisp.c: revision 1.11 usr.bin/ctags/print.c: revision 1.10 usr.bin/ctags/yacc.c: revision 1.12 usr.bin/gencat/gencat.c: revision 1.30 via patch Rename internal getline() function to get_line() so it does conflict with the soon to be added getline(3) libc function.
|