Re: Problem with gethostid

2012-01-27 Thread Yuri Gribov
Corinna, > did you read my replies to your original mail? I was not subscribed to the list so I was not receiving your emails (you'll probably want to "Reply all" next time...). Thanks a lot for your help! When does this change go to official cygwin1.dll? I don't dare to build Cygwin myself...

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 23 23:23, Yuri Gribov wrote: > > I have some problems with gethostid functions. > > I have checked the implementation of gethostid in syscalls.cc - it > seems that it uses HKLM/Software/Microsoft/Cryptography/MachineGuid. I > checked GUIDs of my machines and they are clearly different so th

Re: Problem with gethostid

2012-01-23 Thread Yuri Gribov
> I have some problems with gethostid functions. I have checked the implementation of gethostid in syscalls.cc - it seems that it uses HKLM/Software/Microsoft/Cryptography/MachineGuid. I checked GUIDs of my machines and they are clearly different so this is not the reason for error. No idea what's

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 23 10:53, Corinna Vinschen wrote: > While gethostid is not guaranteed to return a globally unique ID, I > think I see the potential flaws in the algorithm. It shouldn't be too > hard to make it a bit more intelligent. > > Or, we just replace it with a simple algorithm as it's described in

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 22 17:52, Yuri Gribov wrote: > Hi all, > > I have some problems with gethostid functions. When I run it on some > nodes of my cluster I get the same return value although hostnames and > IP addresses are different. Here are the logs for 2 nodes (test > program is in the attach, as well as c