|
From: Philippe W. <phi...@sk...> - 2014-09-28 17:20:17
|
On Sun, 2014-09-28 at 18:34 +0200, Florian Krohm wrote:
> On 28.09.2014 18:13, sv...@va... wrote:
>
> > HChar in_vglib_filename[VG_(strlen)(VG_(libdir)) + 1 +
> > VG_(strlen)(newdi_basename) + 1];
> > - VG_(sprintf)("%s/%s", VG_(libdir), newdi_basename);
> > + VG_(sprintf)(in_vglib_filename, "%s/%s", VG_(libdir), newdi_basename);
> >
>
> My bad. Thanks for the fix... Isn't there some GCC option that would
> have triggered a warning here?
gcc produces a warning, but this piece of code is #ifdef-ed inner
so only causes a warning (and a problem) when configured
with --enable-inner.
Philippe
|