History log of /freebsd-10.1-release/usr.bin/xlint/lint1/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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


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


250227 04-May-2013 jkim

Improve compatibility with recent flex from flex.sourceforge.net.


240257 09-Sep-2012 joel

Remove clause 3 and 4 from the NetBSD Foundation copyright header, missed
in r203971.


228992 30-Dec-2011 uqs

Spelling fixes for usr.bin/


224702 08-Aug-2011 kevlo

catstrg() does not set the resulting string length.

PR: bin/152549
Submitted by: Henning Petersen <henning dot petersen at t-online dot de>
Approved by: re (hrs)


223262 18-Jun-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


210088 15-Jul-2010 emaste

Remove more extraneous ;s.


206424 09-Apr-2010 rdivacky

Rename the ALIGN macro to LINT_ALIGN so it does not clash with machine/param.h

Bump the alignment to 16bytes because lint1 memory allocator is used for
objects that require 16bytes alignment on amd64 (ie. val_t). This makes
lint1 work when compiled with compiler(s) that use SSE for memcpy on amd64.
(e.g. clang).

Approved by: ed (mentor)


204872 08-Mar-2010 jh

Pass the correct size to memset().

PR: bin/128094
Submitted by: Henning Petersen
MFC after: 1 week


203971 16-Feb-2010 imp

The NetBSD Foundation has granted permission to remove clause 3 and 4
from their software.

Obtained from: NetBSD


177927 04-Apr-2008 imp

MFp4(mips2-jnpr):

Add mips support.


177626 26-Mar-2008 brueffer

Fix some "in in" typos in comments.

PR: 121490
Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by: rwatson (mentor), jkoshy
MFC after: 3 days


165628 29-Dec-2006 yar

Fix a group of typos:
preceed -> precede,
preceeded -> preceded,
preceeding -> preceding.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>


148723 05-Aug-2005 stefanf

Include <err.h> where needed. Add $FreeBSD$ where missing.


129223 14-May-2004 cognet

Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for arm.


125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


115967 07-Jun-2003 obrien

Consistently use __inline for pure c89 compilers.

Submitted by: Tim Kientzle <kientzle@acm.org>


114831 08-May-2003 peter

Add amd64 settings.

Approved by: re (scottl)


108532 01-Jan-2003 schweikh

Fix typos; add FreeBSD Id where missing.


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


107749 11-Dec-2002 ru

mdoc(7) police: overhaul.

Approved by: re


107748 11-Dec-2002 ru

mdoc(7) police: Fixed the declaration of the -column list.

Approved by: re


107716 09-Dec-2002 benno

Teach lint about powerpc.

Approved by: re (rwatson)


105788 23-Oct-2002 ru

Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.

Spotted by: fjoe


103436 17-Sep-2002 peter

Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha


100364 19-Jul-2002 markm

Merge conflicts.


96147 07-May-2002 ru

Make sure the file in Attic is really "dead".

Problem found by: ken


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}/.


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


92922 22-Mar-2002 imp

remove __P


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).


92088 11-Mar-2002 markm

Punt to attic file that moved in latest import.


91977 10-Mar-2002 jake

Add sparc64 ifdefs.


91592 03-Mar-2002 markm

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


91587 03-Mar-2002 markm

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


84734 09-Oct-2001 dfr

Make this build on ia64.


80284 24-Jul-2001 obrien

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


79307 05-Jul-2001 kris

Mark a function as __printflike() and fix a non-exploitable format string
warning.

MFC after: 1 week


76020 26-Apr-2001 asmodai

Remove XXX_BROKEN_GCC from the Makefile.
This compiles just fine with recent gcc's.


75831 22-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[].


75730 20-Apr-2001 asmodai

Add $FreeBSD$ to the files which didn't have it yet.

Fix the .c files, so that the $FreeBSD$ is contained within the rcsid. [bde]


75697 19-Apr-2001 asmodai

Fix spelling of comparison (was: comparision).

Add $FreeBSD$.

Obtained from: NetBSD/OpenBSD


69640 05-Dec-2000 obrien

Change the spelling of `.' to `.' from .OBJDIR since `.' really is where
generated files land. Also give precedence to generated files.


69453 01-Dec-2000 obrien

The GCC 2.96 snapshots have slightly different rules for finding include
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


50351 25-Aug-1999 dt

Declaration of strtouq() is not missing from stdlib.h, so don't redeclare
it.


35744 05-May-1998 bde

Put y.tab.h back in SRCS. This used to be the best way to get
dependencies on y.tab.h generated. It will soon be used to tell
bsd.dep.mk that y.tab.h itself needs to be generated.


35708 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules.


34127 06-Mar-1998 bde

Fixed `make -jN' for large N. Just put the generated file y.tab.h in
SRCS and add a dummy rule to create it. This and cleaning of yacc
output files should all be handled by bsd.prog.mk.


26582 12-Jun-1997 tegge

Work around a gcc bug (causing false warnings about integral constant being too large, even when the integral constant was e.g. 1).


21786 16-Jan-1997 alex

Sweep through the tree fixing mmap() usage:

- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.

Discussed with: bde


17142 12-Jul-1996 jkh

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


16073 02-Jun-1996 phk

Backout yacc changes.


16053 01-Jun-1996 bde

Finished yacc rules changes.


16022 30-May-1996 phk

yacc rules change.


15158 09-Apr-1996 mpp

Do not include math.h because it isn't used and it causes
"make world" to fail if you use the msun math library and
blow away /usr/include and then do "make world". This is because
the msun math.h isn't installed with the other include files before
xlint is built. It finally gets installed when the msun library
is built.

Perhaps "make world" should install the msun math.h file if
it doesn't install the CSRG math.h, to prevent problems
like this in the future.


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.