aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ctags
Commit message (Collapse)AuthorAgeFilesLines
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-119-36/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* This now passes a make universe with WARNS=6.David Malone2010-01-081-2/+0
| | | | Notes: svn path=/head/; revision=201784
* Change a char that is used as an index into an array into an unisgned char.David Malone2010-01-052-2/+2
| | | | | | | Add a missing new style function definition. Notes: svn path=/head/; revision=201606
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* cleanup code: remove unnecessary and useless void castRalf S. Engelschall2007-02-041-1/+1
| | | | | | | from void-function skip_string(). Notes: svn path=/head/; revision=166503
* Correct parser by using intended C equality ("==") instead ofRalf S. Engelschall2007-02-041-1/+1
| | | | | | | assignment ("=") operator. Notes: svn path=/head/; revision=166502
* fix bug: avoid dereferencing content of an already free(3)'ed chunkRalf S. Engelschall2007-02-041-1/+3
| | | | Notes: svn path=/head/; revision=166501
* Fix type mismatch between char * and unsigned char *. C guarantees thatStefan Farfeleder2006-07-181-1/+1
| | | | | | | | the values of the characters here are positive, so it's safe to index arrays with them. Notes: svn path=/head/; revision=160465
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* It was pointed out[0] that ctags(1) uses some potentially dangerousCrist J. Clark2004-05-071-16/+45
| | | | | | | | | | | | | | | | | system(3) calls where user-supplied data is used with no sanity checking. Since ctags(1) is not setuid and is not likely to be used in a privileged situation, this is not a big deal. However, the fix is relatively easy and less ugly than the current code, let's be safe. (I'm sure there are about 2^134 other system(3) calls like this out there.) [0] On freebsd-security by Roman Bogorodskiy <bogorodskiy@inbox.ru> with subject "ctags(1) command execution vulnerability." MFC after: 3 days Notes: svn path=/head/; revision=129042
* The .Xr filesPhilippe Charnier2003-06-081-0/+1
| | | | Notes: svn path=/head/; revision=116044
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107276
* ANSIify function definitions to avoid a warning.David Malone2002-07-287-35/+21
| | | | Notes: svn path=/head/; revision=100822
* Document conformance to IEEE Std 1003.1-2001.Tim J. Robbins2002-05-301-0/+5
| | | | Notes: svn path=/head/; revision=97585
* Sort sections according to mdoc(7).Tim J. Robbins2002-05-301-8/+8
| | | | Notes: svn path=/head/; revision=97583
* Sort entries by locale collating order when -x is specified.Tim J. Robbins2002-05-302-1/+7
| | | | Notes: svn path=/head/; revision=97581
* Create tags for typedefs, structs, unions and enums by default (imply theTim J. Robbins2002-05-302-6/+17
| | | | | | | -t option). Make a new option, -T, to revert to the old behaviour. Notes: svn path=/head/; revision=97577
* Avoid buffer overrun when identifies or filenames are extremely long.Tim J. Robbins2002-05-305-14/+37
| | | | | | | | | | OpenBSD revisions: C.c 1.4-1.5, ctags.c 1.5, fortran.c 1.3, lisp.c 1.3, tree.c 1.2 Obtained from: OpenBSD Notes: svn path=/head/; revision=97574
* Exit non-zero if the tags file cannot be opened.Tim J. Robbins2002-05-271-1/+1
| | | | Notes: svn path=/head/; revision=97331
* Use `The .Nm utility'Philippe Charnier2002-04-191-2/+4
| | | | Notes: svn path=/head/; revision=95083
* remove __PWarner Losh2002-03-225-21/+21
| | | | Notes: svn path=/head/; revision=92920
* Add missing "#include <string.h>" for memcmp, noticed by gcc3.David Malone2002-02-271-0/+1
| | | | Notes: svn path=/head/; revision=91382
* ctags would create a corrupt tags file if the source C file used '//' styleGregory Neil Shapiro2002-02-243-13/+16
| | | | | | | | | | | | | | comments such as: // The main() function Teach ctags about this style of commenting. Submitted by: Eric Allman <eric@Sendmail.ORG> MFC after: 1 week Notes: svn path=/head/; revision=91189
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* add missing <string.h> to give strcpy() a prototypeAndrew Gallatin2002-02-081-0/+1
| | | | Notes: svn path=/head/; revision=90382
* mdoc(7) police overhaul.Ruslan Ermilov2001-12-141-54/+77
| | | | Notes: svn path=/head/; revision=87862
* Remove unused #includes. lex -> Lex, yacc -> Yacc, ... Some .Nm to .EmPhilippe Charnier2001-12-127-35/+32
| | | | | | | | conversions. Sort #includes. Spelling. use errx() instead of err() when explicit message is given. Notes: svn path=/head/; revision=87750
* Style improvements recommended by Bruce as a follow up to someDavid Malone2001-12-107-34/+41
| | | | | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF. Notes: svn path=/head/; revision=87628
* Use __FBSDID().Mark Murray2001-12-037-30/+29
| | | | Notes: svn path=/head/; revision=87249
* WARNS=2 fixup.Mark Murray2001-12-025-8/+8
| | | | Notes: svn path=/head/; revision=87215
* Print a space between the function name and line number.Mike Heffner2001-08-161-1/+1
| | | | | | | | PR: bin/10980 MFC after: 2 weeks Notes: svn path=/head/; revision=81783
* Add $FreeBSD$Mike Heffner2001-08-167-0/+25
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81782
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-4/+4
| | | | Notes: svn path=/head/; revision=68963
* Style change and comment difference per bde.Matt Jacob2000-01-271-4/+7
| | | | | | | | Obtained from:bde@freebsd.org Marionette by:mjacob@freebsd.org Notes: svn path=/head/; revision=56677
* A cleaner fix to previous.Matt Jacob2000-01-271-7/+10
| | | | | | | Obtained from:bde@freebsd.org Notes: svn path=/head/; revision=56666
* Fix ctags from core dumping on alpha. Let the diffs out to review,Matt Jacob2000-01-271-5/+9
| | | | | | | but I timed out. Added FreeBSD CVS header. Notes: svn path=/head/; revision=56663
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Add braces to avoid ambigious else.Bill Fumerola1999-07-021-1/+2
| | | | Notes: svn path=/head/; revision=48465
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-067-7/+8
| | | | Notes: svn path=/head/; revision=41568
* Ctags write to buffer beyond the end of it when the source filePoul-Henning Kamp1998-04-191-1/+1
| | | | | | | | | | | doesn't end with '\n'. It brings segmentation fault. PR: 4812 Reviewed by: phk Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net> Notes: svn path=/head/; revision=35307
* -Wall cleanup.Alexander Langer1997-12-293-3/+3
| | | | Notes: svn path=/head/; revision=32069
* Teach ctags(1) how to handle intermediate whitespace in macrosSteve Price1997-08-231-0/+20
| | | | | | | | | | and function definitions. PR: misc/4128 Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net> Notes: svn path=/head/; revision=28625
* Add usage string. Typo in man page.Philippe Charnier1997-06-302-10/+15
| | | | Notes: svn path=/head/; revision=27097
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Add newline, closes bin/1433Paul Traina1996-07-261-1/+1
| | | | Notes: svn path=/head/; revision=17292
* Fix a bunch of spelling errors in a bunch of man pages.Mike Pritchard1996-01-301-1/+1
| | | | Notes: svn path=/head/; revision=13744
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-2711-0/+1825
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590