|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0207 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 0207.
Report 0207 Actions
Problem Report Number 0207 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0207 Raised 1995-04-30 08:00 Updated 2003-03-13 08:00 Published 1995-05-01 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.4 Test Identification os.streamio/ANSI/freopen 12,13,14,15,16,17 Problem Summary TSD4.207 The freopen tests are depending on a specific ordering of ".o" files in the link load of two binaries which have multiply defined variables. If the module freopen1.o is before freopen.o in the link or... Problem Text
The freopen tests are depending on a specific ordering of ".o" files
in the link load of two binaries which have multiply defined variables.
If the module freopen1.o is before freopen.o in the link order the
the resolution of references is correct and the tests pass.
The usage in VSX violates the C Standard. From 3.7 of ANSI
C (External Definitions):
An external identifier is an external declaration that is also a
definition of a function or an object. If an identifier declared
with external linkage is used in an expression (other than as the
operand of a sizeof operator), somewhere in the entire program
there shall be exactly one external definition for the identifier;
otherwise, there shall be no more than one.
The declarations in freopen.c should use the 'extern' storage-class
specifier.Test Output
/tset/ANSI.os/streamio/freopen/T.freopen 12 Unresolved
Test Information:
fopen((null), "a+") failed - errno 14(EFAULT)
/tset/ANSI.os/streamio/freopen/T.freopen 13 Unresolved
Test Information:
fopen((null), "a+") failed - errno 14(EFAULT)
/tset/ANSI.os/streamio/freopen/T.freopen 14 Unresolved
Test Information:
fopen((null), "a+") failed - errno 14(EFAULT)
/tset/ANSI.os/streamio/freopen/T.freopen 15 Unresolved
Test Information:
fopen((null), "a+") failed - errno 14(EFAULT)
/tset/ANSI.os/streamio/freopen/T.freopen 16 Unresolved
Test Information:
fopen((null), "a+") failed - errno 14(EFAULT)
/tset/ANSI.os/streamio/freopen/T.freopen 17 Unresolved
Test Information:
fopen((null), "a+") failed - errno 14(EFAULT)Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
It is accepted that this is a test suite fault. The current test code
does not conform to the Strict Ref/Def model required by ANSI C, though
most compilers allow a Relaxed Ref/Def model and will accept the current
test suite code. It is recommended that this recognised as a test suite
deficiency.
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 0207
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority