Re: svn commit: r300965 - head/lib/libc/stdlib

2016-05-31 Thread Andrey Chernov
On 31.05.2016 8:53, Bruce Evans wrote: > On Tue, 31 May 2016, Andrey Chernov wrote: > >> On 31.05.2016 6:42, Bruce Evans wrote: >>> >>> Er, I already said which types are better -- [u]int_fast32_t here. >> >> [u]int_fast32_t have _at_least_ 32 bits. int32_t in the initial PRNG can >> be changed

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Bruce Evans
On Mon, 30 May 2016, Andrey Chernov wrote: On 30.05.2016 5:17, Bruce Evans wrote: ... Even 1980's compiler technology was not far from reducing the division to a multiplication. The LCG expression would then reduce to (uintN_t)(A * x + B) where N is either 32 or 64. Perhaps N needs to be 64

svn commit: r301024 - head/sbin/swapon

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 06:45:19 2016 New Revision: 301024 URL: https://svnweb.freebsd.org/changeset/base/301024 Log: Stop using the non-standard basename_r() function. This change makes the code use the POSIX basename() function. It has the advantage that (if implemented correctly),

Re: svn commit: r301023 - head/sys/boot/geli

2016-05-31 Thread Xin Li
On 5/30/16 23:24, Garrett Cooper wrote: > Author: ngie > Date: Tue May 31 06:24:09 2016 > New Revision: 301023 > URL: https://svnweb.freebsd.org/changeset/base/301023 > > Log: > Add missing libc includes to fix -Wimplicit-function-declaration warnings > > MFC after: 2 weeks > Reported

svn commit: r301023 - head/sys/boot/geli

2016-05-31 Thread Garrett Cooper
Author: ngie Date: Tue May 31 06:24:09 2016 New Revision: 301023 URL: https://svnweb.freebsd.org/changeset/base/301023 Log: Add missing libc includes to fix -Wimplicit-function-declaration warnings MFC after: 2 weeks Reported by: clang Sponsored by: EMC / Isilon Storage Division

svn commit: r301022 - head/sys/dev/hyperv/utilities

2016-05-31 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 06:00:18 2016 New Revision: 301022 URL: https://svnweb.freebsd.org/changeset/base/301022 Log: hyperv/kvp: Use if_xname. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6641 Modified:

<    1   2