Re: [gdome] setAttribute segv



Not sure this is really what you want, but here it is....
oh, the compiler is egcs-2.91.66

Tobias Peters wrote:

Nice. Could you please diff -c the *.h files in the original gdomecore
directory against the ones with your changes and send the result as a
patch to the list, so that the maintainer can include it in the next
release?

Which compiler version are you using, btw?

Tobias

8<-----8<-----8<-----8<-----8<-----8<-----

*** gdome-xml-attribute.h    Wed Sep 12 10:55:23 2001
--- orig/gdome-xml-attribute.h    Wed Sep 12 14:44:39 2001
***************
*** 61,67 ****
 void                 gdome_xml_a_set_value       (GdomeAttr *self,
GdomeDOMString *nodeValue, GdomeException *exc);
! extern const GdomeAttrVtab gdome_xml_a_vtab;


 #endif /* GDOME_ATTRIBUTE_FILE */
--- 61,67 ----
 void                 gdome_xml_a_set_value       (GdomeAttr *self,
GdomeDOMString *nodeValue, GdomeException *exc);
! const GdomeAttrVtab gdome_xml_a_vtab;


 #endif /* GDOME_ATTRIBUTE_FILE */
*** gdome-xml-cdata.h    Wed Sep 12 10:55:33 2001
--- orig/gdome-xml-cdata.h    Wed Sep 12 14:44:39 2001
***************
*** 52,58 ****
 };


! extern const GdomeCharacterDataVtab gdome_xml_cd_vtab;



--- 52,58 ----
 };


! const GdomeCharacterDataVtab gdome_xml_cd_vtab;



*** gdome-xml-cdatas.h    Wed Sep 12 10:55:39 2001
--- orig/gdome-xml-cdatas.h    Wed Sep 12 14:44:39 2001
***************
*** 39,45 ****
                                           GdomeException *exc);


! extern const GdomeCDATASectionVtab gdome_xml_cds_vtab;



--- 39,45 ----
                                           GdomeException *exc);


! const GdomeCDATASectionVtab gdome_xml_cds_vtab;



*** gdome-xml-comment.h    Wed Sep 12 10:55:44 2001
--- orig/gdome-xml-comment.h    Wed Sep 12 14:44:39 2001
***************
*** 47,53 ****
                                         const char *interface,
                                         GdomeException *exc);

! extern const GdomeCommentVtab gdome_xml_c_vtab;

 #endif /* GDOME_COMMENT_FILE */

--- 47,53 ----
                                         const char *interface,
                                         GdomeException *exc);

! const GdomeCommentVtab gdome_xml_c_vtab;

 #endif /* GDOME_COMMENT_FILE */

*** gdome-xml-document.h    Wed Sep 12 10:55:47 2001
--- orig/gdome-xml-document.h    Wed Sep 12 14:44:39 2001
***************
*** 114,120 ****
GdomeException *exc);


! extern const GdomeDocumentVtab gdome_xml_doc_vtab;

 #endif /* GDOME_DOC_FILE */

--- 114,120 ----
GdomeException *exc);


! const GdomeDocumentVtab gdome_xml_doc_vtab;

 #endif /* GDOME_DOC_FILE */

*** gdome-xml-documentf.h    Wed Sep 12 10:55:54 2001
--- orig/gdome-xml-documentf.h    Wed Sep 12 14:44:39 2001
***************
*** 46,52 ****
                                          const char *interface,
                                          GdomeException *exc);

! extern const GdomeDocumentFragmentVtab gdome_xml_df_vtab;



--- 46,52 ----
                                          const char *interface,
                                          GdomeException *exc);

! const GdomeDocumentFragmentVtab gdome_xml_df_vtab;



*** gdome-xml-documentt.h    Wed Sep 12 10:56:00 2001
--- orig/gdome-xml-documentt.h    Wed Sep 12 14:44:39 2001
***************
*** 68,74 ****
GdomeException *exc); GdomeDOMString * gdome_xml_dt_internalSubset (GdomeDocumentType *self, GdomeException *exc);
! extern const GdomeDocumentTypeVtab gdome_xml_dt_vtab;

 #endif /* GDOME_DOCUMENT_TYPE_FILE */

--- 68,74 ----
GdomeException *exc); GdomeDOMString * gdome_xml_dt_internalSubset (GdomeDocumentType *self, GdomeException *exc);
! const GdomeDocumentTypeVtab gdome_xml_dt_vtab;

 #endif /* GDOME_DOCUMENT_TYPE_FILE */

