Mark Murray
1dd991a05b
If lint(1) is not "lint", don't try to lint the xlint compat-libs. A
...
third-party lint is probably being used.
2003-06-15 13:03:37 +00:00
David E. O'Brien
d104f0300a
Consistently use __inline for pure c89 compilers.
...
Submitted by: Tim Kientzle <kientzle@acm.org>
2003-06-07 18:12:30 +00:00
Peter Wemm
203fc38a60
Add amd64 settings.
...
Approved by: re (scottl)
2003-05-08 06:33:49 +00:00
David E. O'Brien
b47c8cc7d2
No, forget about rev 1.24. My system wasn't virgin enough when I tested that.
...
Restore rev 1.23.
2003-05-03 23:15:09 +00:00
David E. O'Brien
83ddb07b8f
Forget about rev 1.23. -$ is now spelled -fno-dollars-in-identifiers.
...
Submitted by: kan
2003-05-03 19:57:36 +00:00
David E. O'Brien
804388bb2e
GCC 3.3's cpplib does not impliment -$ (forbid the use of $ in identifiers).
2003-05-03 19:50:41 +00:00
Jens Schweikhardt
3724136741
Fix typos; add FreeBSD Id where missing.
2003-01-01 18:13:45 +00:00
Jens Schweikhardt
d64ada501a
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Ruslan Ermilov
749757ed33
mdoc(7) police: overhaul.
...
Approved by: re
2002-12-11 17:13:09 +00:00
Ruslan Ermilov
86c8719212
mdoc(7) police: Fixed the declaration of the -column list.
...
Approved by: re
2002-12-11 16:59:01 +00:00
Benno Rice
894dbc508a
Teach lint about powerpc.
...
Approved by: re (rwatson)
2002-12-09 23:27:47 +00:00
Ruslan Ermilov
f2177c5f62
mdoc(7) police:
...
Restore (once again) my fixes from revision 1.20 that got lost in
revision 1.25 merge.
Approved by: re
2002-11-26 15:32:04 +00:00
Ruslan Ermilov
642b1db169
Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.
...
Spotted by: fjoe
2002-10-23 12:05:27 +00:00
Peter Wemm
66422f5b7a
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
2002-09-17 01:49:00 +00:00
Ian Dowse
83c5a3b583
If the CC environment variable contains multiple words then split
...
it up into separate exec arguments.
Reviewed by: markm
2002-09-01 12:49:27 +00:00
Mark Murray
095dcf9966
Merge conflicts.
2002-07-19 16:38:21 +00:00
Mark Murray
a440a601c1
This commit was generated by cvs2svn to compensate for changes in r100360,
...
which included commits to RCS files with non-trunk default branches.
2002-07-19 15:19:23 +00:00
Mark Murray
e07f5fa8bb
Snapshot of NetBSD's (x)lint. Little functionality, just some code
...
tidy-ups.
2002-07-19 15:19:23 +00:00
Poul-Henning Kamp
0c33afd77a
#include <sys/time.h> before <sys/stat.h> to get timespec.
2002-06-21 09:23:12 +00:00
Ruslan Ermilov
b7a6ce1b2f
Make sure the file in Attic is really "dead".
...
Problem found by: ken
2002-05-07 06:57:04 +00:00
Dag-Erling Smørgrav
d397408818
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}/.
2002-04-22 13:44:47 +00:00
Philippe Charnier
e8937ba009
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
Ruslan Ermilov
d172a32147
Don't unnecessarily include bsd.own.mk.
...
(This is apparently required in NetBSD).
2002-04-15 09:37:12 +00:00
Ruslan Ermilov
ff9ed61c93
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
2002-04-07 16:53:47 +00:00
Peter Wemm
e3bcba7879
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.
2002-04-07 06:28:38 +00:00
Warner Losh
3f330d7d1a
remove __P
2002-03-22 01:42:45 +00:00
Peter Wemm
c4527df028
Add an ia64 targparam.h
2002-03-21 07:33:31 +00:00
Ruslan Ermilov
bd42830f0f
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).
2002-03-20 18:25:50 +00:00
Mark Murray
81ebb8b094
Build lint libraries.
2002-03-17 10:00:56 +00:00
Ruslan Ermilov
48851764f9
Argh, I constantly keep forgetting about these XXX's I put.
2002-03-15 17:01:05 +00:00
Ruslan Ermilov
8f5d6dadb2
mdoc(7) police:
...
Restore fixes from revision 1.20 that got lost in revision 1.21 merge.
Fixed some more.
2002-03-15 16:44:52 +00:00
Mark Murray
cae6f50f5a
Try harder to lint without nonstandard stuff.
2002-03-11 11:32:55 +00:00
Mark Murray
724badfb6e
Punt to attic file that moved in latest import.
2002-03-11 11:28:56 +00:00
Mark Murray
7af8da4178
Fix a prototype to match our headers. I am not convinced that doing
...
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.
2002-03-11 11:26:17 +00:00
Mark Murray
40a2924f9a
Fix silly one line error. (Half a .if statement left behind).
2002-03-11 11:20:45 +00:00
Jake Burkholder
c57dee1fd1
Add sparc64 ifdefs.
2002-03-10 01:34:22 +00:00
Mark Murray
81fcc44b70
Completeley revert this to the vendor code. This is in preparation to
...
doing some fixing...
...asked for by: bde
2002-03-07 16:45:41 +00:00
Mark Murray
f84f50e683
Merge conflicts, fix Makefiles and remove (re)moved file(s).
2002-03-03 15:12:50 +00:00
Mark Murray
fdd1668006
Import of NetBSD's (x)lint, snapshotted at 2002-3-3.
2002-03-03 13:17:00 +00:00
Mark Murray
675d3eb019
This commit was generated by cvs2svn to compensate for changes in r91586,
...
which included commits to RCS files with non-trunk default branches.
2002-03-03 13:17:00 +00:00
Mark Murray
313750d480
WARNS=2 fixes.
2001-12-11 22:52:36 +00:00
Doug Rabson
8503f9516f
Make this build on ia64.
2001-10-09 20:04:02 +00:00
David E. O'Brien
3c5bf66cec
Expand x{malloc,calloc,realloc,strdup} in-place.
...
(even found some unchecked naked uses)
2001-07-24 14:02:07 +00:00
Kris Kennaway
013fab318c
Mark a function as __printflike() and fix a non-exploitable format string
...
warning.
MFC after: 1 week
2001-07-05 10:08:25 +00:00
Peter Wemm
c8c08ef0e5
Disable llib. The previous commit does not go anywhere near far enough
...
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.
2001-04-29 03:19:58 +00:00
Ruslan Ermilov
3520eff8da
mdoc(7) police: fix markup.
...
(Shows how powerful new -mdoc is.)
2001-04-27 10:13:20 +00:00
Jeroen Ruigrok van der Werven
c27ec88714
Remove XXX_BROKEN_GCC from the Makefile.
...
This compiles just fine with recent gcc's.
2001-04-26 09:44:41 +00:00
Jeroen Ruigrok van der Werven
b94ea15307
Wrap lint calling in a variable.
...
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.
2001-04-24 20:23:37 +00:00
Jeroen Ruigrok van der Werven
e41281f1d2
Add build-tools target to the description file, requisite of making
...
lint a build-tool.
Also re-enable llib.
2001-04-24 20:20:41 +00:00
Jeroen Ruigrok van der Werven
9dabdff52e
Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
...
remain so.
Submitted by: bde/obrien
2001-04-23 20:07:21 +00:00