Re: [AD] SF.net SVN: alleg:[11645] allegro/branches/4.9/examples/ex_utf8.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2009-02-21, elias@xxxxxxxxxx <elias@xxxxxxxxxx> wrote:
> Revision: 11645
>           http://alleg.svn.sourceforge.net/alleg/?rev=11645&view=rev
> Author:   elias
> Date:     2009-02-21 15:43:42 +0000 (Sat, 21 Feb 2009)
> 
> Log Message:
> -----------
> Added a testcase to ex_utf8 which crashes for me. Peter: Waiting for you to fix it before I start debugging it myself :)
> 

I can't reproduce it.

Peter

% valgrind ./ex_utf8 46
==15887== Memcheck, a memory error detector.
==15887== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==15887== Using LibVEX rev 1878, a library for dynamic binary translation.
==15887== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==15887== Using valgrind-3.4.0, a dynamic binary instrumentation framework.
==15887== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==15887== For more details, rerun with: -v
==15887== 
OK   0 == strcmp(al_cstr(us), "hõljuk c 42")
OK   al_ustr_appendf(us, " %s", "Luftchüssiboot")
OK   0 == strcmp(al_cstr(us), "hõljuk c 42 Luftchüssiboot")
OK   call_vappendf(us, " %s", "χόβερκράφτ")
OK   0 == strcmp(al_cstr(us), "hõljuk c 42 Luftchüssiboot χόβερκράφτ")
==15887== 
==15887== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 59 from 1)
==15887== malloc/free: in use at exit: 0 bytes in 0 blocks.
==15887== malloc/free: 7 allocs, 7 frees, 152 bytes allocated.
==15887== For counts of detected errors, rerun with: -v
==15887== All heap blocks were freed -- no leaks are possible.






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/