Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 592290 Details for
Bug 696755
gnome-sudoku backtrace on start
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch from upstream git
gnome_sudoku-ConflictError-race-condition-bug433521.patch (text/plain), 1.14 KB, created by
Matěj Cepl
on 2012-06-16 08:10:57 UTC
(
hide
)
Description:
patch from upstream git
Filename:
MIME Type:
Creator:
Matěj Cepl
Created:
2012-06-16 08:10:57 UTC
Size:
1.14 KB
patch
obsolete
>From 212f40519e29d7afad05cd307980acfd2b355e60 Mon Sep 17 00:00:00 2001 >From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> >Date: Fri, 09 Apr 2010 20:58:23 +0000 >Subject: Sudoku: Only allow autosolver to start if it is not already running > >Patch by ultramancool@gmail.com > >GNOME bug #433521 >--- >diff --git a/gnome-sudoku/src/lib/sudoku.py b/gnome-sudoku/src/lib/sudoku.py >index c05d2a8..aa4fda2 100644 >--- a/gnome-sudoku/src/lib/sudoku.py >+++ b/gnome-sudoku/src/lib/sudoku.py >@@ -296,6 +296,7 @@ class SudokuSolver (SudokuGrid): > self.backtraces = 0 > self.initialized = True > self.solved = False >+ self.solving = False > self.trail = [] > > def auto_fill_for_xy (self, x, y): >@@ -390,11 +391,15 @@ class SudokuSolver (SudokuGrid): > return retval > > def solve (self): >+ if self.solving: >+ return >+ self.solving = True > self.auto_fill() > while not self.guess_least_open_square(): > pass > if self.verbose: > print 'Solved!\n', self >+ self.solving = False > self.solved = True > > def solution_finder (self): >-- >cgit v0.9.0.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 696755
:
592290