Warner Losh wrote this message on Mon, Oct 13, 2014 at 16:23 +0000:
> Author: imp
> Date: Mon Oct 13 16:23:58 2014
> New Revision: 273051
> URL: https://svnweb.freebsd.org/changeset/base/273051
> 
> Log:
>   Use the C99 flexible array construct to denote a variable amount of
>   data rather than the old-school [1] construct. We have required c99
>   compilers for some time.

Have you audited that there aren't any mallocs or anything else that
needs to be adjusted? i.e. old code that did:
var = malloc(sizeof(sns_screq_t) + sizeof(uint16_t) * (cnt - 1));

Will now allocate too few bytes...

-- 
  John-Mark Gurney                              Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to