Path: utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%homer.Berkeley.EDU From: mcgrath%homer.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath) Newsgroups: gnu.gcc.bug Subject: GNU CPP 1.30 bug + FIX Message-ID: <8810152232.AA07939@homer.Berkeley.EDU> Date: 15 Oct 88 22:32:37 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: roland@wheaties.ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 If you don't give cccp (cpp) an output file argument, it won't work. I noticed this using -M. Fix: *** cccp.c.~1~ Fri Oct 14 17:21:40 1988 --- cccp.c Sat Oct 15 15:22:14 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 == 0 || *out_fname == '\0') out_fname = "stdout"; else if (! freopen (out_fname, "w", stdout)) pfatal_with_name (out_fname);