History log of /freebsd-10-stable/usr.bin/xlint/xlint/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
281168 06-Apr-2015 pfg

MFC r280387:
xlint: update.

Bring some important updates from NetBSD up to about 2008/04/25.
The main feature is initial support for C99.

Obtained from: NetBSD

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


228992 30-Dec-2011 uqs

Spelling fixes for usr.bin/


227123 05-Nov-2011 jilles

lint: Fix lseek() argument order.

Because SEEK_SET is 0, this seems to have no effect on the generated code.

PR: bin/160806
Submitted by: Henning Petersen <henning dot petersen at t-online dot de>
Obtained from: NetBSD


201725 07-Jan-2010 dwmalone

This now passes a make universe with WARNS=6.


201610 05-Jan-2010 dwmalone

1) Make usage() as dead2 - it helps the compiler know that some vars
are not used uninitialised.
2) Fix some constness problems.
3) Avoid a signedness problem by casting to size_t. If bn != stuff,
than stuff-1-bn should be > 0.


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


162493 21-Sep-2006 kan

Pass "-Wtraditional -Wno-system-headers" to compiler as two separate
arguments. GCC4 was unhappy with them combined, while GCC 3.4 did
not care.


141846 13-Feb-2005 ru

Expand *n't contractions.


121528 26-Oct-2003 peter

Move the -Wtraditional warning from the global cpp flags to when the -p
(portability warnings) switch is used. Add -Wno-system-headers after it so
that we dont get 500 screenfulls of warnings about #elif in /usr/include.
I'm not entirely happy with this. Maybe cdefs.h shouldn't use #elif and
instead nest #else clauses?


114617 03-May-2003 obrien

No, forget about rev 1.24. My system wasn't virgin enough when I tested that.
Restore rev 1.23.


114597 03-May-2003 obrien

Forget about rev 1.23. -$ is now spelled -fno-dollars-in-identifiers.

Submitted by: kan


114596 03-May-2003 obrien

GCC 3.3's cpplib does not impliment -$ (forbid the use of $ in identifiers).


107268 26-Nov-2002 ru

mdoc(7) police:

Restore (once again) my fixes from revision 1.20 that got lost in
revision 1.25 merge.

Approved by: re


102770 01-Sep-2002 iedowse

If the CC environment variable contains multiple words then split
it up into separate exec arguments.

Reviewed by: markm


100364 19-Jul-2002 markm

Merge conflicts.


95258 22-Apr-2002 des

Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.


95124 20-Apr-2002 charnier

Use `The .Nm utility'


94124 07-Apr-2002 ru

FreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT do
not have setprogname(3) and getprogname(3), and we need to build
lint(1) as a cross-tool to bootstrap. Versions from lib/libc/gen
can't be compiled either.

PR: bin/36747


94034 07-Apr-2002 peter

Later versions of gcc object very strongly to the -C flag being passed
as -CC. It makes no difference to gcc in the tree, but this change is
necessary for gcc-3.1 to work.


92813 20-Mar-2002 ru

Make lint(1) a cross-tool.

(See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong
with enabling build of lint libraries in rev. 1.12.)

This fixes cross-arch compiles (running binaries for a different arch
when generating lint.7 and lint libraries) and cross-branch compiles
(4.x -> 5.0 buildworld should be working again).


92347 15-Mar-2002 ru

Argh, I constantly keep forgetting about these XXX's I put.


92345 15-Mar-2002 ru

mdoc(7) police:

Restore fixes from revision 1.20 that got lost in revision 1.21 merge.
Fixed some more.


92089 11-Mar-2002 markm

Try harder to lint without nonstandard stuff.


91818 07-Mar-2002 markm

Completeley revert this to the vendor code. This is in preparation to
doing some fixing...

...asked for by: bde


91592 03-Mar-2002 markm

Merge conflicts, fix Makefiles and remove (re)moved file(s).


87686 11-Dec-2001 markm

WARNS=2 fixes.


80284 24-Jul-2001 obrien

Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)


76065 27-Apr-2001 ru

mdoc(7) police: fix markup.
(Shows how powerful new -mdoc is.)


75882 23-Apr-2001 asmodai

Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by: bde/obrien


75782 21-Apr-2001 asmodai

Aesthetics: fix placement of $NetBSD$ (use space instead of tab)


75731 20-Apr-2001 asmodai

Properly constify the rcsid[].


75710 19-Apr-2001 asmodai

Change uses of mktemp() to mkstemp().

Call cc -E, not cpp, this allows lint to be unaware of any
machine-dependent defines that cc(1) may normally define.

Change fork() to vfork() and exit() to _exit().

Reuse temporary file so that multiple files passed can be processed without
problems.


75707 19-Apr-2001 asmodai

Change SYNOPSIS to use mdoc keeps.

Obtained from: NetBSD


75706 19-Apr-2001 asmodai

Fix some mdoc usage.

Obtained from: NetBSD


75705 19-Apr-2001 asmodai

Fix english grammar: then does -> than.

Obtained from: NetBSD


75704 19-Apr-2001 asmodai

Add a comma after e.g.. This syncs us more with NetBSD and looks more
aesthetically correct.

Obtained from: NetBSD


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


75085 02-Apr-2001 ru

Do not override `realinstall' target, use ${PROGNAME}.


74848 27-Mar-2001 ru

MAN[1-9] -> MAN.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


71102 16-Jan-2001 ru

Prepare for mdoc(7)NG.


70197 19-Dec-2000 ru

Prepare for mdoc(7)NG.


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


57670 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


55959 14-Jan-2000 sheldonh

Fix lint for the new cpp. Lint is still broken in other ways, but
this at least allows the use of lint -i on single files again.

Fiddled rcsid to satisfy commitprep.pl; the original NetBSD tag
is still in the comments.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48792 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
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


43191 25-Jan-1999 eivind

Use __XSTRING() from cdefs.h instead of rolling my own.


43104 23-Jan-1999 eivind

I may have forgotten to upgrade this value, but that will never happen
again. (Fully clone the value of __FreeBSD__ from the compiler.)


43097 23-Jan-1999 jhay

__FreeBSD__ is also used here.

Forgotten by: Lots of people.
Pointed out by: make world.


34801 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


23711 11-Mar-1997 peter

Cope with the possibility of __FreeBSD__ = 3


18549 28-Sep-1996 wosch

.Os NetBSD -> .Os FreeBSD.
The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.


17142 12-Jul-1996 jkh

General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>


16306 11-Jun-1996 alex

Fix a couple of minor typos. Closes PR 1309.

Reviewed by: alex
Submitted by: jraynard


15082 07-Apr-1996 mpp

Correct some man page cross references and file location references.


13948 06-Feb-1996 wosch

replace 'install' with ${INSTALL}


12134 06-Nov-1995 joerg

Well, Jochen adopted most of my submissions. So only the different
style of error reporting (i prefer gcc style to be consistent with the
compiler) is left, plus a minor nit he's most likely been overlooking.

There are still problems with bootstrapping, and you should expect
troubles when linting libc...


12100 05-Nov-1995 joerg

This commit was generated by cvs2svn to compensate for changes in r12099,
which included commits to RCS files with non-trunk default branches.