summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
Commit message (Collapse)AuthorAgeFilesLines
* Expand x{malloc,calloc,realloc,strdup} in-place.obrien2001-07-248-79/+169
| | | | (even found some unchecked naked uses)
* Mark a function as __printflike() and fix a non-exploitable format stringkris2001-07-051-1/+1
| | | | | | warning. MFC after: 1 week
* Disable llib. The previous commit does not go anywhere near far enoughpeter2001-04-291-1/+1
| | | | | | | | | | | to enable this. 1: it was running xlint out of the object directory, which is not safe (ie: run a 5.x binary on a 4.x world - no libc.so.5, or run an alpha binary on x86). 2: lint has /usr/libexec/lint1 and /usr/libexec/lint2 hard coded in. This is the same as problem 1. 3: lint has got /usr/bin/cc hard coded in as well. Also, see problem 1. There are probably more problems, but these are enough of a showstopper.
* mdoc(7) police: fix markup.ru2001-04-271-111/+94
| | | | (Shows how powerful new -mdoc is.)
* Remove XXX_BROKEN_GCC from the Makefile.asmodai2001-04-261-3/+0
| | | | This compiles just fine with recent gcc's.
* Wrap lint calling in a variable.asmodai2001-04-241-2/+3
| | | | | | | | | Set LINT to the obj path, since we need to use the new lint's features to create .ln files. We do not want to use the installed version for that, since that might create files according to the old lint. This is still a work in progress to clean this all up, but it gets through buildworld, which was the problem at hand.
* Add build-tools target to the description file, requisite of makingasmodai2001-04-241-1/+3
| | | | | | lint a build-tool. Also re-enable llib.
* Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and shouldasmodai2001-04-234-5/+5
| | | | | | remain so. Submitted by: bde/obrien
* Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and shouldasmodai2001-04-2215-15/+15
| | | | | | remain so. Submitted by: bde/obrien
* Aesthetics: fix placement of $NetBSD$ (use space instead of tab)asmodai2001-04-2119-19/+20
|
* Properly constify the rcsid[].asmodai2001-04-208-8/+16
|
* Add $FreeBSD$ to the files which didn't have it yet.asmodai2001-04-2011-15/+13
| | | | Fix the .c files, so that the $FreeBSD$ is contained within the rcsid. [bde]
* Change uses of mktemp() to mkstemp().asmodai2001-04-192-57/+72
| | | | | | | | | | 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.
* Change SYNOPSIS to use mdoc keeps.asmodai2001-04-191-13/+39
| | | | Obtained from: NetBSD
* Fix some mdoc usage.asmodai2001-04-191-4/+6
| | | | Obtained from: NetBSD
* Fix english grammar: then does -> than.asmodai2001-04-191-1/+1
| | | | Obtained from: NetBSD
* Add a comma after e.g.. This syncs us more with NetBSD and looks moreasmodai2001-04-191-2/+2
| | | | | | aesthetically correct. Obtained from: NetBSD
* Fix spelling of comparison (was: comparision).asmodai2001-04-193-16/+22
| | | | | | Add $FreeBSD$. Obtained from: NetBSD/OpenBSD
* mdoc(7) police: normalize .Nd.ru2001-04-181-1/+1
|
* Do not override `realinstall' target, use ${PROGNAME}.ru2001-04-021-5/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+2
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-191-0/+1
|
* Change the spelling of `.' to `.' from .OBJDIR since `.' really is whereobrien2000-12-051-1/+1
| | | | generated files land. Also give precedence to generated files.
* The GCC 2.96 snapshots have slightly different rules for finding includeobrien2000-12-011-1/+1
| | | | | | | 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.".
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-11/+11
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-33/+66
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Cosmetic change: space instead of tab in front of $FreeBSD$.sheldonh2000-01-162-2/+2
| | | | Submitted by: bde
* Revert previous change, which is reported to have broken world. Isheldonh2000-01-151-1/+1
| | | | | | | | did test this through a ``make world'', but of course I already had a working lint binary (one that does not call cpp -undef) installed. Reported by: "Pierre Y. Dampure" <Pierre.Dampure@barclayscapital.com>
* Populate /usr/libdata/lint again. David Malone <dwmalone@maths.tcd.ie>sheldonh2000-01-142-4/+5
| | | | | | is responsible for getting me to look at the NetBSD makefiles. :-) Obtained from: NetBSD
* Fix lint for the new cpp. Lint is still broken in other ways, butsheldonh2000-01-141-2/+1
| | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Declaration of strtouq() is not missing from stdlib.h, so don't redeclaredt1999-08-251-3/+0
| | | | it.
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+2
| | | | | | | | | | | | | | | | | 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
* Use __XSTRING() from cdefs.h instead of rolling my own.eivind1999-01-251-7/+1
|
* I may have forgotten to upgrade this value, but that will never happeneivind1999-01-231-6/+8
| | | | again. (Fully clone the value of __FreeBSD__ from the compiler.)
* __FreeBSD__ is also used here.jhay1999-01-231-1/+3
| | | | | Forgotten by: Lots of people. Pointed out by: make world.
* Put y.tab.h back in SRCS. This used to be the best way to getbde1998-05-051-1/+2
| | | | | 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.
* Fixed races in `make -jN' using new yacc rules.bde1998-05-041-6/+2
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-1/+1
|
* Fixed `make -jN' for large N. Just put the generated file y.tab.h inbde1998-03-061-1/+3
| | | | | SRCS and add a dummy rule to create it. This and cleaning of yacc output files should all be handled by bsd.prog.mk.
* Work around a gcc bug (causing false warnings about integral constant being ↵tegge1997-06-121-0/+11
| | | | too large, even when the integral constant was e.g. 1).
* Cope with the possibility of __FreeBSD__ = 3peter1997-03-111-1/+3
|
* Sweep through the tree fixing mmap() usage:alex1997-01-162-2/+2
| | | | | | | | | | | | - 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
* .Os NetBSD -> .Os FreeBSD.wosch1996-09-281-1/+1
| | | | The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.
* General -Wall warning cleanup, part I.jkh1996-07-125-0/+10
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Fix a couple of minor typos. Closes PR 1309.alex1996-06-111-3/+3
| | | | | Reviewed by: alex Submitted by: jraynard
* Backout yacc changes.phk1996-06-024-4/+4
|
* Finished yacc rules changes.bde1996-06-011-1/+1
|
OpenPOWER on IntegriCloud