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: "Kevin M. Kilbride" <kmk@xxxxxxx>
Date: Fri, 25 Feb 2005 14:21:59 -0800

Accidentally replied to sender instead of to list. Apologies again.

Chris Pressey wrote:

SUS is idiotic here.

Would it be possible to apply this but only under #ifndef POSIXLY_CORRECT
or something?



I agree. Adding a const attribute to system interfaces will _never_ break calling code, since it simply advertises a guarantee that the code will not change what is supplied. The code either does or it doesn't. If it truly doesn't, then why not advertise it as such? It can hardly be argued as "breaking" the POSIX interface. There is no real hope of making all of userland truly WARNS=6 compliant without it.







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