On 22.05.2016 3:29, Pedro F. Giffuni wrote:
> static void
> srand(unsigned int seed)
> {
>
> + if (seed == 0)
> + seed = 1;
> srandom(seed);
> }
IMHO it is not needed. srandom() already handles seed == 0 case, there
is no point to remap it to another constant.