Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!cronkite.cisco.com!cisco.com!vandys From: vandys@cisco.com (Andrew Valencia) Newsgroups: comp.os.386bsd.bugs Subject: Patch for backgammon Date: 22 Nov 93 22:02:26 GMT Organization: cisco Systems Lines: 22 Message-ID: <vandys.754005746@cisco.com> NNTP-Posting-Host: glare.cisco.com backgammon will core dump if the optimizer is used to compile the game. Add the following patch to /usr/src/backgammon/backgammon/move.c to fix this. I also have patches to convert the game to <termios.h>, but the current FreeBSD V7 interface seems to work pretty well. Andy *** move.old Mon Nov 22 14:45:32 1993 --- move.c Mon Nov 22 14:43:22 1993 *************** *** 353,360 **** --- 353,361 ---- } new = freeq; freeq = freeq->b_next; + return(new); } pickmove () { /* current game position */