|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0512 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 0512.
Report 0512 Actions
Problem Report Number 0512 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0131 Raised 1996-05-24 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.5 Test Identification XOPEN.os/charhandle/ Problem Summary PG4R.132 On a system using EBCDIC-code it is possible to implement isascii and toascii so that the tests of the VSX-suite run successfully. But as a result of such an implementation programs using isascii and ... Problem Text
On a system using EBCDIC-code it is possible to implement isascii and
toascii so that the tests of the VSX-suite run successfully. But as a
result of such an implementation programs using isascii and toascii in
a UNIX-like manner will not run correctly. E.g. they expect that
isascii((int)'C') != 0. If we choose the following implementation on
an EBCDIC-system:
isascii(c) ((unsigned(c) <= 0xFF)
toascii(c) ((c) & 0xFF)
the program will usually run correctly. But some VSX-tests will fail
with this implementation. Therefore we suggest that these tests should
not be used in an EBCDIC-environment. They require an implementation that
is a hindrance of portability and therefore against the interests of
the user.
The same aplies for the following Tests:
XOPEN.os/charhandle/Mtoascii/T.toascii
XOPEN.os/charhandle/isascii/T.isascii
XOPEN.os/charhandle/toascii/T.toasciiTest Output
/tset/XOPEN.os/charhandle/Misascii/T.isascii FailedReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This issue has been dealt with in MSF4.016 which included the following
commentary:
-----------
This request raises the issue as to the meaning and usefulness of the isascii()
and toascii() functions in an environment which suports the EBCDIC character
set. It is unclear that the facilities provided by isascii() and toascii()
can be used in a sensible manner in this environment and while it is
accepted that the system under test does not match the specification , it
should not affect applications that are being ported to this environment.
It is recommended that this is treated as a minor system fault.
-----------
The test suite matches the specification and it is not recommended that this
request should be granted as a test suite deficiency.
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 0512
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority