bugmake - Bugs: bug #36106, make target-specific variables...

 
 

bug #36106: make target-specific variables fail if over 150 characters and contain semicolon

Submitted by:  None
Submitted on:  Thu 05 Apr 2012 10:15:49 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: Any
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 09 Sep 2012 09:32:08 PM UTC, comment #1:

Gak! Good catch. Fixed. Thanks.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Thu 05 Apr 2012 10:15:49 PM UTC, original submission:

The bug is triggered by extra-long target-specific variable assignments containing at least one semicolon.

The bug is this: on a target-specific variable, if the assignment of the variable contains a semicolon(s) and is over 150 characters in length, then the assignment is truncated at the first semicolon or an error is thrown (this occurs with line continuation slashes as well).

Test makefile attached.

bash $ gmake -f test.makefile a
test.makefile:1: *** Malformed target-specific variable definition. Stop.

bash-4.1$ gmake --version
GNU Make 3.82

Remove one 'e' or a semicolon from the above and it suddenly works.
Patch to fix this issue attached.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #25595:  test.makefile added by None (220B - application/octet-stream)
file #25596:  make-3.82-readc.patch added by None (805B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Sep 2012 09:32:08 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0
    Thu 05 Apr 2012 10:15:49 PM UTCNoneAttached File-=>Added test.makefile, #25595
      Attached File-=>Added make-3.82-readc.patch, #25596

    Back to the top


    Powered by Savane 3.1-cleanup1