svn commit: r303342 - in head: include lib/libc/stdlib

Benjamin Kaduk bjkfbsd at gmail.com
Tue Jul 26 20:15:02 UTC 2016


On Tue, Jul 26, 2016 at 3:11 PM, Ed Schouten <ed at freebsd.org> wrote:

> Author: ed
> Date: Tue Jul 26 20:11:29 2016
> New Revision: 303342
> URL: https://svnweb.freebsd.org/changeset/base/303342
>
> Log:
>   Fix typing of srandom() and initstate().
>
>   POSIX requires that these functions have an unsigned int for their first
>   argument; not an unsigned long.
>
>   My reasoning is that we can safely change these functions without
>   breaking the ABI. As far as I know, our supported architectures either
>   use registers for passing function arguments that are at least as big as
>   long (e.g., amd64), or int and long are of the same size (e.g., i386).
>

Is a __FreeBSD_version bump planned?  (Third-party software might want to
be warning-clean.)

-Ben


More information about the svn-src-head mailing list