home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
-
- 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
-