Re: Bug#657081: audacious: FTBFS on hurd-i386
On Tue, 2012-01-24 at 01:03 +0100, Guillem Jover wrote:
> Hi!
>
> On Mon, 2012-01-23 at 22:56:27 +0100, Svante Signell wrote:
> > Package: audacious
> > + int len;
> > +
> > + len = strlen(FILENAME) + 1 + strlen(aud_paths[BMP_PATH_USER_DIR]) + 1;
> > + path = g_malloc (len);
> > + snprintf (path, len, "%s/" FILENAME, aud_paths[BMP_PATH_USER_DIR]);
>
> Instead of this you can use the more compact and less error prone
> g_strdup_printf() or g_strconcat().
>
Thanks Guillem, g_strdup_printf() is now used, see the updated bug in
the Debian bug database. Unfortunately the reply to Pino with the
updated patch was not sent to the D-H ML.
Reply to: