OpenBSD CVS

CVS log for src/usr.bin/xlint/lint2/Attic/chk.c


[BACK] Up to [local] / src / usr.bin / xlint / lint2

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27, Sun Apr 8 16:27:00 2012 UTC (12 years, 2 months ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +1 -1 lines
FILE REMOVED

tedu lint
ok tedu@ guenther@ krw@ espie@ deraadt@

Revision 1.26 / (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.25: +1 -5 lines
Diff to previous 1.25 (colored)

remove rcsids which escaped the purge of 2009

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 3 18:15:10 2011 UTC (12 years, 11 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.24: +6 -25 lines
Diff to previous 1.24 (colored)

Update floating-point format specifier checks;  the situation has
gotten better.  %E, %F, %G are OK to use.  Also recognize %a, %A.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 20 13:33:47 2011 UTC (12 years, 11 months ago) by martynas
Branch: MAIN
Changes since 1.23: +6 -4 lines
Diff to previous 1.23 (colored)

Teach lint about %F, %A, %a format specifiers.
OK millert@.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 20 13:29:09 2011 UTC (12 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.22: +2 -7 lines
Diff to previous 1.22 (colored)

Revert rev 1.21 which is superceded by 1.22

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 20 13:27:07 2011 UTC (12 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Prevent lint from warning about %m in C format strings.  Quiets
false positives when check syslog(3) format strings that use %m.
OK tedu@ martynas@

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 18 22:29:59 2011 UTC (12 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.20: +7 -2 lines
Diff to previous 1.20 (colored)

the %m argument as used by syslog does not eat an argument, so skip over it.
ok martynas

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 31 22:27:54 2011 UTC (13 years ago) by martynas
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Lint didn't take into account padding of LDOUBLE, LDCOMPLEX,
LDIMAGINARY, therefore was doing portability checks against a
non-existent architecture.

Make psizes of the mentioned types 128-bits for portability checks.
(since it's rarer).

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 31 21:25:30 2011 UTC (13 years ago) by martynas
Branch: MAIN
Changes since 1.18: +6 -6 lines
Diff to previous 1.18 (colored)

Make tt_domain = 3 (complex), not 1 (real) for the complex types
(COMPLEX, DCOMPLEX, LDCOMPLEX).

While at it, _Complex float -> float _Complex since that's the type
defined by C99.

OK millert@.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 27 20:07:56 2010 UTC (13 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored)

Fix compilation on gcc2 platforms, where _Bool and _Complex aren't
built into the compiler and instead have to be gotten from stdbool.h
and complex.h

Problem noted by miod@, fix by deraadt@

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 24 22:17:03 2010 UTC (13 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.16: +17 -2 lines
Diff to previous 1.16 (colored)

Teach lint about C99's _Bool and _Complex, plus some related gcc
extensions: __real__ and __imag__ operators, the use of '~' for
complex conjugation, and 'i' or 'j' as a suffix for complex constants.
While this doesn't handle folding and overflow detection for complex
constants correctly, it's good enough to make it through libm...and
found several bugs once it could do so.

"no objections" miod@, krw@

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 26 00:36:04 2007 UTC (17 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, 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.15: +3 -3 lines
Diff to previous 1.15 (colored)

More comment typos from Diego Casati. Including winners like funtion, allmost,
oustside, seqencer, toghether, nessissary, etc.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 9 19:37:00 2006 UTC (17 years, 11 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

*enty->*ently where applicable

Revision 1.14 / (download) - annotate - [select for diffs], Mon May 29 20:47:22 2006 UTC (18 years ago) by cloder
Branch: MAIN
Changes since 1.13: +14 -19 lines
Diff to previous 1.13 (colored)

Get rid of -t (traditional C) option. Some corrections by moritz.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 25 01:25:41 2006 UTC (18 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.12: +25 -25 lines
Diff to previous 1.12 (colored)

Rather than use the psize() macro everywhere (portable size macro which
only makes sense when -p option is specified to lint), add a new concept
and macro called rank(), which corresponds to the C99 definition of rank
for integral types. This has one main benefit, which is that on ILP32
platforms, if -p was not specified, lint did not warn when the code
converted from long to int, because they are the same size. This is
fixed.

While here, get rid of a false positive with warning 259, when converting
from an unsigned char to an int, for example.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 10 20:26:10 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.11: +37 -37 lines
Diff to previous 1.11 (colored)

Make the style of these messages more like that of gcc messages.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 1 05:06:40 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.10: +8 -2 lines
Diff to previous 1.10 (colored)

Make lint quieter by only warning on "foo declared but never used or
defined" when foo is declared in the translation unit that lint is working
on.  This means that symbols that are declared in an included header file
don't get this warning, ever.

Revision 1.10 / (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.9: +5 -5 lines
Diff to previous 1.9 (colored)

spacing

Revision 1.9 / (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.8: +25 -71 lines
Diff to previous 1.8 (colored)

KNF. OK kjell, millert

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:35 2002 UTC (22 years, 3 months 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, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.7: +6 -8 lines
Diff to previous 1.7 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.7 / (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.6: +18 -18 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Mon Nov 19 19:22:43 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

more than typo

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 29 03:14:51 1998 UTC (25 years, 10 months ago) by millert
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, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

fix some initialization; ITOH Yasufumi <yasufu-i@is.aist-nara.ac.jp>

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 27 16:53:43 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

s/comparision/comparison/g; netbsd

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 8 08:43:17 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

fix for sometimes/always ignored status; cato@ulysses.df.lth.se

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:44:21 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:47:03 1995 UTC (28 years, 8 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:03 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.