🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1682

Bug in GNU Make 3.05

#1682
From: brooks
Date: Thu, 22 Sep 1988 04:12
14 lines
1110 bytes
GNU Make, version 3.05, does not properly expand environment strings
for a action line of the form
	cp foobar $$HOME/bin
the source of the problem is a failure to recognize and expand shell
environment variables in the code which short stops forks of /bin/sh.
The quickest cure is to add $ to the list of characters which cause
Make to go into slow mode and pass the command line to /bin/sh.
On line 342 of commands.c you will see a definition
	static char sh_chars[] = "#;\"*?[]&|<>(){}=";
just add $ to this list.

An added hint for GNU Make on the Alliant, change the identifier
"vector" in glob.c and read.c to "VeCtOr" and compile it with the
-pcc flag and you will get a parallel Make which works most of the time.
Technical Details
Message-ID: <12437@lll-winken.llnl.gov>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!maddog.llnl.gov!brooks

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!maddog.llnl.gov!brooks
From: brooks@maddog.llnl.gov
Newsgroups: gnu.gcc.bug
Subject: Bug in GNU Make 3.05
Message-ID: <12437@lll-winken.llnl.gov>
Date: 22 Sep 88 04:12:17 GMT
Sender: usenet@lll-winken.llnl.gov
Reply-To: brooks@maddog.llnl.gov ()
Distribution: gnu
Organization: Lawrence Livermore National Laboratory
Lines: 13