Bug 116248 - patch for ISO C
Summary: patch for ISO C
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: alchemist
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-19 15:04 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 1.0.32-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-02-19 15:13:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2004-02-19 15:04:44 UTC
Description of problem:

Hello there, 

Here is patch to get alchemist-1.0.31-1 to compile on ISO C
compilers.


--- pyalchemist.c.orig	2004-02-19 11:53:59.000000000 +0000
+++ pyalchemist.c	2004-02-19 11:54:29.000000000 +0000
@@ -3704,12 +3704,6 @@
 		return (int) self->box - (int) ((pyAdmBlackBox_object *) obj)->box;
 }
 
-/**
-* pyAdmBlackBox_getattr : handles x.attr calls
-**/
-static PyObject *
-pyAdmBlackBox_getattr (pyAdmBlackBox_object *self, char *name) 
-{
 	void quux(PyObject *dict, char *name) {
 		PyObject *string, *integer;
 		integer = PyInt_FromLong(1);
@@ -3718,6 +3712,12 @@
 		Py_DECREF(string);
 		Py_DECREF(integer);
 	}
+/**
+* pyAdmBlackBox_getattr : handles x.attr calls
+**/
+static PyObject *
+pyAdmBlackBox_getattr (pyAdmBlackBox_object *self, char *name) 
+{
 	AdmError *error;
 
 	error = NULL;


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.