Email List: Xaustin-review-lX
[All Lists]

Defect in XSH 2.2.2 Namesapace

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH 2.2.2 Namesapace
From: yyyyyyy@xxxxxxx
Date: Thu, 18 Sep 2003 14:30:40 +0100 (BST)
        Defect report from : Joanna Farley , Sun Microsystems

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 15 line 601 section 2.2.2 Namesapace objection {jf-netdb-1}

Problem:

Edition of Specification (Year): 2003

Defect code :  2. Omission

On page 278 of XBD in the netdb.h header lines 9881-9891 
the Address Information Structure is defined:

9882 The <netdb.h> header shall define the addrinfo structure that includes at 
least the following
9883 members:
9884 int ai_flags Input flags.
9885 int ai_family Address family of socket.
9886 int ai_socktype Socket type.
9887 int ai_protocol Protocol of socket.
9888 socklen_t ai_addrlen Length of socket address.
9889 struct sockaddr *ai_addr Socket address of socket.
9890 char *ai_canonname Canonical name of service location.
9891 struct addrinfo *ai_next Pointer to next in list.

Given this definition, then the 2.2.2 The Name Space section of XSH 
table of what symbols implementations may add which is on page 15
line 601 should be changed to include the "ai_" value.



Action:

XSH page 15 line 610 should be changed from:

<netdb.h> h_, n_, p_, s_

to 

<netdb.h> ai_, h_, n_, p_, s_

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH 2.2.2 Namesapace, joannaf <=