Author Topic: bug report(and fix)  (Read 424 times)

Offline zcpro

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • Email
bug report(and fix)
« on: December 21, 2009, 00:26:56 »
v.0x155
revision 13 - 5 - 2009

1# problem:
Code: [Select]
XMLVariable* XMLElement::FindVariableZ(const char* x,bool ForceCreate = false,char* defnew = 0,bool Temp = false),compile failed if defnew is const string.
1# fix:
Code: [Select]
XMLVariable* XMLElement::FindVariableZ(const char* x,bool ForceCreate = false,const char* defnew = 0,bool Temp = false).

2# problem:
program crashed on
Code: [Select]
int XMLElement::XMLQuery(const char* expression2,XMLElement** rv,unsigned int deep) if expression2's right value is a string.
2# fix:
change xml.cpp line 6845 from
 
Code: [Select]
a1++;to
 
Code: [Select]
a1 = strchr(a1 + 1,' ');
thank author for the great work.

Offline Michael

  • Administrator
  • Super Member
  • ******************
  • Posts: 1069
  • Karma: 32
    • TurboIRC.COM
Re: bug report(and fix)
« Reply #1 on: December 21, 2009, 07:59:05 »
Please try the latest version (http://www.turboirc.com/xml) 1.58 - the bugs you report might have been fixed already.

Best Regards.