|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2425 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 2425.
Report 2425 Actions
Problem Report Number 2425 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1255 Raised 2004-09-27 19:24 Updated 2004-09-27 20:52 Published 2004-09-27 20:52 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSU version 5.2.5 Test Identification CAPI.hdr/misc/netdb 31 Specification Base Definitions Issue 6 Problem Summary The prototype for gethostbyaddr() has not been updated to match SUSv3. Problem Text This test expects the prototype for gethostbyaddr() to be the old one
from SUSv2 where the second argument is size_t. In SUSv3 it changed to
socklen_t.Test Output /tset/CAPI.hdr/misc/netdb/T.netdb 31 Further Information Provided
Test Description:
Base Required Conformance
The function struct hostent *gethostbyaddr(const void *addr, size_t
len, int type) shall be declared with the correct prototype in
netdb.h.
Test Information:
execution of test succeeded, but unexpected output was generated
Feature test macros: -D_XOPEN_SOURCE=600
C compiler return status: 0
Compiler or run-time messages or results:
"cc31es.c", line 51: warning: assignment type mismatch:
pointer to function(pointer to const void, unsigned
long, int) return
ing pointer to struct hostent
{pointer to char h_name, pointer to pointer to
char h_aliases
, int h_addrtype, int h_length,
pointer to pointer to char h_addr_list} "="
pointer to functi
o
n(pointer to const void, unsigned int, int) returning pointer to
struct hoste
nt {pointer to char h_name,
pointer to pointer to char h_aliases, int h_addrtype,
int h_length, p
ointer to pointer to char
h_addr_list}
execution of test succeeded, but unexpected output was generated
Feature test macros: -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112
C compiler return status: 0
Compiler or run-time messages or results:
"cc31es.c", line 51: warning: assignment type mismatch:
pointer to function(pointer to const void, unsigned
long, int) return
ing pointer to struct hostent
{pointer to char h_name, pointer to pointer to
char h_aliases
, int h_addrtype, int h_length,
pointer to pointer to char h_addr_list} "="
pointer to functi
o
n(pointer to const void, unsigned int, int) returning pointer to
struct hoste
nt {pointer to char h_name,
pointer to pointer to char h_aliases, int h_addrtype,
int h_length, p
ointer to pointer to char
h_addr_list}Review Information
Review Type TSMA Review Start Date 2004-09-27 19:24 Last Updated 2004-09-27 20:26 Completed 2004-09-27 20:26 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2004-09-27 19:26 Last Updated 2004-09-27 20:51 Completed 2004-09-27 20:51 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted.
Problem Reporting System Options:
- View Report 2425
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority