Re: [matplotlib-devel] Windows testing favor (was: tkinter segv under opensuse 10.3)

2008-05-16 Thread John Hunter
On Thu, May 15, 2008 at 2:22 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: >> OK, I just committed a change using scanf with type %lu. tkagg svn >> trunk users should test on any platform they have access to. > > Once we're confident in the fix, I'll backport this to 0.91.x, as it exists > th

Re: [matplotlib-devel] Windows testing favor (was: tkinter segv under opensuse 10.3)

2008-05-15 Thread Michael Droettboom
John Hunter wrote: > On Thu, May 15, 2008 at 2:09 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> Oh joy! Maybe we should try (as Eric suggested) sscanf instead. >> > > OK, I just committed a change using scanf with type %lu. tkagg svn > trunk users should test on any platform they

Re: [matplotlib-devel] Windows testing favor (was: tkinter segv under opensuse 10.3)

2008-05-15 Thread John Hunter
On Thu, May 15, 2008 at 2:09 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Oh joy! Maybe we should try (as Eric suggested) sscanf instead. OK, I just committed a change using scanf with type %lu. tkagg svn trunk users should test on any platform they have access to. I can try OS X tonight

Re: [matplotlib-devel] Windows testing favor (was: tkinter segv under opensuse 10.3)

2008-05-15 Thread Michael Droettboom
Oh joy! Maybe we should try (as Eric suggested) sscanf instead. Cheers, Mike John Hunter wrote: > On Thu, May 15, 2008 at 8:08 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> I recently committed a fix (courtesy of Malte Marquarding) for segfaults >> in the Tk backend. It seems it was

Re: [matplotlib-devel] Windows testing favor (was: tkinter segv under opensuse 10.3)

2008-05-15 Thread John Hunter
On Thu, May 15, 2008 at 8:08 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I recently committed a fix (courtesy of Malte Marquarding) for segfaults > in the Tk backend. It seems it was converting a string of digits to a > "signed long" and then casting to a pointer. Unfortunately, it really

Re: [matplotlib-devel] Windows testing favor (was: tkinter segv under opensuse 10.3)

2008-05-15 Thread John Hunter
On Thu, May 15, 2008 at 8:08 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I recently committed a fix (courtesy of Malte Marquarding) for segfaults > in the Tk backend. It seems it was converting a string of digits to a > "signed long" and then casting to a pointer. Unfortunately, it really

[matplotlib-devel] Windows testing favor (was: tkinter segv under opensuse 10.3)

2008-05-15 Thread Michael Droettboom
I recently committed a fix (courtesy of Malte Marquarding) for segfaults in the Tk backend. It seems it was converting a string of digits to a "signed long" and then casting to a pointer. Unfortunately, it really needs to be an "unsigned long" or overflow may occur. Since the C standard libr