From: Ben C. <be...@cl...> - 2004-12-29 16:42:43
|
Hi Victor, I am sorry about your problem. We are still working towards a solution. There is something in the current code which effects the 'format' used by printf so that 0.17 becomes "0,17". When scanned using 'atof' this becomes 0.00. Can you please try a fix for me? Please edit libpp_mysql/dbms.c Near the top please add: #include <locale.h> Then after line 227 in function now_connect please add: setlocale(LC_NUMERIC, "POSIX"); Now please 'make' and let us know. To other members: Would any of you know which component effects this definition? Is this fix supported by FreeBSD, SUN and others if added to the standard distribution? Thanks for all feedback, Ben. Vic...@es... wrote: > > I have a problem with the version data. > > In my database the pp/database/version data = 0,17. > If I set this value perfparse insert data to the database, but I cann't > access to perfparse.cgi. "Error version 0.00 0.17 required please run > perfparse-db-tool --update" > If I change the value to 0.17 then I can access to perfparse.cgi but > perfparse show error "Error version 0,00 0,17 required please run > perfparse-db-tool-update" > > Any idea? > > > Victor Gil > System Administrator > GyD Iberica, S.A. / Giesecke & Devrient Group > Industria, 3-5, E-08970 Sant Joan Despi (Barcelona), Spain > Ext. 371, Tel. (+34) 93 480 83 03, Fax (+34) 93 477 28 97 > mailto:vic...@es... > http://www.gi-de.com > |