|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2111 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 2111.
Report 2111 Actions
Problem Report Number 2111 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1076 Raised 1999-09-03 08:00 Updated 2003-03-13 08:00 Published 1999-09-07 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.4 Test Identification PTHR.os/all/getchar_unlocked 2 Problem Summary TSD5TH.00069 This request applies to both the macro and the function instances of this test. According to XSH5, p. 318, getchar_unlocked "may safely be used in a multi- threaded environment if and only if they are... Problem Text
This request applies to both the macro and the function instances of this
test.
According to XSH5, p. 318, getchar_unlocked "may safely be used in a multi-
threaded environment if and only if they are called while the invoking
thread owns the (FILE*) object, as is the case after a successful call
of the flockfile() or ftrylockfile() functions."
The tests do not call flockfile() or ftrylockfile(). If the calls
are added to the tests, the tests pass.Test Output
10|1447 /tset/PTHR.os/all/Mgetchar_unlocked/T.getchar_unlocked 07:10:35|TC Start
, scenario ref 1469-0
...
200|1447 2 07:10:35|TP Start
520|1447 2 000276683 1 1|If the feature test macro _POSIX_THREAD_SAFE_FUNCTIONS
is defined:
520|1447 2 000276683 1 2|when the stdin stream is at end-of-file,
520|1447 2 000276683 1 3|then a call to getchar_unlocked() sets the end-of-file
indicator for
520|1447 2 000276683 1 4|stdin and returns EOF.
520|1447 2 000276683 1 5|Posix Ref: Component GETCHAR_UNLOCKED
520|1447 2 000276683 1 6|Assertion 9945-1:1996 8.2.7.2, ANSI/ISO 9899-1990 7.9.7
.6-2(C)
520|1447 2 000276685 9 1|The end of file indicator for stream was not set
520|1447 2 000276683 2 1|tet_fork, expected 0, got 1
220|1447 2 2 07:10:35|UNRESOLVED
10|1448 /tset/PTHR.os/all/getchar_unlocked/T.getchar_unlocked 07:10:36|TC Start,
scenario ref 1470-0
...
200|1448 2 07:10:36|TP Start
520|1448 2 000276686 1 1|If the feature test macro _POSIX_THREAD_SAFE_FUNCTIONS
is defined:
520|1448 2 000276686 1 2|when the stdin stream is at end-of-file,
520|1448 2 000276686 1 3|then a call to getchar_unlocked() sets the end-of-file
indicator for
520|1448 2 000276686 1 4|stdin and returns EOF.
520|1448 2 000276686 1 5|Posix Ref: Component GETCHAR_UNLOCKED
520|1448 2 000276686 1 6|Assertion 9945-1:1996 8.2.7.2, ANSI/ISO 9899-1990 7.9.7
.6-2(C)
520|1448 2 000276688 17 1|The end of file indicator for stream was not set
520|1448 2 000276688 9 1|The end of file indicator for stream was not set
520|1448 2 000276686 2 1|tet_fork, expected 0, got 1
220|1448 2 2 07:10:36|UNRESOLVEDReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A test suite deficiency 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.
Problem Reporting System Options:
- View Report 2111
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority