bugmake - Bugs: bug #39035, problem with blanks in...

 
 

bug #39035: problem with blanks in continuation line in a recipe

Submitter:  None
Submitted:  Wed 22 May 2013 08:35:08 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.82 Operating System:  Any
Fixed Release:  4.0 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 May 2013 05:59:07 PM UTC, comment #1: 

Fixed in Git.  Thanks for the report!

Paul D. Smith <psmith>
Group administrator
Wed 22 May 2013 08:35:08 AM UTC, original submission:  

See http://stackoverflow.com/questions/16659294/different-output-in-makefile-rule

In the following Makefile


f = echo $(1)

t:
<TAB>   $(call f,"a \
            b"); \
        $(call f,"a \
            b")


  • there is only one TAB, at the beginning of line 4 (the first

   `call f')

  • no blanks at the end of the lines
  • > 8 blanks in line 5 (12 in the example, no problem if <= 8)


The output is


a b
a  b


The two calls are identical (except for the initial TAB). Why the output are different ?

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-26 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Operating SystemPOSIX-Based Any
        Fixed ReleaseNone 4.0

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code