Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!ukc!etive!hwcs!zen!frank From: frank@zen.co.uk (Frank Wales) Newsgroups: comp.sources.bugs Subject: Re: Bug in csh (history, "!a%100s"). Summary: if (puts==printf) whang_the_programmer(); Message-ID: <1640@zen.co.uk> Date: 11 Jul 89 18:12:21 GMT References: <113630@sun.Eng.Sun.COM> <771@sbsvax.UUCP> <114074@sun.Eng.Sun.COM> <774@sbsvax.UUCP> Reply-To: frank@zen.co.uk (Frank Wales) Organization: Zengrange Limited, Leeds, England Lines: 12 In article <774@sbsvax.UUCP> greim@sbsvax.UUCP (Michael Greim) writes: >As to "puts() will never be slower than printf()": I recall reading >somewhere that some people think about implementing puts() using printf(). If I ever found that a C library I was using had puts() (or any other straightforward string function) implemented by calling printf(), I'd be round at the vendor's factory gates with a large shovel to reprogram the clown responsible. Just in case you know someone who's thinking about it. -- Frank Wales, Systems Manager, [frank@zen.co.uk<->mcvax!zen.co.uk!frank] Zengrange Ltd., Greenfield Rd., Leeds, ENGLAND, LS9 8DB. (+44) 532 489048 x217