Re: [Freeciv-Dev] Server hangs on an Alpha
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Nicolas Brunel [brunel@xxxxxxxxxxxxxxxxxxxx] said:
> First problem, totalmass is a static long int used in a function
> which awaits an int. Second problem, as in my_rand(int size) size
> can be negative which leads to strange behaviour.
I changed the myrand(int size) to myrand(RANDOM_TYPE size) and
recompiled. The problem was still present. I then changed the
RANDOM_TYPE typedef from "unsigned int" to "unsigned long int" and the
now the server doesn't hang anymore. I haven't had a chance to make
sure it is "working" correctly, but it no longer hangs.
(BTW both of my changes together should have counteracted the two
problems you noted above).
- [Freeciv-Dev] Server hangs on an Alpha, Matthew OConnor, 1999/07/28
- [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/28
- Re: [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/28
- Re: [Freeciv-Dev] Server hangs on an Alpha,
Matthew OConnor <=
- Re: [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/28
- Re: [Freeciv-Dev] Server hangs on an Alpha, Rizos Sakellariou, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha, Matthew OConnor, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha, David Pfitzner, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha, David Pfitzner, 1999/07/29
Re: [Freeciv-Dev] Server hangs on an Alpha, Peter Schaefer, 1999/07/29
|
|