Patch to execve

Joerg Sonnenberger joerg at britannica.bec.de
Fri Feb 25 06:19:18 PST 2005


On Thu, Feb 24, 2005 at 08:58:27PM -0800, Kevin M. Kilbride wrote:
> The formal interface is changed from:
> 
>    execve(const char *path, char *const argv[], char *const envp[])
> 
> to the much more useful guarantee of:
> 
>    execve(const char *path, const char *const argv[], const char *const 
> envp[])

Impossible / unacceptable. The interface is not type-compatible with
SUS if you do. Read the rules about implicit const conversions in
ISO C90/C99, if you have questions.

Joerg





More information about the Submit mailing list