moraes@cs.toronto.edu (Mark Moraes) (09/11/90)
Archive-name: printfck/08-Sep-90 Original-posting-by: moraes@cs.toronto.edu (Mark Moraes) Original-subject: Re: Lint like util for printf and friends Archive-site: uunet.uu.net [192.48.96.2] Archive-directory: nutshell/lint Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti) srp@babar.mmwb.ucsf.edu (Scott R. Presnell) writes: > Does anyone know of a lint like tool that will check the matchup of >the format string of printf (or any varargs function /w a format string) to >it's arguments? I'd like to get ahold of such a utilitiy. comp.sources.unix (then mod.sources), Volume6, Issue 21 was printfck2 which is probably what you're looking for. Get it by anon. ftp or uucp from your friendly neighbourhood c.s.u archive site (uunet.uu.net, osu-cis, gatekeeper.dec.com, ...) [That version was an enhancement by liam@cs.qmc.ac.uk (William Roberts) from the earlier version in v.4 from guido@mcvax.UUCP (Guido van Rossum), which was an enhancement of the original from aeb@mcvax.UUCP (Andries Brouwer) in net.sources, April 85. I mention this because Andries' name seems to have gotten lost in the mists of time -- printfck2 just bears his initials, so Ed may as well archive this trivia for posterity :-] A version of the net.sources program, modified by Ian Darwin, can be found in nutshell/lint/printfck.tar.Z -- he refers to it in his Nutshell book on lint. Mark