aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xlint
Commit message (Collapse)AuthorAgeFilesLines
* FreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT doRuslan Ermilov2002-04-072-10/+6
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=94124
* Later versions of gcc object very strongly to the -C flag being passedPeter Wemm2002-04-071-1/+1
| | | | | | | | as -CC. It makes no difference to gcc in the tree, but this change is necessary for gcc-3.1 to work. Notes: svn path=/head/; revision=94034
* remove __PWarner Losh2002-03-221-1/+3
| | | | Notes: svn path=/head/; revision=92922
* Add an ia64 targparam.hPeter Wemm2002-03-211-0/+54
| | | | Notes: svn path=/head/; revision=92864
* Make lint(1) a cross-tool.Ruslan Ermilov2002-03-206-20/+12
| | | | | | | | | | | | (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). Notes: svn path=/head/; revision=92813
* Build lint libraries.Mark Murray2002-03-171-1/+1
| | | | Notes: svn path=/head/; revision=92490
* Argh, I constantly keep forgetting about these XXX's I put.Ruslan Ermilov2002-03-151-2/+1
| | | | Notes: svn path=/head/; revision=92347
* mdoc(7) police:Ruslan Ermilov2002-03-151-82/+62
| | | | | | | | Restore fixes from revision 1.20 that got lost in revision 1.21 merge. Fixed some more. Notes: svn path=/head/; revision=92345
* Try harder to lint without nonstandard stuff.Mark Murray2002-03-111-0/+1
| | | | Notes: svn path=/head/; revision=92089
* Punt to attic file that moved in latest import.Mark Murray2002-03-111-56/+0
| | | | Notes: svn path=/head/; revision=92088
* Fix a prototype to match our headers. I am not convinced that doingMark Murray2002-03-111-2/+4
| | | | | | | | | | | this in this file is the correct way round. (Maybe our definition of __assert is wrong?) Anyway, perhaps we should revisit this later. For the time being, building lint libraries here does not blow up. Notes: svn path=/head/; revision=92087
* Fix silly one line error. (Half a .if statement left behind).Mark Murray2002-03-111-1/+0
| | | | Notes: svn path=/head/; revision=92085
* Add sparc64 ifdefs.Jake Burkholder2002-03-101-0/+3
| | | | Notes: svn path=/head/; revision=91977
* Completeley revert this to the vendor code. This is in preparation toMark Murray2002-03-071-34/+15
| | | | | | | | | doing some fixing... ...asked for by: bde Notes: svn path=/head/; revision=91818
* Merge conflicts, fix Makefiles and remove (re)moved file(s).Mark Murray2002-03-0317-1328/+1598
| | | | Notes: svn path=/head/; revision=91592
* This commit was generated by cvs2svn to compensate for changes in r91586,Mark Murray2002-03-0338-546/+2343
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=91587
| * Import of NetBSD's (x)lint, snapshotted at 2002-3-3.Mark Murray2002-03-0356-1886/+4045
| | | | | | | | Notes: svn path=/cvs2svn/branches/JPO/; revision=91586
* | WARNS=2 fixes.Mark Murray2001-12-111-1/+1
| | | | | | | | Notes: svn path=/head/; revision=87686
* | Make this build on ia64.Doug Rabson2001-10-091-1/+4
| | | | | | | | Notes: svn path=/head/; revision=84734
* | Expand x{malloc,calloc,realloc,strdup} in-place.David E. O'Brien2001-07-248-79/+169
| | | | | | | | | | | | | | (even found some unchecked naked uses) Notes: svn path=/head/; revision=80284
* | Mark a function as __printflike() and fix a non-exploitable format stringKris Kennaway2001-07-051-1/+1
| | | | | | | | | | | | | | | | | | warning. MFC after: 1 week Notes: svn path=/head/; revision=79307
* | Disable llib. The previous commit does not go anywhere near far enoughPeter Wemm2001-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. Notes: svn path=/head/; revision=76119
* | mdoc(7) police: fix markup.Ruslan Ermilov2001-04-271-111/+94
| | | | | | | | | | | | | | (Shows how powerful new -mdoc is.) Notes: svn path=/head/; revision=76065
* | Remove XXX_BROKEN_GCC from the Makefile.Jeroen Ruigrok van der Werven2001-04-261-3/+0
| | | | | | | | | | | | | | This compiles just fine with recent gcc's. Notes: svn path=/head/; revision=76020
* | Wrap lint calling in a variable.Jeroen Ruigrok van der Werven2001-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. Notes: svn path=/head/; revision=75923
* | Add build-tools target to the description file, requisite of makingJeroen Ruigrok van der Werven2001-04-241-1/+3
| | | | | | | | | | | | | | | | | | lint a build-tool. Also re-enable llib. Notes: svn path=/head/; revision=75922
* | Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and shouldJeroen Ruigrok van der Werven2001-04-234-5/+5
| | | | | | | | | | | | | | | | | | remain so. Submitted by: bde/obrien Notes: svn path=/head/; revision=75882
* | Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and shouldJeroen Ruigrok van der Werven2001-04-2215-15/+15
| | | | | | | | | | | | | | | | | | remain so. Submitted by: bde/obrien Notes: svn path=/head/; revision=75831
* | Aesthetics: fix placement of $NetBSD$ (use space instead of tab)Jeroen Ruigrok van der Werven2001-04-2119-19/+20
| | | | | | | | Notes: svn path=/head/; revision=75782
* | Properly constify the rcsid[].Jeroen Ruigrok van der Werven2001-04-208-8/+16
| | | | | | | | Notes: svn path=/head/; revision=75731
* | Add $FreeBSD$ to the files which didn't have it yet.Jeroen Ruigrok van der Werven2001-04-2011-15/+13
| | | | | | | | | | | | | | Fix the .c files, so that the $FreeBSD$ is contained within the rcsid. [bde] Notes: svn path=/head/; revision=75730
* | Change uses of mktemp() to mkstemp().Jeroen Ruigrok van der Werven2001-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. Notes: svn path=/head/; revision=75710
* | Change SYNOPSIS to use mdoc keeps.Jeroen Ruigrok van der Werven2001-04-191-13/+39
| | | | | | | | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=75707
* | Fix some mdoc usage.Jeroen Ruigrok van der Werven2001-04-191-4/+6
| | | | | | | | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=75706
* | Fix english grammar: then does -> than.Jeroen Ruigrok van der Werven2001-04-191-1/+1
| | | | | | | | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=75705
* | Add a comma after e.g.. This syncs us more with NetBSD and looks moreJeroen Ruigrok van der Werven2001-04-191-2/+2
| | | | | | | | | | | | | | | | | | aesthetically correct. Obtained from: NetBSD Notes: svn path=/head/; revision=75704
* | Fix spelling of comparison (was: comparision).Jeroen Ruigrok van der Werven2001-04-193-16/+22
| | | | | | | | | | | | | | | | | | Add $FreeBSD$. Obtained from: NetBSD/OpenBSD Notes: svn path=/head/; revision=75697
* | mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-181-1/+1
| | | | | | | | Notes: svn path=/head/; revision=75670
* | Do not override `realinstall' target, use ${PROGNAME}.Ruslan Ermilov2001-04-021-5/+1
| | | | | | | | Notes: svn path=/head/; revision=75085
* | MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+2
| | | | | | | | Notes: svn path=/head/; revision=74848
* | mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-1/+1
| | | | | | | | Notes: svn path=/head/; revision=71895
* | Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | | | | | Notes: svn path=/head/; revision=71102
* | Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-0/+1
| | | | | | | | Notes: svn path=/head/; revision=70197
* | Change the spelling of `.' to `.' from .OBJDIR since `.' really is whereDavid E. O'Brien2000-12-051-1/+1
| | | | | | | | | | | | | | generated files land. Also give precedence to generated files. Notes: svn path=/head/; revision=69640
* | The GCC 2.96 snapshots have slightly different rules for finding includeDavid E. O'Brien2000-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.". Notes: svn path=/head/; revision=69453
* | mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-11/+11
| | | | | | | | Notes: svn path=/head/; revision=68963
* | Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-33/+66
| | | | | | | | | | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* | Cosmetic change: space instead of tab in front of $FreeBSD$.Sheldon Hearn2000-01-162-2/+2
| | | | | | | | | | | | | | Submitted by: bde Notes: svn path=/head/; revision=56097
* | Revert previous change, which is reported to have broken world. ISheldon Hearn2000-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> Notes: svn path=/head/; revision=56035
* | Populate /usr/libdata/lint again. David Malone <dwmalone@maths.tcd.ie>Sheldon Hearn2000-01-142-4/+5
| | | | | | | | | | | | | | | | | | is responsible for getting me to look at the NetBSD makefiles. :-) Obtained from: NetBSD Notes: svn path=/head/; revision=55961