bugmake - Bugs: bug #10866, target specific variable append...

 
 

bug #10866: target specific variable append (+=) erroneously clears the variable when a canned sequence is evaluated

Submitted by:  None
Submitted on:  Mon 01 Nov 2004 10:57:57 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.80Operating 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.

 

Sun 28 Nov 2004 11:48:11 PM UTC, comment #2:

It's important that you show exactly which line you feel is incorrect, AND what you think the correct value should be, whenever reporting a bug.

This has already been fixed in CVS; when using 3.80 make I get:

a Value of V =

when I use CVS make I get:

a Value of V = one

which seems correct to me.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Mon 01 Nov 2004 11:04:31 PM UTC, comment #1:

Sorry, forgot I hadn't logged on when I submitted the bug report.

Craig Ruff (cruff@ucar.edu)

Craig Ruff <cruff>
Mon 01 Nov 2004 10:57:57 PM UTC, original submission:

When a macro (canned sequence) is evaluated, and += is used to append to the value of a previously set variable for a specific target, if the appended value is empty, the whole variable is cleared verses being left unchanged.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #1956:  x added by None (236B - application/octet-stream)

 

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 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:12:03 AM UTCpsmithFixed Release4.0=>3.81
Sun 28 Nov 2004 11:48:11 PM UTCpsmithStatusNone=>Fixed
  Assigned toNone=>psmith
  Open/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.0
Mon 01 Nov 2004 11:04:31 PM UTCcruffCarbon-Copy-=>Added cruff --AT-- ucar --DOT-- edu
Mon 01 Nov 2004 10:57:57 PM UTCNoneAttached File-=>Added x, #1828

Back to the top


Powered by Savane 3.1-cleanup1