🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #172

Gnuchess infinite loop?

#172
From: Michael Glenn
Date: Wed, 30 Dec 1992 05:49
15 lines
869 bytes
I've tried compiling gnuchess4.0.pl60 with gcc 2.3.3, and I consistantly  
get an infinite loop (usually after 4-5 seconds of successful operation).   
It happens around line 54 of atak.c in the loop

          do
            {
              a[u] = ((a[u]+1) | c);
              u = ((color[u] == neutral) ? ppos[u] : pdir[u]);
          } while (u != sq);

Obviously u never gets to equal sq here.  Anyone else have such a problem,  
or is this old news?

Michael Glenn
Technical Details
Message-ID: <1992Dec30.054927.26996@dartvax.dartmouth.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!bu.edu!dartvax!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!bu.edu!dartvax!news
From: fermat@fermat.dartmouth.edu (Michael Glenn)
Newsgroups: gnu.chess
Subject: Gnuchess infinite loop?
Message-ID: <1992Dec30.054927.26996@dartvax.dartmouth.edu>
Date: 30 Dec 92 05:49:27 GMT
Sender: news@dartvax.dartmouth.edu (The News Manager)
Organization: Dartmouth College, Hanover, NH
Lines: 15