This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stdlib/stdlib.h change to initstate


Andreas Jaeger <aj@suse.de> writes:

> There's one more patch needed.  I'm appending an untested version.

I haven't changed the _r versions yet.

> What's the problem? Could you enlighten us?

The argument of setstate must be `const'.  But we are modifying the
array passed in.  As it seems this is also the case for other
implementation but why is it `const' then?

I have to do some more research.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]