Path: utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!UNIX.CIS.PITTSBURGH.EDU!cmf From: cmf@UNIX.CIS.PITTSBURGH.EDU Newsgroups: gnu.gcc.bug Subject: Re: gcc -E never works Message-ID: <8810212203.AA29616@unix.cis.pittsburgh.edu> Date: 21 Oct 88 22:03:32 GMT References: <8810211631.AA03190@typo.umb.edu> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 26 Fortunately, that's an easy problem to solve. I've enclosed a diff for cccp.c (version 1.30). Carl Fongheiser University of Pittsburgh cmf@unix.cis.pittsburgh.edu *** cccp.c.orig Fri Oct 21 18:00:06 1988 --- cccp.c Fri Oct 21 17:55:48 1988 *************** *** 967,973 **** /* Now that we know the input file is valid, open the output. */ ! if (out_fname && !strcmp (out_fname, "")) out_fname = "stdout"; else if (! freopen (out_fname, "w", stdout)) pfatal_with_name (out_fname); --- 967,973 ---- /* Now that we know the input file is valid, open the output. */ ! if (!out_fname || (out_fname && !strcmp (out_fname, ""))) out_fname = "stdout"; else if (! freopen (out_fname, "w", stdout)) pfatal_with_name (out_fname);