Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000334 [1003.1(2008)/Issue 7] System Interfaces Objection Omission 2010-10-15 10:40 2013-04-16 13:06
Reporter geoffclare View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Closed  
Name Geoff Clare
Organization The Open Group
User Reference
Section uselocale
Page Number 2162
Line Number 68301
Interp Status ---
Final Accepted Text
Summary 0000334: uselocale() error handling
Description The 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 Action Change

    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.
Tags tc1-2008
Attached Files

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

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker