|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0475 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 0475.
Report 0475 Actions
Problem Report Number 0475 Submitter's Classification Minor System Fault State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0094 Raised 1994-10-05 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.2 Test Identification XPG4.os/string/wcstombs 3 Problem Summary PG4R.095 This problem is investigated and fixed in the next release. Problem Text
This problem is investigated and fixed in the next release.Test Output
************************************************************************
/tset/XPG4.os/string/wcstombs/T.wcstombs 3 Failed
Test Description:
When s is a null pointer, then a call to wcstombs(s,pwcs,n) returns
the number of bytes required to store the converted string, excluding
the terminating null byte.
Test Strategy:
PARENT process will
CREATE child process using cppair()
CHILD process will
SET current locale using setlocale(LC_ALL,VSX4L1)
VERIFY that wcstombs(NULL, pwcs) returns no. of bytes that would be
required to store the converted multi-byte string representation of
pwcs
SET current locale using setlocale(LC_TIME,VSX4L2)
VERIFY that wcstombs(NULL, pwcs) returns no. of bytes that would be
required to store the converted multi-byte string representation of
pwcs
SET current locale to wide character locale1 using setlocale()
VERIFY that wcstombs(NULL, pwcs) returns no. of bytes that would be
required to store the converted multi-byte string representation of
pwcs
SET current locale to wide character locale2 using setlocale()
VERIFY that wcstombs(NULL, pwcs) returns no. of bytes that would be
required to store the converted multi-byte string representation of
pwcs
OBTAIN a string of wide-characters using wcharstr()
SET current locale using setlocale(LC_ALL,locp) where locp is the
locale name set by wcharstr()
CALL wcstombs(NULL, pwcs, partial-length-of-converted-pwcs)
VERIFY that wcstombs() returns no. of bytes that would be occupied
by full converted multi-byte string
CALL wcstombs(NULL, pwcs, full-length-of-converted-pwcs)
VERIFY that wcstombs() returns no. of bytes occupied by full
converted multi-byte string
Test Information:
wcstombs did not return expected value
Current language is C
Current category is LC_ALL
value of wide-character string : .a..
expected return value : 4
actual return value : 1
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
Subject to the supplier being able to supply a patch fix on this release
to any customer who encounters this problem, I would recommend that a
temporary waiver be granted for this minor system fault. It is not
expected that this will effect many applications, though with the increased
growth of internationalised applications the effect could be more widespread
than anticipated.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 0475
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority