[Solution] Re: (*sigh) new gnome-libs problems.

> I've been having this problem for the last month or so.
> The problem here is the line around line 297 in
> gnome-libs/libgnome/gnome-magic.c that says:
>   g_snprintf(newent.mimetype, sizeof(newent.mimetype), "%s", curpos);

Hello guys,

   Yosh has pointed out why this is not working as intended. 

   the gnome-libs link against the -ldb library.  This library on some
systems provides a wrapper for snprintf using sprintf (if snprintf
does not exist, it does this).

   glib implements g_snprintf in terms of snprintf if the system has
one, or uses an internal implementation if this is not available.

   So, what happens is that db is not correctly compiled in your
system.  I suggest people reinstall or update their db package.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]