Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!sun-barr!apple!agate!shelby!csli!poser From: poser@csli.Stanford.EDU (Bill Poser) Newsgroups: comp.std.c Subject: Re: prototypes required ? Keywords: printf stdargs prototypes Message-ID: <15973@csli.Stanford.EDU> Date: 23 Oct 90 07:37:11 GMT References: <14164@smoke.BRL.MIL> <2150@lupine.NCD.COM> <27066@mimsy.umd.edu> <2173@lupine.NCD.COM> <27098@mimsy.umd.edu> Reply-To: poser@csli.stanford.edu (Bill Poser) Organization: Center for the Study of Language and Information, Stanford U. Lines: 14 In article <27098@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes: >I still find it hard to believe that someone would not test something >as basic as vprintf (or at least vfprintf---in my implementation, all >the printf routines eventually call vfprintf). This is sort of like >sending a car to the dealer and forgetting to put in an engine. Surely >*someone* would notice before selling the thing? One untested library function is nothing at all. I've seen a whole compiler that didn't work. Version 5.22 of HP-UX (probably others, but that's the one I know about for sure) had an F77 compiler that generated grossly incorrect assembler. The assembler gagged on EVERYTHING I tried. Obviously nobody had run the F77 compiler. Bill Poser