Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 130347 Details for
Bug 191714
games-arcade/bub-n-bros-1.6 (version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bub-n-bros-1.6-python25.patch
bub-n-bros-1.6-python25.patch (text/plain), 1.04 KB, created by
Tomasz Mon
on 2007-09-08 16:01:45 UTC
(
hide
)
Description:
bub-n-bros-1.6-python25.patch
Filename:
MIME Type:
Creator:
Tomasz Mon
Created:
2007-09-08 16:01:45 UTC
Size:
1.04 KB
patch
obsolete
>diff -ur bubbros-1.5.orig/bubbob/statesaver.c bubbros-1.5/bubbob/statesaver.c >--- bubbros-1.5.orig/bubbob/statesaver.c 2007-09-08 17:43:14.000000000 +0200 >+++ bubbros-1.5/bubbob/statesaver.c 2007-09-08 17:43:14.000000000 +0200 >@@ -75,7 +75,7 @@ > Py_INCREF(g); /* exhausted -- can return 'g' itself */ > return g; > } >- if (f->f_nfreevars || f->f_ncells) { >+ if (PySequence_Length(co->co_freevars) || PySequence_Length(co->co_cellvars)) { > PyErr_SetString(PyExc_ValueError, "generator has cell or free vars"); > goto error; > } >@@ -112,6 +112,8 @@ > PyFrameObject* f = NULL; > PyFrameObject* f2 = NULL; > PyCodeObject* co; >+ PyCodeObject* code; >+ PyCodeObject* code2; > int i, res; > > if (g != g2) >@@ -141,9 +143,9 @@ > Py_DECREF(x); > goto error; > } >- f2 = (PyFrameObject*) x; > >- if (f2->f_stacksize != f->f_stacksize) { >+ code2 = (PyFrameObject*) x; >+ if (code2->co_stacksize != code->co_stacksize) { > PyErr_SetString(PyExc_TypeError, "stack size mismatch"); > goto error; > }
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 191714
: 130347 |
130348