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/