Ticket #164 (new enhancement)

Opened 1 year ago

Last modified 7 months ago

Defend both function upgrade

Reported by: draqo Assigned to: gnugo
Priority: normal Milestone: 3.8
Component: source Version:
Severity: normal Keywords: defend_both
Cc: patch: 1

Description

I upgraded defend_both to return ko results too (previously it returned only WIN or LOSE). This required changing all defend_both calls to recognize new returned values. Because there are hundreds of them I didn't check all of them, which change from !=LOSE / ==LOSE / !=WIN / ==WIN set is the best for them. Now all !defend_both are changed to defend_both == LOSE and defend_both to defend_both == WIN (except one - pattern CC505 from ticket 163).

Attachments

def_both.diff (29.7 kB) - added by draqo on 01/23/07 00:57:32.
def_botha.diff (32.2 kB) - added by arend on 04/30/07 20:31:05.
Same patch as def_both.diff, rediffed.

Change History

01/23/07 00:57:32 changed by draqo

  • attachment def_both.diff added.

01/23/07 00:57:59 changed by draqo

Look for comment from 01/23/07 00:19:53 in ticket 148 for regression description of this ticket.

04/30/07 20:31:05 changed by arend

  • attachment def_botha.diff added.

Same patch as def_both.diff, rediffed.

10/24/07 21:16:58 changed by gunnar

  • milestone changed from 3.7.11 to 3.8.