Subject: Re: Really, bug in libc !
To: None <edelcamp@easynet.fr>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 03/16/1998 11:16:53
On Mar 14, Eric Delcamp wrote
> Hi !
> 
> I have already signaled this, but it's confirmed and could be repeatable.
> 
> Please, update your sources tree. I have deleted all my libc directory and
> supped a new one. Then, when I 'make build', I have an error in
> lib/libc/stdlib/random.c, about a bad prototyped initstate() function.
> In fact, last arg of initstate() is declared type site_t in random.c and
> prototype type is long in usr/include/stdlib.h
> 
> As I said, I have a fresh tree, but maybe it's an error on the 
> antioche.lip6.fr sup server ? I think I have tried sup.netbsd.org also...

I just checked on antioche, and another machine which sups sources
from antioche, stdlib.h and random.c are consistent. The prototype is:
char    *initstate __P((unsigned long, char *, size_t));

Maybe you should try a 'sup -o'.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--