On Wed, Oct 22, 2008 at 07:55:12PM +0000, Konstantin Belousov wrote: > Author: kib > Date: Wed Oct 22 19:55:12 2008 > New Revision: 184177 > URL: http://svn.freebsd.org/changeset/base/184177 > > Log: > Remove doubtful structure definition with variable array members. > I believe this is not a valid C99 construct. Use directly calculated > offsets into the supplied buffer, using specified members length, > to fill appropriate structure. > > Either use sysctl, or copy the value of the UNAME_x environment > variable, instead of unconditionally doing sysctl, and then > overriding a returned value with user-specified one. > > Noted and tested by: rdivacky
Unfortunately on i386 this change cause segfaults in many programs at once (even in make(1)) -- http://ache.pp.ru/ _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
