Bugzilla – Attachment 255422 Details for
Bug 444472
strict aliasing issues in yast2-python-bindings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
patch
python-bindings.patch (text/plain), 1.00 KB, created by
Josef Reidinger
on 2008-11-25 18:03:50 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Josef Reidinger
Created:
2008-11-25 18:03:50 UTC
Size:
1.00 KB
patch
obsolete
>Index: YCPTypes.cc >=================================================================== >--- YCPTypes.cc (revision 53603) >+++ YCPTypes.cc (working copy) >@@ -12,13 +12,13 @@ > return false; > if (PyType_Ready(&CodeType) < 0) > return false; >- Py_INCREF(&SymbolType); >+ Py_INCREF((PyObject *)&SymbolType); > PyModule_AddObject(module, "Symbol", (PyObject *)&SymbolType); >- Py_INCREF(&PathType); >+ Py_INCREF((PyObject *)&PathType); > PyModule_AddObject(module, "Path", (PyObject *)&PathType); >- Py_INCREF(&TermType); >+ Py_INCREF((PyObject *)&TermType); > PyModule_AddObject(module, "Term", (PyObject *)&TermType); >- Py_INCREF(&CodeType); >+ Py_INCREF((PyObject *)&CodeType); > PyModule_AddObject(module, "Code", (PyObject *)&CodeType); > > return true; >@@ -28,7 +28,7 @@ > { > if (PyType_Ready(&TermType) < 0) > return false; >- Py_INCREF(&TermType); >+ Py_INCREF((PyObject *)&TermType); > PyModule_AddObject(module, "Term", (PyObject *)&TermType); > > return true;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 444472
: 255422