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

BUG in XSH Issue 6

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: BUG in XSH Issue 6
From: Jack McCann <yyyyyy@xxxxxxxxxxx>
Date: Tue, 30 Apr 2002 13:02:59 -0400 (EDT)
Cc: yyyyyy@xxxxxxxxxxx
@ page 526 line 17281-17282,17292-17293 section getnameinfo editorial 
[JMXSH6-10]

Problem:

Defect code :  2. Clarification

When the text on lines 17272-17274 was added, it introduced an
ambiguity about which address should be returned if the node's
name cannot be located, or if the NI_NUMERICHOST flag is set.

Action:

Change the sentence that spans lines 17281-17282 to read:

If the node's name cannot be located, the numeric form of the
address contained in the socket address structure pointed to
by the sa argument is returned instead of its name. 

Change the sentence on lines 17292-17293 to read:

If the flag bit NI_NUMERICHOST is set, the numeric form of the 
address contained in the socket address structure pointed to
by the sa argument shall be returned instead of its name,
under all circumstances.

<Prev in Thread] Current Thread [Next in Thread>
  • BUG in XSH Issue 6, Jack McCann <=