Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!sdcsvax!sdcrdcf!jonab From: jonab@sdcrdcf.UUCP (Jonathan Biggar) Newsgroups: net.bugs.4bsd Subject: bug in lint front end shell script Message-ID: <1863@sdcrdcf.UUCP> Date: Tue, 26-Mar-85 14:45:40 EST Article-I.D.: sdcrdcf.1863 Posted: Tue Mar 26 14:45:40 1985 Date-Received: Sat, 30-Mar-85 00:39:43 EST Reply-To: jonab@sdcrdcf.UUCP (Jonathan Biggar) Organization: System Development Corp. R+D, Santa Monica Lines: 23 Index: /usr/src/usr.bin/lint/SHELL, /usr/bin/lint An argument to lint that starts with a '-' and contains an 'n' or a 'p' will always turn on the -n or -p flags. For example, if the argument was '-I/usr/include/sys', the -n flag will be turned on, because 'include' has an 'n'. Fix: (This is only verified for 4.2bsd systems, although other systems likely have this bug.) add the line marked '+' to the first case statement in the lint front end shell script: case $A in + -[IDOUlC]*) ;; -*n*) P= ;; -*p*) P=port ;; esac Jon Biggar {allegra,burdvax,cbosgd,hplabs,ihnp4,sdccsu3}!sdcrdcf!jonab