Up to [local] / src / usr.bin / xlint / xlint
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.37, Sun Apr 8 16:27:00 2012 UTC (12 years, 1 month ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.36: +1 -1 lines
FILE REMOVED
tedu lint ok tedu@ guenther@ krw@ espie@ deraadt@
Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 21 18:08:07 2011 UTC (12 years, 8 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.35: +1 -5 lines
Diff to previous 1.35 (colored)
remove rcsids which escaped the purge of 2009
Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 9 15:19:03 2011 UTC (12 years, 11 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.34: +8 -5 lines
Diff to previous 1.34 (colored)
Accept and ignore -M so we can pass the same CPPFLAGS to lint and cpp. Makes the kernel lint target work again. ok martynas@, with input from guenther@
Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 3 20:46:31 2010 UTC (14 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.33: +8 -2 lines
Diff to previous 1.33 (colored)
If MACHINE_CPU != MACHINE_ARCH, pass -D__${MACHINE_CPU}__ to the preprocessor. ok kettenis@
Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 20 16:16:44 2007 UTC (17 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)
sort options; sync synopsis and usage(); from Igor Sobrado
Revision 1.32 / (download) - annotate - [select for diffs], Fri Nov 10 00:54:59 2006 UTC (17 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.31: +6 -7 lines
Diff to previous 1.31 (colored)
fix usage message
Revision 1.31 / (download) - annotate - [select for diffs], Sat May 6 20:47:58 2006 UTC (18 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.30: +8 -4 lines
Diff to previous 1.30 (colored)
use mkstemp, remove races wrt lint1 and cpp. (check lint1 and cpp code, they use fopen/freopen to open that temp file, and thus will happily overwrite a symlink) okay cloder@
Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 21 18:24:08 2006 UTC (18 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.29: +8 -4 lines
Diff to previous 1.29 (colored)
On gcc3, specify -CC to the preprocessor (preserve comments even in macro expansios). On gcc 2.95, we can't do this yet because the preprocessor support for -CC is not fully functional yet. OK deraadt@
Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 18 22:34:17 2006 UTC (18 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)
Disable -CC to cpp until cpp 2.95 can handle it properly
Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 17 16:35:05 2006 UTC (18 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)
Pass -CC to cpp, which preserves comments in macros. This gets us __dead code detection and later on, other things.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 8 07:18:51 2006 UTC (18 years, 2 months ago) by moritz
Branch: MAIN
Changes since 1.26: +15 -23 lines
Diff to previous 1.26 (colored)
some cleanup including: o typos in comments o missing #include o remove pointless nomem() func o unused variables o more use of asprintf(3) ok deraadt@
Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 7 08:24:55 2006 UTC (18 years, 3 months ago) by moritz
Branch: MAIN
Changes since 1.25: +7 -5 lines
Diff to previous 1.25 (colored)
Fix NULL deref when doing `lint --'. Successful build with i386 and sparc64.
Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 10 17:51:50 2005 UTC (18 years, 5 months ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)
Add a new lint flag '-f' which, for each warning or error, prints the offending line from the corresponding source code file. The general idea is OK deraadt
Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 6 01:15:31 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)
back out -CC change. It breaks lint on most of our architectures because -CC is something that showed up in a later gcc. This is what happens when a pair of developers do not test on all our architectures.
Revision 1.23 / (download) - annotate - [select for diffs], Fri Dec 2 18:05:52 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)
Add a -y option, undocumented for now, that tells lint to pass -y to lint1. The -y option tells lint1 to output yacc debug information (if it was compiled with YYDEBUG=1).
Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 2 09:07:10 2005 UTC (18 years, 6 months ago) by grunk
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)
make lint invoke cpp with -CC instead of -C, which will cause comments in #define macros to be preserved. This makes way for addition of lint statements to a lot of .h files. ok cloder@
Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 23 18:21:44 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +3 -6 lines
Diff to previous 1.20 (colored)
adjust some default options (mostly, that lint always print full paths in errors/warnings, so that compiling in dirs controlled by .PATH'd Makefiles gives useful errors
Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 23 08:31:28 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +2 -4 lines
Diff to previous 1.19 (colored)
Do not pass -Wtraditional to cpp. If someone wants that, they can force that in other ways. We want good lint messages, not cpp moaning
Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 20 18:23:59 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.18: +6 -6 lines
Diff to previous 1.18 (colored)
Rename basename() to lbasename() to avoid conflict with basename(3).
Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 20 17:42:50 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)
spacing
Revision 1.17 / (download) - annotate - [select for diffs], Sun Nov 20 17:09:55 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.16: +17 -40 lines
Diff to previous 1.16 (colored)
KNF. OK kjell, millert
Revision 1.16 / (download) - annotate - [select for diffs], Tue May 11 02:08:07 2004 UTC (20 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.15: +17 -11 lines
Diff to previous 1.15 (colored)
Just because we get an error running a command doesn't mean that lint should exit -- it may have other files to process. Currently, the exit code is not propagated up to lint's final call to terminate(). Requested by and OK deraadt@
Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 19 21:09:47 2004 UTC (20 years, 3 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)
don't use -$ flag for cpp with gcc 3 and up ok espie@
Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 25 23:22:21 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.13: +6 -5 lines
Diff to previous 1.13 (colored)
sprintf bye bye
Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 14 03:03:53 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.12: +44 -32 lines
Diff to previous 1.12 (colored)
string cleaning; my bugs found by millert and krw
Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 6 11:33:28 2003 UTC (21 years, 5 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)
syncronous -> synchronous
Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 8 03:14:29 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.10: +5 -9 lines
Diff to previous 1.10 (colored)
Avoid using "optind = 0" since its meaning to getopt() is implementation dependent (and there is no good reason to use it in this case anyway).
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 12 06:07:17 2002 UTC (21 years, 11 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)
a real pid_t cleanup. espie@ ok for make/, deraadt@ one extra eye, millert@ ok
Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 14 06:51:42 2002 UTC (22 years, 2 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)
Remove \n from err/errx/warn/warnx(). millert@ ok
Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:59 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.7: +18 -18 lines
Diff to previous 1.7 (colored)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 5 09:42:28 2001 UTC (22 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)
use _exit in signal handler
Revision 1.6 / (download) - annotate - [select for diffs], Wed May 26 16:04:40 1999 UTC (25 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6
Changes since 1.5: +6 -3 lines
Diff to previous 1.5 (colored)
Slight tweaks to account for the new cpp driver.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 4 18:41:36 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)
when mktemp() is hard to fix, use 10 X
Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 13 17:43:48 1996 UTC (27 years, 6 months ago) by michaels
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)
lint should pass on __OpenBSD__ rather than __NetBSD__.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 05:44:31 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)
rcsid
Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 03:11:42 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +115 -70 lines
Diff to previous 1.1 (colored)
update from netbsd
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:47:04 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:47:04 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Initial revision