|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1920 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 1920.
Report 1920 Actions
Problem Report Number 1920 Submitter's Classification Specification problem State Resolved Resolution Temporary Interpretation (TIN) Problem Resolution ID TIN.X.0086 Raised 2001-10-16 08:00 Updated 2003-03-13 08:00 Published 2001-10-16 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSX4 version 4.4.5 Test Identification XPG4.os/genuts/regcomp 30 Specification System Interfaces and Headers Issue 5 Location in Spec See Problem Text Linked Problem Reports PIN4.039, (in, old, system) Problem Summary TIN5.005 According to VWG/003/060392, \{\} imbalance behavior is undefined for EREs under XPG4. Thus, the expected testcase results are incorrect. Our implementation treats unbalanced braces as ordinary char... Problem Text
According to VWG/003/060392, \{\} imbalance behavior is undefined for EREs
under XPG4. Thus, the expected testcase results are incorrect. Our
implementation treats unbalanced braces as ordinary characters.
Also according to VWG/003/060392, "the test should be left as it is - no
other action is required." This doesn't make sense, the testcase is
expecting behavior not defined in XPG4, and should be changed or
eliminated.Test Output
************************************************************************
/tset/XPG4.os/genuts/regcomp/T.regcomp 30 Failed
Test Description:
If regcomp() is supported:
When the REG_EXTENDED flag is set in cflags, and pattern contains
a {} imbalance, then a call to regcomp(preg, pattern, cflags)
returns either REG_EBRACE or REG_BADPAT.
Otherwise:
A call to regcomp() returns REG_ENOSYS and sets errno to ENOSYS.
Test Strategy:
CREATE pattern with xyab{3,}jkl{
CALL regcomp() with pattern and cflags set to REG_EXTENDED
VERIFY that regcomp() returned either REG_EBRACE or REG_BADPAT
Test Information:
regcomp(preg, "xyab{3,}jk{", REG_EXTENDED) returned 0 (No Error)
expected 9 (REG_EBRACE) or 2 (REG_BADPAT)
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
The XSH4 grey area identified in PIN4.039 still exists in XSH5.
However, since regcomp() is a POSIX.2 function, it is recommended
that a Temporary Interpretation is granted for XSH5 and a POSIX.2
interpretation request is submitted.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Temporary Interpretation (TIN) Review Conclusion
A Temporary Interpretation is granted.
Problem Reporting System Options:
- View Report 1920
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority