|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1221 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 1221.
Report 1221 Actions
Problem Report Number 1221 Submitter's Classification Minor System Fault State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0423 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification base/getcontext 6 Problem Summary PG4U.00044 A MSF is requested because the implementation does not return 0 on a successful call to getcontext. Problem Text
A MSF is requested because the implementation does not return 0
on a successful call to getcontext.
The current implementation returns the traditional additional return value
of 100 to indicate a special non-error condition. Since current programming
recomendations advocate checking for error situations (i.e. checking for -1
in this case), this does not affect portable applications.Test Output
TEST CASE: getcontext
TEST PURPOSE #6
When the context returned from a call to
int getcontext(ucontext_t *ucp) is passed to
setcontext() the program execution shall continue as
if the corresponding getcontext() call had just
returned.
PREP: Setup alternate signal stack
PREP: Handle SIGALRM signals on normal stack
PREP: Handle SIGUSR1 signals on alternate stack
PREP: Handle SIGUSR2 signals on normal stack
PREP: Get current context
TEST: Execution continues with getcontext after setcontext
ERROR: getcontext returned 100
6 UNRESOLVEDReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A temporary waiver for a minor system fault is recommended.
This is an issue with applications which check for a 0 return value
to indicate success. These applications will compile but not run
properly. However, a reasonable QA process should catch the problems
this causes. Once the failure is detected changing the code to work
properly should be simple and straightforward (but bothersome).
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 1221
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority