hostid 64-bit support

2011-07-01 Thread Ted Unangst
hostid is a long, and that ship has sailed, but still 64-bit archs should not truncate the value. I would like somebody to test this on a 64-bit machine. Even try setting a 64-bit hostid maybe. Index: kern_sysctl.c === RCS file: /ho

Re: hostid 64-bit support

2011-07-01 Thread Brynet
This might be useful.. but POSIX defines a hostid as 32-bit, however the use of 'long' makes it ambiguous. http://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostid.html Not sure if anything actually would break if you bumped this, do you know if anything relies on it? or was it mainl

Re: hostid 64-bit support

2011-07-02 Thread Ted Unangst
On Fri, Jul 01, 2011, Ted Unangst wrote: > hostid is a long, and that ship has sailed, but still 64-bit archs should > not truncate the value. > > I would like somebody to test this on a 64-bit machine. Even try > setting a 64-bit hostid maybe. never mind about this, it's a waste of time.