Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B UNSW 1.0 3/14/84; site qfdts.oz Path: utzoo!linus!philabs!cmcl2!seismo!munnari!basser!uqcspe!qfdts!phil From: phil@qfdts.oz (Phil Chadwick) Newsgroups: net.bugs.usg Subject: Re: 5.2.0 printf bugs Message-ID: <52@qfdts.oz> Date: Mon, 5-Aug-85 19:03:33 EDT Article-I.D.: qfdts.52 Posted: Mon Aug 5 19:03:33 1985 Date-Received: Wed, 7-Aug-85 02:58:14 EDT References: <229@brl-tgr.ARPA> <330@brl-tgr.ARPA> Organization: Department of Forestry, Brisbane, Australia Lines: 29 In article <330@brl-tgr.ARPA> gwyn@brl-tgr.ARPA (Doug Gwyn) writes: >I looked into Phil Chadwick's *printf() bug fixes, >which involved invoking _WRTCHK() in each *printf() >routine, and decided that they are not necessary. >. >. >Summary: Use my fixes, such as: > >/* @(#)fprintf.c 1.5 */ >... > if (!(iop->_flag & _IOWRT)) { /* DAG -- bug fix (was |) */ >... > if (iop->_flag & _IORW) { /* DAG -- bug fix (was |) */ >... > >and don't install any invocations of _WRTCHK(). > >HEY, AT&T USDL or whatever -- fix this in 5.3.0! Correct. My fix was overkill. It's only redeeming feature was that it did work. ---- Phil Chadwick Australia: (07) 2296500 Department of Forestry International: +61 7 2296500 PO Box 5 ACSnet: phil@qfdts.oz Brisbane, Roma Street ARPA: decvax!mulga!qfdts.oz!phil@UCB-VAX.ARPA AUSTRALIA 4001 UUCP: {decvax,vax135,eagle,pesnta}!mulga!qfdts.oz!phil