*** gdome-xml-domimpl.h    Wed Sep 12 10:56:04 2001
--- orig/gdome-xml-domimpl.h    Wed Sep 12 14:44:39 2001
***************
*** 132,138 ****
                                            GdomeSavingCode mode,
                                            GdomeException *exc);

! extern const GdomeDOMImplementationVtab gdome_xml_di_vtab;



--- 132,138 ----
                                            GdomeSavingCode mode,
                                            GdomeException *exc);

! const GdomeDOMImplementationVtab gdome_xml_di_vtab;



*** gdome-xml-element.h    Wed Sep 12 10:56:08 2001
--- orig/gdome-xml-element.h    Wed Sep 12 14:44:39 2001
***************
*** 124,129 ****
GdomeException *exc);


! extern const GdomeElementVtab gdome_xml_el_vtab;

 #endif /* GDOME_ELEMENT_FILE */
--- 124,129 ----
GdomeException *exc);


! const GdomeElementVtab gdome_xml_el_vtab;

 #endif /* GDOME_ELEMENT_FILE */
*** gdome-xml-entity.h    Wed Sep 12 10:56:12 2001
--- orig/gdome-xml-entity.h    Wed Sep 12 14:44:39 2001
***************
*** 46,52 ****
 };


! extern const GdomeEntityVtab gdome_xml_ent_vtab;

 gpointer           gdome_xml_ent_query_interface (GdomeNode *self,
                                                   const char *interface,
--- 46,52 ----
 };


! const GdomeEntityVtab gdome_xml_ent_vtab;

 gpointer           gdome_xml_ent_query_interface (GdomeNode *self,
                                                   const char *interface,
*** gdome-xml-entityref.h    Wed Sep 12 10:56:16 2001
--- orig/gdome-xml-entityref.h    Wed Sep 12 14:44:39 2001
***************
*** 38,43 ****
                                            const char *interface,
                                            GdomeException *exc);

! extern const GdomeEntityReferenceVtab gdome_xml_er_vtab;

 #endif /* GDOME_ENTITY_REF_FILE */
--- 38,43 ----
                                            const char *interface,
                                            GdomeException *exc);

! const GdomeEntityReferenceVtab gdome_xml_er_vtab;

 #endif /* GDOME_ENTITY_REF_FILE */
*** gdome-xml-nnodem.h    Wed Sep 12 10:56:21 2001
--- orig/gdome-xml-nnodem.h    Wed Sep 12 14:44:39 2001
***************
*** 53,59 ****
   GdomeNodeType type;
 };

! extern const GdomeNamedNodeMapVtab gdome_xml_nnm_vtab;

 GdomeNamedNodeMap *gdome_xml_nnm_mkref         (GdomeDocument *doc,
                                                 GdomeElement *elem,
--- 53,59 ----
   GdomeNodeType type;
 };

! const GdomeNamedNodeMapVtab gdome_xml_nnm_vtab;

 GdomeNamedNodeMap *gdome_xml_nnm_mkref         (GdomeDocument *doc,
                                                 GdomeElement *elem,
*** gdome-xml-node.h    Wed Sep 12 10:56:24 2001
--- orig/gdome-xml-node.h    Wed Sep 12 14:44:39 2001
***************
*** 105,111 ****
     Gdome_xml_ListenerList *ll;
 };

! extern const GdomeNodeVtab gdome_xml_n_vtab;

 /*GdomeNode         * gdome_xml_n_mkref            (xmlNode *n)*/
 void                gdome_xml_n_ref              (GdomeNode *self,
--- 105,111 ----
     Gdome_xml_ListenerList *ll;
 };

! const GdomeNodeVtab gdome_xml_n_vtab;

 /*GdomeNode         * gdome_xml_n_mkref            (xmlNode *n)*/
 void                gdome_xml_n_ref              (GdomeNode *self,
*** gdome-xml-node.h    Wed Sep 12 10:56:24 2001
--- orig/gdome-xml-node.h    Wed Sep 12 14:44:39 2001
***************
*** 105,111 ****
     Gdome_xml_ListenerList *ll;
 };

! extern const GdomeNodeVtab gdome_xml_n_vtab;

 /*GdomeNode         * gdome_xml_n_mkref            (xmlNode *n)*/
 void                gdome_xml_n_ref              (GdomeNode *self,
--- 105,111 ----
     Gdome_xml_ListenerList *ll;
 };

! const GdomeNodeVtab gdome_xml_n_vtab;

 /*GdomeNode         * gdome_xml_n_mkref            (xmlNode *n)*/
 void                gdome_xml_n_ref              (GdomeNode *self,







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]