View Single Post
  #7  
Old June 10th, 2005, 11:26 AM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: Replay bug- again !

No offense, Johan K, but if your C code runs differently on different systems, then there must be a bug in your code, such as reading uninitialized memory, making unportable assumptions about the size of an integer, etc. It is traditional for C code to have lots of these bugs.

You could try using the "valgrind" tool on Linux. It is an excellent tool that gives very few false alarms but catches lots of actual errors.

(Of course, if your code is depending on the system for something, such as networking, file system usage, interprocess communication, etc., then maybe it isn't a bug but a legitimate difference of behavior. But I can't see how such a system-level behavior would change the outcome of battles, except via race conditions.)
Reply With Quote