The following issue has been SUBMITTED.
======================================================================
http://austingroupbugs.net/view.php?id=97
======================================================================
Reported By: msbrown
Assigned To: ajosey
======================================================================
Project: 1003.1(2008)/Issue 7
Issue ID: 97
Category: System Interfaces
Type: Clarification Requested
Severity: Comment
Priority: normal
Status: Under Review
Name: Mark Brown
Organization: IBM
User Reference:
Section: dlerror
Page Number: 730
Line Number: 24539
Final Accepted Text:
======================================================================
Date Submitted: 2009-06-29 20:14 UTC
Last Modified: 2009-06-29 20:14 UTC
======================================================================
Summary: per-thread dlerror strings
Description:
_____________________________________________________________________________
COMMENT Enhancement Request
Number 27
peter:xxxxxxxxx Defect in XSH dlerror (rdvk#
1)
{none} Mon, 9 Mar 2009 16:01:28
GMT
_____________________________________________________________________________
The dlerror description can be read in such a way that per-thread
dlerror strings are not allowed, see the discussion thread
(http://www.opengroup.org/austin/mailarchives/ag/msg15415.html) on the
opengroup list for a variety of interpretations.
A number of implementations from multiple vendors have thread specific
errors, including: HP-UX, GNU/Linux with Glibc, Mac OS X, Tru64 Unix,
z/OS.
Information on most of these implementations was gathered with a small
test program, however z/OS information was provided by its manual
page:
http://publib.boulder.ibm.com/infocenter/zos/v1r10/index.jsp?topic=/com.ibm.zos.r10.bpxbd00/dlerror.htm
The standard should reflect existing practice and should explicitly
allow per-thread errors.
Desired Action:
Change:
The dlerror() function need not be thread-safe.
To:
The dlerror() function need not be thread-safe, however a
thread-safe implementation may return only errors that occur on the
current thread.
======================================================================
|