Bug 18326 - no /usr/libdata/lint/llib-lc.ln
Summary: no /usr/libdata/lint/llib-lc.ln
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 3.4-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-01 15:40 UTC by mark tinguely
Modified: 2017-12-29 23:40 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (400 bytes, patch)
2000-05-01 15:40 UTC, mark tinguely
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mark tinguely 2000-05-01 15:40:00 UTC
	the lint library for libc is not distributed with lint(1).

Fix: change to /usr/src/usr.bin/xlint/llib/Makefile:

How-To-Repeat: 
	run lint on any C code that uses libc
Comment 1 Sheldon Hearn freebsd_committer 2000-08-07 14:49:23 UTC
Responsible Changed
From-To: freebsd-bugs->dwmalone

David has some local patches in this area of the tree 
and was seen hinting that he might tackle lint at some 
stage. :-)
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2012-07-10 04:41:34 UTC
Responsible Changed
From-To: dwmalone->freebsd-bugs

over to the pool (approved by bugmeister)
Comment 3 Enji Cooper freebsd_committer 2015-11-10 09:49:41 UTC
I could be wrong, but I think this will fix the issue:

$ svn diff .
Index: Makefile
===================================================================
--- Makefile    (revision 290633)
+++ Makefile    (working copy)
@@ -1,7 +1,7 @@
 #      $NetBSD: Makefile,v 1.7 2000/06/14 20:22:19 matt Exp $
 # $FreeBSD$
 
-LIBS=  llib-lposix.ln llib-lstdc.ln
+LIBS=  llib-lposix.ln llib-lstdc.ln llib-lc.ln
 
 FILES= ${LIBS}
 FILESDIR= ${LINTLIBDIR}
@@ -14,6 +14,9 @@
 llib-lstdc.ln: llib-lstdc
        ${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
 
+llib-lc.ln: llib-lstdc
+       ${LINT} ${LINTFLAGS} -Cc ${.ALLSRC}
+
 .include <bsd.prog.mk>
 
 .if ${MK_META_MODE} == "yes"
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-29 23:40:38 UTC
xlint(1) was removed in r325893