bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61076] gmake incorrectly implements Pattern Replacement Macro Refe


From: Jörg Schilling
Subject: [bug #61076] gmake incorrectly implements Pattern Replacement Macro References
Date: Mon, 23 Aug 2021 19:28:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.gnu.org/bugs/?61076>

                 Summary: gmake incorrectly implements Pattern Replacement
Macro References
                 Project: make
            Submitted by: schily
            Submitted on: Mon 23 Aug 2021 11:28:37 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.3
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

A macro reference like

$(name:op%=%)

where "op" does not match the start of the content of "name" is
incorrectly expanded.

If the content of "name" contains a TAB, this TAB is replaced
by a SPACE.

Since there is no match, $(name:op%=%) should be identical to
$(name)

Even if there was a match, the TAB should not be replaced.

In other words: Pattern Replacement Macro References are
defined to work in a way that the white space between words
is literally retained.






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61076>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]