On Tuesday 09 September 2008 15:34:21 [EMAIL PROTECTED] wrote: > [pdd27mmd] Fix failing coding standards test for line length. > > > Modified: branches/pdd27mmd/src/multidispatch.c > =========================================================================== >=== --- branches/pdd27mmd/src/multidispatch.c (original) > +++ branches/pdd27mmd/src/multidispatch.c Tue Sep 9 15:34:21 2008 > @@ -619,12 +619,14 @@ > > #if MMD_DEBUG > fprintf(stderr, "candidate found for '%s', with signature '%s'\n", > name, sig); > - fprintf(stderr, "type of candidate found: %s\n", > string_to_cstring(interp, VTABLE_name(interp, sub))); > + fprintf(stderr, "type of candidate found: %s\n", > + string_to_cstring(interp, VTABLE_name(interp, sub))); > #endif
That C string leaks. We should have a diagnostic printf which supports the %Ss format we use in exception formatting strings. -- c