Problem Report Number |
2032 |
Submitter's Classification |
Specification problem |
State |
Resolved |
Resolution |
Temporary Interpretation (TIN) |
Problem Resolution ID |
TIN.X.0093 |
Raised |
1970-01-01 08:00 |
Updated |
2003-03-13 08:00 |
Published |
1998-05-13 08:00 |
Product Standard |
Internationalised System Calls and Libraries Extended V2 (UNIX 98) |
Certification Program |
The Open Brand certification program |
Test Suite |
VSTH version 5.1.2 |
Test Identification |
PTHR.os/all/pthread_cancel 9 |
Specification |
System Interfaces and Headers Issue 5 |
Location in Spec |
See Problem Text |
Problem Summary |
TIN5TH.00004 VSTH is testing wordexp() to ensure that it is not a cancellation point. According to XPG5 XSH, wordexp() is not in the list of "must have" cancellation points or the list of "may have" cancellation p... |
Problem Text |
VSTH is testing wordexp() to ensure that it is not a cancellation point. According to XPG5 XSH, wordexp() is not in the list of "must have" cancellation points or the list of "may have" cancellation points and this test backs that up. Our implementation fails the test.
We believe that wordexp() should have been included in the table of "may cancel" functions. Since it must be able to function exactly as shell command line word expansion does, that means that it must be able to open a directory, read it, and the close it. All three operations are themselves cancellation points (open, read, close) which may potential block indefinitely.
|
Test Output |
************************************************************************ /tset/PTHR.os/all/pthread_cancel/T.pthread_cancel 9 Failed
Test Information: A cancellation point shall not occur in the following XSH5 functions . Testing wmemset() wmemset() passed Testing wordexp() wordexp() failed Testing y0() y0() passed Testing y1() y1() passed Testing yn() yn() passed
************************************************************************
|