🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1907

error handling null output file in cpp

#1907
From: Adam R de Boor
Date: Thu, 03 Nov 1988 19:20
12 lines
759 bytes
this is from gcc-1.30:

there is a conditional in cccp.c that reads:
	if (out_fname && !strcmp(out_fname, ""))
this should be
	if (!out_fname || !strcmp(out_fname, ""))
otherwise gcc -E, or the use of cpp w/o an output file name will fail with the
message
cpp: Invalid argument for `'
on a machine w/o page 0 mapped out.

a
Technical Details
Message-ID: <8811031920.AA02743@sniff.bsw.com>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!UUNET.UU.NET!bsw!sniff.bsw.com!adam

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!UUNET.UU.NET!bsw!sniff.bsw.com!adam
From: bsw!sniff.bsw.com!adam@UUNET.UU.NET (Adam R de Boor)
Newsgroups: gnu.gcc.bug
Subject: error handling null output file in cpp
Message-ID: <8811031920.AA02743@sniff.bsw.com>
Date: 3 Nov 88 19:20:50 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 11