No,you're completly wrong...
the problem was explained a few times over IRC and discussed many times 
with the Tcl team... 
Tcl only supports the locale LC_ALL="C" because they use the strtod() 
function in their code, but some locals have a comma as separator 
instead of a dot... so in the Init proc of Tcl and Tk, there is a call 
to setlocale(LC_ALL, "C");
this makes the locale used compliant with tcl/tk ... now the problem is 
that sometimes, some people have their locale modified inside the Tcl/Tk 
environment without reason... it is suspected to be a dll/driver that 
gets loaded or a Win32 API function that gets called which resets the 
locale to the system's locale... The Tcl team suspected an HP printer 
driver.. but it turned out to be coming from somewhere else... now with 
this, it seems it's coming from the GetOpenFileName Win32 API call (open 
file dialog) which seems to reset the locale... 
I couldn't test this, I discussed it with the Tcl team and we should 
provide them with a working test app which shows the bug clearly (so 
far, noone has been able to reproduce it or find the source of the 
problem), then see if the patch I provided them with, fixes it (the 
patch is an #include <locale.h> and a setlocale(LC_ALL, "C"); after the 
GetOpenFileName calls in tkWinDialog.c ...
Sander was supposed to test this... as he has a dutch version of 
Windows... this is where it's hanging.. reproduce/test/fix/submit to tk 
team...

KKRT

On Sun, Sep 03, 2006 at 06:44:41PM +1000, Arieh Schneier wrote:
> I think it may be a bug in expr, I did a google and found statements as
> such. I had a quick look through 6 or 7 of the bugs and it seems that it
> always occurs when a comma is used for a decimal place. This bug doesn't
> make sense, as by definition expr is supposed to check both operands and if
> 1 is a float then change both to floats.
> 
> ----- Original Message From: "Youness Alaoui" ----- 
> 
> > HAHA I DID IT :D
> > take a look at this for example :
> > http://amsn.sourceforge.net/bugs/admin/index.php?show=bug&id=14
> > This was said in the description that the bug was happening *only*
> > for windows users with tcl/tk version 8.4.11 ... now, look a little bit
> below the bug reports list...
> > I added a 'statistics' feature where you see in which tcl/tk version,
> > amsn version and OS a bug happened (the number in parenthesis is the
> > number of occurences)... so there.. what does it mean? the bug isn't
> > "only" for windows.. and not 8.4.11 either, it's MOSTLY windows.. and
> > mostly 8.4.11 because 8.4.11 is the version shipped with the windows
> > binaries...
> > So.. we now know that it's not limited to windows/8.4.11...
> > also, note that the reports shows are ordered by user comment length, so
> > the first reports usually all have user comments, which is better than
> > searching through 20 000 reports to find 10 with user comment... and if
> > you look at the user's comments, it all states that it happened after
> > browsing for a file... got it ? now go to work and fix it :)
> >
> > Anyways.. my code is in
> > shell.sf.net:/home/groups/a/am/amsn/htdocs/libs/bug.class.php
> > can anyone review my code BEFORE doing a commit.. you can find me on
> > msn..
> >
> > KKRT
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to