Problem Report Number |
0007 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.PX.0006 |
Raised |
2004-03-27 03:07 |
Updated |
2004-03-29 19:54 |
Published |
2004-03-29 19:54 |
Product Standard |
1003.1-2003 System Interfaces |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSX-PCTS2003 version 1.0 |
Test Identification |
tset/XPG4.hdr/misc/regex/T.regex 20 |
Problem Summary |
The regex symbol visibility tests does not allow regcomp, regfree etc. |
Problem Text |
The regex symbol visibility tests claims regcomp, regerror, regexec,
and regfree are illegal symbols. It seems to be because they are in
the allow_X[] but not the allow[] list. |
Test Output |
***********************************************************************
/tset/XPG4.hdr/misc/regex/T.regex 20 Failed
Test Description:
For XPG4 mode:
When _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
XPG4
are made visible.
For UNIX98 mode:
When _XOPEN_SOURCE is defined with the value 500 and no other
feature test macros except _POSIX_SOURCE or
_POSIX_C_SOURCE<=199506L are defined, no other symbols than
those
defined or reserved by XSH5 are made visible.
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:
Feature test macros: -D_POSIX_C_SOURCE=200112
Compiler or run-time messages or results:
Illegal declared or 'typedef'ed symbol: regcomp
Illegal declared or 'typedef'ed symbol: regerror
Illegal declared or 'typedef'ed symbol: regexec
Illegal declared or 'typedef'ed symbol: regfree
Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal declared or 'typedef'ed symbol: regcomp
Illegal declared or 'typedef'ed symbol: regerror
Illegal declared or 'typedef'ed symbol: regexec
Illegal declared or 'typedef'ed symbol: regfree
|