|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0322 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 0322.
Report 0322 Actions
Problem Report Number 0322 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0038 Raised 1994-06-14 08:00 Updated 2003-03-13 08:00 Published 1994-06-20 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 XPG4.hdr/misc/shm 8 Specification System Interfaces and Headers Issue 4 Location in Spec See Problem Text Problem Summary PIN4.038 Our implementation defines shmget(key_t, int, int) as defined in SVID issue 2. XPG4 defines it as shmget(key_t, size_t, int). According to the Interpretation Request VWG/031/091192, either definition ... Problem Text
Our implementation defines shmget(key_t, int, int) as defined in
SVID issue 2. XPG4 defines it as shmget(key_t, size_t, int). According
to the Interpretation Request VWG/031/091192, either definition is
acceptable. VWG/031/091192 also directed no change to the testsuite,
thus a permanent interpretation is requested for our implementation.Test Output
************************************************************************
/tset/XPG4.hdr/misc/shm/T.shm 8 Failed
Test Description:
The header file contains a prototype form function declaration for
shmget().
Test Strategy:
UNDEFINE macro version of shmget()
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:
"cc08es.c", line 36.14: 1506-068 (E) Operation between types
"int(*)(long,unsigned long,int)" and "int(*)(long,int,int)" is
not allowed.
"cc08es.c", line 44.20: 1506-343 (S) Redeclaration of shmget differs
from previous declaration on line 96 of
"/usr/include/sys/shm.h".
"cc08es.c", line 44.20: 1506-377 (I) The type "unsigned long" of
parameter 2 differs from the previous type "int".
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:
"cc08es.c", line 36.14: 1506-068 (E) Operation between types
"int(*)(long,unsigned long,int)" and "int(*)(long,int,int)" is
not allowed.
"cc08es.c", line 44.20: 1506-343 (S) Redeclaration of shmget differs
from previous declaration on line 96 of
"/usr/include/sys/shm.h".
"cc08es.c", line 44.20: 1506-377 (I) The type "unsigned long" of
parameter 2 differs from the previous type "int".
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:
"cc08es.c", line 36.14: 1506-068 (E) Operation between types
"int(*)(long,unsigned long,int)" and "int(*)(long,int,int)" is
not allowed.
"cc08es.c", line 44.20: 1506-343 (S) Redeclaration of shmget differs
from previous declaration on line 96 of
"/usr/include/sys/shm.h".
"cc08es.c", line 44.20: 1506-377 (I) The type "unsigned long" of
parameter 2 differs from the previous type "int".
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:
"cc08es.c", line 36.14: 1506-068 (E) Operation between types
"int(*)(long,unsigned long,int)" and "int(*)(long,int,int)" is
not allowed.
"cc08es.c", line 44.20: 1506-343 (S) Redeclaration of shmget differs
from previous declaration on line 96 of
"/usr/include/sys/shm.h".
"cc08es.c", line 44.20: 1506-377 (I) The type "unsigned long" of
parameter 2 differs from the previous type "int".
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:
"cc08es.c", line 36.14: 1506-068 (E) Operation between types
"int(*)(long,unsigned long,int)" and "int(*)(long,int,int)" is
not allowed.
"cc08es.c", line 44.20: 1506-343 (S) Redeclaration of shmget differs
from previous declaration on line 96 of
"/usr/include/sys/shm.h".
"cc08es.c", line 44.20: 1506-377 (I) The type "unsigned long" of
parameter 2 differs from the previous type "int".
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:
"cc08es.c", line 36.14: 1506-068 (E) Operation between types
"int(*)(long,unsigned long,int)" and "int(*)(long,int,int)" is
not allowed.
"cc08es.c", line 44.20: 1506-343 (S) Redeclaration of shmget differs
from previous declaration on line 96 of
"/usr/include/sys/shm.h".
"cc08es.c", line 44.20: 1506-377 (I) The type "unsigned long" of
parameter 2 differs from the previous type "int".
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is an agreed grey area and it is recommended that a permanent
interpretation be granted.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion
A Permanent Interpretation is granted.
Problem Reporting System Options:
- View Report 0322
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority