Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/stdlib



On Tue, Jul 28, 2015 at 05:13:34PM +0000, Kamil Rytarowski wrote:
> Module Name:	src
> Committed By:	kamil
> Date:		Tue Jul 28 17:13:34 UTC 2015
> 
> Modified Files:
> 	src/lib/libc/stdlib: reallocarr.3 reallocarr.c
> 
> Log Message:
> Compatibility fixes in reallocarr(3)

Except it is worse now. There is now an obscure assumption that
CHAR_BITS is 8, spelled via 2 == log_2 CHAR_BITS - 1.

> While there: rename parameter name 'num' to 'number' to be in sync with
> the calloc(3) parameter naming.

This change doesn't even make sense.

Joerg


Home | Main Index | Thread Index | Old Index