| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Defect in XBD gethostid |
| From: | yyyyyyyy@xxxxxxxxxxx |
| Date: | Tue, 27 Jul 2004 14:11:25 +0100 (BST) |
Defect report from : Dimitri Papadopoulos , Commissariat a l'Energie
Atomique
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 0 line 0 section gethostid editorial {1}
Problem:
Edition of Specification (Year): 2004
Defect code : 1. Error
See:
http://www.opengroup.org/onlinepubs/009695399/functions/gethostid.html
The gethostid() function returns a long.
The description states:
The gethostid() function shall retrieve
a 32-bit identifier for the current host.
On 64-bit systems 'long' is 64-bit, not 32-bit.
Action:
The documentation some clarification. A 32-bit integer does fit into a 64-bit
integer, but then the standard could specify whether the upper or lower bits
are filled in.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XCU nice, eggert |
|---|---|
| Next by Date: | Defect in XCU sort, eggert |
| Previous by Thread: | Defect in XSH - missing res_init(), Petter Reinholdtsen |
| Next by Thread: | Defect in XCU sort, eggert |
| Indexes: | [Date] [Thread] [All Lists] |