5.2.0 printf bugs

Phil Chadwick phil at qfdts.oz
Tue Aug 6 09:03:33 AEST 1985


In article <330 at brl-tgr.ARPA> gwyn at 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 at qfdts.oz
Brisbane, Roma Street	  ARPA: decvax!mulga!qfdts.oz!phil at UCB-VAX.ARPA
AUSTRALIA	4001	  UUCP: {decvax,vax135,eagle,pesnta}!mulga!qfdts.oz!phil



More information about the Net.bugs.usg mailing list