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: Roland McGrath <roland at hack dot frob dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: OndÅej BÃlka <neleai at seznam dot cz>, libc-alpha at sourceware dot org
- Date: Tue, 11 Jun 2013 10:11:57 -0700 (PDT)
- 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>
> 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.