|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0453 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 0453.
Report 0453 Actions
Problem Report Number 0453 Submitter's Classification Specification problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0072 Raised 1994-06-13 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.4 Test Identification ANSI.hdr/misc/stdlib_X 55 Linked Problem Reports PIN4.007, (in, old, system) Problem Summary PG4R.073 There is an interpretation that permits the prototype for putenv to differ from the XPG4. The interpretation number is VWG/023/080792. the resolution follows: --- start --- X/OPEN RESOLUTION: The prot... Problem Text
There is an interpretation that permits the prototype for putenv
to differ from the XPG4. The interpretation number is VWG/023/080792.
the resolution follows:
--- start ---
X/OPEN RESOLUTION:
The prototype for putenv should be changed in a future revision
of the XPG from
int putenv(const char *string);
to
int putenv(char *string);
For XPG4 either definition is allowed.
-- end --
The system under test implements the latter definition.Test Output
************************************************************************
/tset/ANSI.hdr/misc/stdlib_X/T.stdlib_X 55 Failed
Test Description:
The header file contains a declaration or prototype (if required) for
putenv().
This test is not executed in XPG3 test mode.
Test Strategy:
UNDEFINE macro version of interface.
COMPARE return value against item of the same type.
USE return value as an array reference.
ASSIGN return value to an item of the same type.
ASSIGN address of function to item of the same type.
IF prototype testing is required
VERIFY a prototype exists.
SUPPLY a correct prototype.
Test Information:
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE
Compiler or run-time messages or results:
UX:acomp: WARNING: "cc55es.c", line 33: assignment type mismatch
UX:acomp: ERROR: "cc55es.c", line 43: identifier redeclared: putenv
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE
Compiler or run-time messages or results:
UX:acomp: WARNING: "cc55es.c", line 33: assignment type mismatch
UX:acomp: ERROR: "cc55es.c", line 43: identifier redeclared: putenv
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
UX:acomp: WARNING: "cc55es.c", line 33: assignment type mismatch
UX:acomp: ERROR: "cc55es.c", line 43: identifier redeclared: putenv
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
UX:acomp: WARNING: "cc55es.c", line 33: assignment type mismatch
UX:acomp: ERROR: "cc55es.c", line 43: identifier redeclared: putenv
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
UX:acomp: WARNING: "cc55es.c", line 33: assignment type mismatch
UX:acomp: ERROR: "cc55es.c", line 43: identifier redeclared: putenv
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
UX:acomp: WARNING: "cc55es.c", line 33: assignment type mismatch
UX:acomp: ERROR: "cc55es.c", line 43: identifier redeclared: putenv
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
Permanent interpretation PIN4.007 already exists for this test failure and
should be quoted on any branding requests.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused, please refer to PIN4.007.
Problem Reporting System Options:
- View Report 0453
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority