Re: [Geany-devel] Weird Segfault Crash

2012-01-03 Thread Colomban Wendling
Le 03/01/2012 14:36, Nick Treleaven a écrit : On 02/01/2012 15:54, Nick Treleaven wrote: On 02/01/2012 14:33, Colomban Wendling wrote: encodings_convert_to_utf8_from_charset(utf8_name, (gsize) -1, ...) Is it OK the cast a negative number to `gsize` and will it have the desired effect for

Re: [Geany-devel] Weird Segfault Crash

2012-01-02 Thread Nick Treleaven
On 02/01/2012 14:33, Colomban Wendling wrote: encodings_convert_to_utf8_from_charset(utf8_name, (gsize) -1, ...) Is it OK the cast a negative number to `gsize` and will it have the desired effect for that function? The `-1` here is supposed to tell the encoding function that the

Re: [Geany-devel] Weird Segfault Crash

2012-01-02 Thread Lex Trotman
On Tue, Jan 3, 2012 at 1:33 AM, Colomban Wendling lists@herbesfolles.org wrote: Hi, Le 02/01/2012 06:01, Matthew Brush a écrit : Hi, I'm having some random crashes, possibly due to bad tag files?  Patch attached fixes the segfault, but I'm pretty sure it's not the correct fix. Well,