A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1789 
====================================================================== 
Reported By:                Mark_Galeck
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1789
Category:                   Shell and Utilities
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     Resolved
Name:                       Mark Galeck 
Organization:                
User Reference:              
Section:                    Volume 2, Chapter 3 
Page Number:                865, 2487 
Line Number:                80936, 29495 
Final Accepted Text:        see
https://austingroupbugs.net/view.php?id=1789#c6621 
Resolution:                 Accepted As Marked
Fixed in Version:           
====================================================================== 
Date Submitted:             2023-11-22 02:24 UTC
Last Modified:              2024-01-19 19:31 UTC
====================================================================== 
Summary:                    if command name contains slash, it cannot be arg0
for execl()
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001645 execvp( ) requirements on arg0 are too ...
====================================================================== 

---------------------------------------------------------------------- 
 (0006631) larryv (reporter) - 2024-01-19 19:31
 https://austingroupbugs.net/view.php?id=1789#c6631 
---------------------------------------------------------------------- 
Re: https://austingroupbugs.net/view.php?id=1789#c6621:<blockquote>The string in
<i>arg0</i> or <i>argv[0]</i> is
typically the basename of the path of the file being executed. However,
there is no requirement in this standard that this is so, and the program
executed will see this string in the first element of the <i>argv[]</i>
array passed to its <i>main()</i> function, and may alter its functionality
based on this.</blockquote>Minor copyediting nit, but the first clause of
the second sentence seems more closely related to the first sentence than
to the rest of the second sentence. Suggestion:<blockquote>The string in
<i>arg0</i> or <i>argv[0]</i> is typically the basename of the path of the
file being executed, but this standard does not require it to be so. The
program executed will see this string in the first element of the
<i>argv[]</i> array passed to its <i>main()</i> function and may alter its
functionality based on it.</blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-11-22 02:24 Mark_Galeck    New Issue                                    
2023-11-22 02:24 Mark_Galeck    Name                      => Mark Galeck     
2023-11-22 02:24 Mark_Galeck    Section                   => Volume 2, Chapter 3
2023-11-22 02:24 Mark_Galeck    Page Number               => 865, 2487       
2023-11-22 02:24 Mark_Galeck    Line Number               => 80936, 29495    
2023-11-22 06:20 larryv         Note Added: 0006579                          
2023-11-22 07:18 Don Cragun     Note Added: 0006580                          
2023-11-22 07:19 Don Cragun     Project                 
1003.1(2016/18)/Issue7+TC2 => Issue 8 drafts
2023-11-22 07:21 Don Cragun     version                   => Draft 3         
2023-11-22 09:42 Guy Harris     Note Added: 0006581                          
2023-11-22 09:57 Guy Harris     Note Added: 0006582                          
2023-12-11 14:58 geoffclare     Note Added: 0006596                          
2024-01-15 16:40 nick           Relationship added       related to 0001645  
2024-01-15 17:28 nick           Note Added: 0006621                          
2024-01-15 17:29 nick           Final Accepted Text       => see
https://austingroupbugs.net/view.php?id=1789#c6621
2024-01-15 17:29 nick           Status                   New => Resolved     
2024-01-15 17:29 nick           Resolution               Open => Accepted As
Marked
2024-01-15 17:30 nick           Tag Attached: tc1-2024                       
2024-01-15 17:31 nick           Note Edited: 0006621                         
2024-01-17 17:43 gbrandenrobinsonNote Added: 0006626                          
2024-01-18 16:08 nick           Note Edited: 0006621                         
2024-01-18 16:08 nick           Note Added: 0006627                          
2024-01-18 16:09 nick           Note Added: 0006628                          
2024-01-18 16:10 nick           Note Deleted: 0006628                        
2024-01-18 16:44 eblake         Note Edited: 0006621                         
2024-01-19 19:31 larryv         Note Added: 0006631                          
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to