This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10320] erand48 implementation not thread safe but POSIX says it should be
- From: "simon at josefsson dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 20 Dec 2012 08:21:28 +0000
- Subject: [Bug libc/10320] erand48 implementation not thread safe but POSIX says it should be
- Auto-submitted: auto-generated
- References: <bug-10320-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=10320
Simon Josefsson <simon at josefsson dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #3 from Simon Josefsson <simon at josefsson dot org> 2012-12-20 08:21:28 UTC ---
As noted jrand48, lcong48, nrand48, seed48, and srand48 also uses the global
variable. The POISX description does not permit those functions to be thread
unsafe.
The title of this bug report could thus be changed to "jrand48, lcong48,
nrand48, seed48, and srand48 implementations not thread safe but POSIX says it
should be" but I don't see how to change the title in bugzilla. If you want me
to open a new bug instead, let me know.
/Simon
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.