This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Apr 15, 2003 at 08:55:08PM +0100, Chris January wrote:Cygwin, one for
*Not* tested on anything other than Windows XP.
Adds gethostid function to Cygwin. Three patches: one for
newlib and one for w32api. If I've done anything wrong let me know and I'll try to fix it.
I tried this on Windows XP and, when run repeatedly, I get two different numbers:
m:\test>gethostid 0xf9926a74
m:\test>gethostid 0xdfd35415
The highly sophisticated program that I'm using is below.
I take it this doesn't happen to you, Chris?
Can you send me two strace outputs with different results please?
There are debug_printf's all the way through the hostid function that output
the result at each stage and these can be used to identify which value is
changing between calls.
ping...
Cheers, Nicholas
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |