Discussion:
[1003.1(2013)/Issue7+TC1 0000865]: Use of % or $ in subst1 while expanding $(string1:subst1=[subst2]) should be avoided
Austin Group Bug Tracker
2014-09-18 15:54:19 UTC
Permalink
A NOTE has been added to this issue.
======================================================================
http://austingroupbugs.net/view.php?id=865
======================================================================
Reported By: antoinel
Assigned To:
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 865
Category: Shell and Utilities
Type: Omission
Severity: Objection
Priority: normal
Status: New
Name: Antoine Leca
Organization:
User Reference:
Section: make
Page Number: 2941
Line Number: 97282-97286
Interp Status: ---
Final Accepted Text:
======================================================================
Date Submitted: 2014-08-12 08:39 UTC
Last Modified: 2014-09-18 15:54 UTC
======================================================================
Summary: Use of % or $ in subst1 while expanding
$(string1:subst1=[subst2]) should be avoided
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0000519 Add to make macro variable pattern subs...
======================================================================

----------------------------------------------------------------------
(0002391) geoffclare (manager) - 2014-09-18 15:54
http://austingroupbugs.net/view.php?id=865#c2391
----------------------------------------------------------------------
On page 2941 line 97280 section make

Change from:

If <i>string1</i> in a macro expansion contains a macro expansion, the
results are unspecified.

to:

If <i>string1</i> in a macro expansion contains a macro expansion, the
results are unspecified. If a <percent-sign> character appears as part of
<i>subst1</i> or <i>subst2</i> after any macros have been recursively
expanded, the results are unspecified.

On page 2954 line 97849 section make

Change the FUTURE DIRECTIONS section from:

None.

to:

A future version of this standard may require that macro expansions using
the forms $(string1:[op]%[os]=[np][%][ns]) or
${string1:[op]%[os]=[np][%][ns]} are treated as pattern macro expansions.

Issue History
Date Modified Username Field Change
======================================================================
2014-08-12 08:39 antoinel New Issue
2014-08-12 08:39 antoinel Name => Antoine Leca
2014-08-12 08:39 antoinel Section => make
2014-08-12 08:39 antoinel Page Number => 2915
2014-08-12 08:39 antoinel Line Number => 95808
2014-08-12 08:41 antoinel Note Added: 0002345
2014-08-12 08:42 antoinel Note Edited: 0002345
2014-08-12 10:55 geoffclare Relationship added related to 0000519
2014-08-12 11:13 geoffclare Note Added: 0002346
2014-08-12 11:15 geoffclare Note Added: 0002347
2014-08-12 11:22 geoffclare Page Number 2915 => 2941
2014-08-12 11:22 geoffclare Line Number 95808 => 97282-97286
2014-08-12 11:22 geoffclare Interp Status => ---
2014-08-12 11:22 geoffclare Desired Action Updated
2014-08-12 14:26 geoffclare Note Edited: 0002346
2014-08-14 14:41 geoffclare Note Edited: 0002346
2014-09-18 15:54 geoffclare Note Added: 0002391
======================================================================
Austin Group Bug Tracker
2014-09-18 15:59:59 UTC
Permalink
The following issue NEEDS AN INTERPRETATION.
======================================================================
http://austingroupbugs.net/view.php?id=865
======================================================================
Reported By: antoinel
Assigned To:
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 865
Category: Shell and Utilities
Type: Omission
Severity: Objection
Priority: normal
Status: Interpretation Required
Name: Antoine Leca
Organization:
User Reference:
Section: make
Page Number: 2941
Line Number: 97282-97286
Interp Status: Pending
Final Accepted Text: http://austingroupbugs.net/view.php?id=865#c2391
======================================================================
Date Submitted: 2014-08-12 08:39 UTC
Last Modified: 2014-09-18 15:59 UTC
======================================================================
Summary: Use of % or $ in subst1 while expanding
$(string1:subst1=[subst2]) should be avoided
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0000519 Add to make macro variable pattern subs...
======================================================================

Issue History
Date Modified Username Field Change
======================================================================
2014-08-12 08:39 antoinel New Issue
2014-08-12 08:39 antoinel Name => Antoine Leca
2014-08-12 08:39 antoinel Section => make
2014-08-12 08:39 antoinel Page Number => 2915
2014-08-12 08:39 antoinel Line Number => 95808
2014-08-12 08:41 antoinel Note Added: 0002345
2014-08-12 08:42 antoinel Note Edited: 0002345
2014-08-12 10:55 geoffclare Relationship added related to 0000519
2014-08-12 11:13 geoffclare Note Added: 0002346
2014-08-12 11:15 geoffclare Note Added: 0002347
2014-08-12 11:22 geoffclare Page Number 2915 => 2941
2014-08-12 11:22 geoffclare Line Number 95808 => 97282-97286
2014-08-12 11:22 geoffclare Interp Status => ---
2014-08-12 11:22 geoffclare Desired Action Updated
2014-08-12 14:26 geoffclare Note Edited: 0002346
2014-08-14 14:41 geoffclare Note Edited: 0002346
2014-09-18 15:54 geoffclare Note Added: 0002391
2014-09-18 15:58 geoffclare Note Edited: 0002391
2014-09-18 15:59 geoffclare Interp Status --- => Pending
2014-09-18 15:59 geoffclare Final Accepted Text =>
http://austingroupbugs.net/view.php?id=865#c2391
2014-09-18 15:59 geoffclare Status New => Interpretation
Required
2014-09-18 15:59 geoffclare Resolution Open => Accepted As
Marked
======================================================================
Loading...