View Issue Details

IDProjectCategoryView StatusLast Update
00003341003.1(2008)/Issue 7System Interfacespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionuselocale
Page Number2162
Line Number68301
Interp Status---
Final Accepted Text
Summary0000334: uselocale() error handling
DescriptionThe RETURN VALUE section on the uselocale() page does not
specify how uselocale() indicates an error has occurred.
The newlocale() and duplocale() functions both have the
same return type as uselocale() and on error they return
(locale_t)0 and set errno. I assume that uselocale() should
do the same.
Desired ActionChange

    The uselocale() function returns the locale handle from the
    previous call for the current thread. If there was no such
    previous call, the function shall return the value LC_GLOBAL_LOCALE.

to

    Upon successful completion, the uselocale() function shall return
    the locale handle from the previous call for the current thread, or
    LC_GLOBAL_LOCALE if there was no such previous call. Otherwise,
    uselocale() shall return (locale_t)0 and set errno to indicate the
    error.
Tagstc1-2008

Relationships

related to 0000283 Closedajosey Invalid locale_t values and LC_GLOBAL_LOCALE 
related to 0000582 Closedajosey uselocale(0) is poorly specified 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-10-15 10:40 geoffclare New Issue
2010-10-15 10:40 geoffclare Status New => Under Review
2010-10-15 10:40 geoffclare Assigned To => ajosey
2010-10-15 10:40 geoffclare Name => Geoff Clare
2010-10-15 10:40 geoffclare Organization => The Open Group
2010-10-15 10:40 geoffclare Section => uselocale
2010-10-15 10:40 geoffclare Page Number => 2162
2010-10-15 10:40 geoffclare Line Number => 68301
2010-10-15 10:40 geoffclare Interp Status => ---
2010-10-28 15:23 nick Relationship added related to 0000283
2010-10-28 15:26 nick Status Under Review => Resolved
2010-10-28 15:26 nick Resolution Open => Accepted
2010-10-28 15:26 nick Tag Attached: tc1-2008
2012-06-28 20:08 eblake Relationship added related to 0000582
2013-04-16 13:06 ajosey Status Resolved => Closed