Re: [Gambas-user] [CRASH REPORT] XmlElement.GetAttribute (gb.xml) segfault if the attribute is an empty string

2016-09-15 Thread Benoît Minisini
Le 13/09/2016 à 14:40, Adrien Prokopowicz a écrit : > > Damn Tobias, you're fast ! I saw your message just when I commited my > fixes. > I think that overwrote it, but thanks still. :) > > I took the opportunity to spread the fix to the .GetAttribute() method, > which works > the same way. > >

Re: [Gambas-user] [CRASH REPORT] XmlElement.GetAttribute (gb.xml) segfault if the attribute is an empty string

2016-09-13 Thread Adrien Prokopowicz
Le Tue, 13 Sep 2016 14:00:44 +0200, Tobias Boege a écrit: > On Tue, 13 Sep 2016, adamn...@gmail.com wrote: >> Hello, >> >> Damned, my program crashed Gambas that way : >> >> The segfault occurs when I attempt to get the value of the argname >> attribute thus: >> hAD = New

Re: [Gambas-user] [CRASH REPORT] XmlElement.GetAttribute (gb.xml) segfault if the attribute is an empty string

2016-09-13 Thread Tobias Boege
On Tue, 13 Sep 2016, adamn...@gmail.com wrote: > Hello, > > Damned, my program crashed Gambas that way : > > The segfault occurs when I attempt to get the value of the argname attribute > thus: > hAD = New CArgDef > With hAD > .ShortName = hArg.Attributes["shortname"] >

[Gambas-user] [CRASH REPORT] XmlElement.GetAttribute (gb.xml) segfault if the attribute is an empty string

2016-09-13 Thread adamn...@gmail.com
Hello, Damned, my program crashed Gambas that way : The segfault occurs when I attempt to get the value of the argname attribute thus: hAD = New CArgDef With hAD .ShortName = hArg.Attributes["shortname"] .LongName = hArg.Attributes["longname"] .ArgName =