Patch to execve
Kevin M. Kilbride
kmk at ssl.org
Fri Feb 25 14:22:23 PST 2005
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.
More information about the Submit
mailing list