[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Crash when generating 2-sided db - path.c
From: |
Nardy Pillards |
Subject: |
Re: [Bug-gnubg] Crash when generating 2-sided db - path.c |
Date: |
Thu, 12 Dec 2002 17:52:34 +0100 |
> > Right now with the current CVS makebearoff doesn't link as already
reported
> > by Nardy.
> > $Id: makebearoff.c,v 1.19 2002/12/08 10:35:42 thyssen Exp $
> > $Id: path.c,v 1.2 2002/12/11 20:21:34 thyssen Exp $
> >
> > gcc -o makebearoff makebearoff.o eval.o positionid.o pub_eval.o
> > matchequity.o matchid.o i18n.o getopt.o getopt1.o osr.o bearoffgammon.o
> > bearoff.o erf.o path.o -L./lib -levent -lxml2 -lintl.dll
> > path.o(.text+0x2ae):path.c: undefined reference to `outputerr'
>
> Just remove the line with outputerr in path.c.
>
> Jørn
Possible to remove that line in the CVS?
That is:
change lines 170 and next from path.c
#ifdef WIN32
/* windows can not rename to an existing file */
if ( unlink ( szNew ) && errno != ENOENT ) {
/* do not complain if file is not found */
outputerr ( szNew );
free ( szNew );
return -1;
}
#endif
to read as:
#ifdef WIN32
/* windows can not rename to an existing file */
if ( unlink ( szNew ) && errno != ENOENT ) {
/* do not complain if file is not found */
free ( szNew );
return -1;
}
#endif
Thank you
Nardy
- Re: [Bug-gnubg] Crash when generating 2-sided db, (continued)
- Re: [Bug-gnubg] Crash when generating 2-sided db, Jim Segrave, 2002/12/12
- Re: [Bug-gnubg] Crash when generating 2-sided db, Holger, 2002/12/12
- Re: [Bug-gnubg] Crash when generating 2-sided db, Jim Segrave, 2002/12/12
- Re: [Bug-gnubg] Crash when generating 2-sided db, Nardy Pillards, 2002/12/12
- Re: [Bug-gnubg] Crash when generating 2-sided db, Holger, 2002/12/12
- Re: [Bug-gnubg] Crash when generating 2-sided db, Nardy Pillards, 2002/12/12
- Re: [Bug-gnubg] Crash when generating 2-sided db, Nardy Pillards, 2002/12/12
- Re: [Bug-gnubg] Crash when generating 2-sided db - path.c,
Nardy Pillards <=