|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0123 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 0123.
Report 0123 Actions
Problem Report Number 0123 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0123 Raised 1993-11-17 08:00 Updated 2003-03-13 08:00 Published 1993-11-26 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.4 Test Identification XOPEN.hdr/misc/regexp 9 Linked Problem Reports TSD4.011, (in, old, system) Problem Summary TSD4.123 X/Open interpretation VWG/016/070792 states: "The regexp.h header is allowed dispensation from namespace rules since this conflicts with existing behaviour." As a result of this interpretation, test s... Problem Text
X/Open interpretation VWG/016/070792 states: "The regexp.h header is
allowed dispensation from namespace rules since this conflicts with
existing behaviour." As a result of this interpretation, test suite
deficiency TSD4.011 was granted for VSX 4.2.3 and a code fix was
added to VSX 4.2.4. The code fix appears to be incomplete.
Our <regexp.h> header includes <stdlib.h>. Our stdlib.h contains the
following:
typedef struct { /* struct returned from div */
int quot; /* quotient */
int rem; /* remainder */
} div_t;
This test defines a macro
#define quot "quot unprotected"))))))))))
which changes the code above to
typedef struct {
int "quot unprotected"))))))))));
int rem;
} div_t;
and the compiler complains. A permanent waiver is requested.Test Output
/tset/XOPEN.hdr/misc/regexp/T.regexp 9 Failed
Test Description:
If _XOPEN_SOURCE is defined and no other feature test macros except
_POSIX_SOURCE, _POSIX_C_SOURCE=1 or _POSIX_C_SOURCE=2 are defined, no
other symbols than those defined or reserved by the XPG are made
visible.
This test is not executed in XPG3 mode.
Test Strategy:
FOR each unreserved struct/union member made visible by the header
DEFINE a macro which will cause an error if not protected from
expansion
UNDEFINE those macros which correspond to allowed member names
INCLUDE a copy of the header file modified to identify #defines
FOR each unreserved symbol made visible by the header
VERIFY that the symbol name is in a list of allowed names
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:
1 user error No warnings
E "././regexp.h.D",L258/C6: (syntactic) unexpected
symbol:'<STRING>':"quot unprotected"
DELETED: '<STRING>':"quot unprotected"@"././regexp.h.D",L258/C6
DELETED: ')'@"././regexp.h.D",L258/C24
DELETED: ')'@"././regexp.h.D",L258/C25
DELETED: ')'@"././regexp.h.D",L258/C26
DELETED: ')'@"././regexp.h.D",L258/C27
>>> This error is too costly to repair -- aborting.
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:
1 user error No warnings
E "././regexp.h.D",L258/C6: (syntactic) unexpected
symbol:'<STRING>':"quot unprotected"
DELETED: '<STRING>':"quot unprotected"@"././regexp.h.D",L258/C6
DELETED: ')'@"././regexp.h.D",L258/C24
DELETED: ')'@"././regexp.h.D",L258/C25
DELETED: ')'@"././regexp.h.D",L258/C26
DELETED: ')'@"././regexp.h.D",L258/C27
>>> This error is too costly to repair -- aborting.
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:
1 user error No warnings
E "././regexp.h.D",L258/C6: (syntactic) unexpected
symbol:'<STRING>':"quot unprotected"
DELETED: '<STRING>':"quot unprotected"@"././regexp.h.D",L258/C6
DELETED: ')'@"././regexp.h.D",L258/C24
DELETED: ')'@"././regexp.h.D",L258/C25
DELETED: ')'@"././regexp.h.D",L258/C26
DELETED: ')'@"././regexp.h.D",L258/C27
>>> This error is too costly to repair -- aborting.
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:
1 user error No warnings
E "././regexp.h.D",L258/C6: (syntactic) unexpected
symbol:'<STRING>':"quot unprotected"
DELETED: '<STRING>':"quot unprotected"@"././regexp.h.D",L258/C6
DELETED: ')'@"././regexp.h.D",L258/C24
DELETED: ')'@"././regexp.h.D",L258/C25
DELETED: ')'@"././regexp.h.D",L258/C26
DELETED: ')'@"././regexp.h.D",L258/C27
>>> This error is too costly to repair -- aborting.
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:
1 user error No warnings
E "././regexp.h.D",L258/C6: (syntactic) unexpected
symbol:'<STRING>':"quot unprotected"
DELETED: '<STRING>':"quot unprotected"@"././regexp.h.D",L258/C6
TEST INFORMATION TRUNCATED BY -t OPTIONReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted to be 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 0123
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority