Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.bugs.usg Subject: Re: More null pointer follies in PWB/Graphics Message-ID: <2458@sun.uucp> Date: Sat, 20-Jul-85 21:09:32 EDT Article-I.D.: sun.2458 Posted: Sat Jul 20 21:09:32 1985 Date-Received: Sun, 21-Jul-85 23:13:35 EDT References: <2456@sun.uucp> Distribution: net Organization: Sun Microsystems, Inc. Lines: 23 Whoops, here's one I missed. Note that for all of these, your line numbers may differ: *** gutil.d/ptog.d/ptog.c.BAK Thu May 2 10:09:18 1985 --- gutil.d/ptog.d/ptog.c Sat Jul 20 18:09:39 1985 *************** *** 48,54 else argf=1; while(argc-- > 1) { ! if( strcmp(*++argv,"-")==0 || !argf ) fpi=stdin; else if( **argv!='-' ) { if((fpi =fopen(*argv,"r")) == NULL) continue; } else { argc++; continue; } --- 48,54 ----- else argf=1; while(argc-- > 1) { ! if( !argf || strcmp(*++argv,"-")==0 ) fpi=stdin; else if( **argv!='-' ) { if((fpi =fopen(*argv,"r")) == NULL) continue; } else { argc++; continue; }