|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0002 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0002.
Report 0002 Actions
Problem Report Number 0002 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0002 Raised 1992-09-04 08:00 Updated 2003-03-13 08:00 Published 1992-09-24 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.3 Test Identification XOPEN.os/locale/catopen 4 Problem Summary TSD4.002 This fails due to Known Problem 17 in the VSX4.2.3 Release Notes. Test 4 is unresolved because the test calls setlocale(LC_MESSAGES,"") with LC_MESSAGES set to an invalid locale in the environment and... Problem Text
This fails due to Known Problem 17 in the VSX4.2.3 Release Notes.
Test 4 is unresolved because the test calls setlocale(LC_MESSAGES,"") with
LC_MESSAGES set to an invalid locale in the environment and so setlocale()
returns NULL.
setlocale(), has the following rules for when the locale setting is "" :
>From P154 ISO POSIX Sect 8.1.2.2 lines 151---
``When locale is a null string, the setlocale() function takes
the name of the new locale from the environment as determined
by the first condition met below:
(1) If LC_ALL is defined....
(2) If there is a variable defined in the environment with the same
name as the category and that is not null, the value specified by the
environment variable is used.
(3) If LANG is defined ... ''
Since LC_MESSAGES is set in the environment, rule 2 is called.
This test has been changed in the VSX4.2.4beta update.Test Output
************************************************************************
/tset/XOPEN.os/locale/catopen/T.catopen 4 Unresolved
Test Description:
Catopen() uses the locale specified for the LC_MESSAGES category to
determine the substitution of %L, %l, %t and %c in the search path
specified by the environment variable NLSPATH.
This test is not executed in XPG3 test mode.
Test Information:
setlocale(LC_MESSAGES,"") failed.
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is agreed to be a test suite fault in VSX 4.2.3 and a permanent waiver
is recommended.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed test suite deficiency in VSX 4.2.3.
Problem Reporting System Options:
- View Report 0002
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority