bugmake - Bugs: bug #6195, recursive expanded variables...

 
 

bug #6195: recursive expanded variables including an eval cause core dump

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Mon 27 Oct 2003 03:54:00 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.0Operating System: POSIX-Based
Fixed Release: 3.81Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 10 Nov 2003 06:37:40 PM UTC, comment #2:

I already committed the changes; thanks for the update.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Sun 02 Nov 2003 08:44:47 PM UTC, comment #1:

The expansion is correct: because the variable is brought in from the environment, it also must be written out to the environmant of any commands that make runs. If you change that variable in the makefile, then make needs to evaluate the value before it can construct the environment for the child process. Consider if your variable JUNK was really PATH...

I used a different method fo fixing this problem; patch attached. See if it helps your situation.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #789:  eval-file.diff added by psmith (747B - text/plain - Proposed official solution)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:09:06 AM UTCpsmithFixed Release4.0=>3.81
Mon 10 Nov 2003 06:37:40 PM UTCpsmithStatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)
  Fixed ReleaseNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1