projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
762edcd
)
fix crash on engine crash
author
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 19 Nov 2009 02:54:58 +0000 (18:54 -0800)
committer
Arun Persaud
<arun@nubati.net>
Sun, 22 Nov 2009 19:58:28 +0000 (11:58 -0800)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
815f51d
..
342b6f8
100755
(executable)
--- a/
backend.c
+++ b/
backend.c
@@
-12411,7
+12411,7
@@
SendToProgram(message, cps)
} else {
gameInfo.result = cps->twoMachinesColor[0]=='w' ? BlackWins : WhiteWins;
}
- gameInfo.resultDetails = buf;
+ gameInfo.resultDetails = StrSave(buf);
}
DisplayFatalError(buf, error, 1);
}
@@
-12442,7
+12442,7
@@
ReceiveFromProgram(isr, closure, message, count, error)
} else {
gameInfo.result = cps->twoMachinesColor[0]=='w' ? BlackWins : WhiteWins;
}
- gameInfo.resultDetails = buf;
+ gameInfo.resultDetails = StrSave(buf);
}
RemoveInputSource(cps->isr);
DisplayFatalError(buf, 0, 1);