DragonFly BSD
DragonFly submit List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Patch to execve


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 25 Feb 2005 15:17:40 +0100
Mail-followup-to: submit@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]