This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 2/3] posix: execvpe cleanup
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Paul Eggert <eggert at cs dot ucla dot edu>, libc-alpha at sourceware dot org
- Date: Mon, 29 Feb 2016 14:38:29 -0300
- Subject: Re: [PATCH 2/3] posix: execvpe cleanup
- Authentication-results: sourceware.org; auth=none
- References: <1456495001-5298-1-git-send-email-adhemerval dot zanella at linaro dot org> <1456495001-5298-3-git-send-email-adhemerval dot zanella at linaro dot org> <56D0A9CC dot 4080608 at cs dot ucla dot edu> <56D0BA5D dot 5080103 at linaro dot org> <56D1D737 dot 6050205 at linaro dot org> <56D22EA2 dot 6030701 at cs dot ucla dot edu>
On 27-02-2016 20:17, Paul Eggert wrote:
> Adhemerval Zanella wrote:
>> according to POSIX , "argv should point to a filename string that
>> is associated with the process being started by one of the exec functions"
> Sure, but in this context the word "should" is talking about (as POSIX puts it) "a feature or behavior that is recommended programming practice for optimum portability." A conforming application is not required to follow the recommendation, and in order to conform to POSIX glibc must support applications that do not follow the recommendation but otherwise conform.
> My source for the above quote:
Fair enough. I also noted uglibc also accepts the empty argument list.
I will change it.