This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2][BZ 14561] Separate rand and random seeds.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Carlos O'Donell <carlos at redhat dot com>, libc-alpha at sourceware dot org
- Date: Tue, 11 Jun 2013 19:52:47 +0200
- Subject: Re: [PATCH v2][BZ 14561] Separate rand and random seeds.
- References: <20130520190628 dot GA22088 at domone dot kolej dot mff dot cuni dot cz> <519E93F3 dot 8060203 at redhat dot com> <20130603222514 dot GB26974 at domone dot kolej dot mff dot cuni dot cz> <20130603224129 dot 265BD2C05B at topped-with-meat dot com> <51AE08DC dot 7090206 at redhat dot com> <20130611171157 dot 7C4582C0A4 at topped-with-meat dot com>
On Tue, Jun 11, 2013 at 10:11:57AM -0700, Roland McGrath wrote:
> > Is this because you're expecting applications to depend on the
> > current implementation's behaviour?
>
> Knowingly doing so seems unlikely. But subtle implicit expectations are
> possible and should be presumed. This is the soul of conservatism.
>
> > No such guarantee ever existed. Do we really need new symbol versions?
>
> It was well-established and understood that rand/srand were just aliases.
> Yes, we need new symbol versions.
Well established where? I cannot verify this claim.
As BSD libc has them separated for time being this must be unportable
glibc extension.