gnome-libs-0.99.5
- From: Philippe Defert cern ch
- To: Sam Vilain <sam hydro gen nz>
- Cc: gnome-list gnome org
- Subject: gnome-libs-0.99.5
- Date: Wed, 3 Feb 1999 09:04:29 +0100 (CET)
Sam Vilain writes:
> I successfully compiled gnome-libs-0.99.5 on the following platforms:
>
> sparc-sun-solaris2.6
>
> All went well, except for "gnome-gen-mimedb" coring upon "make
> install". The problem appears to be because line 822 of
> gnome-data/mime-magic contains a name that is longer than
> sizeof(GnomeMagicEntry.mimetype). Looks like a case of C programmer's
> disease.
>
> I think that the culprit is a broken vsnprintf in solaris 2.6 (called
> by glib/gutils.c). It appears to be overflowing even though it's
> arguments are sunsible, and the "array" variable in the
> gnome-magic.c:gnome_magic_parse gets clobbered.
>
> This is v1.1.14 of lib.
>
> hack^H^H^H^HWorkaround:
> shorten line 822 of gnome-data/mime-magic.
> --
I did not have this problem at all. I tried to repeat your error:
refsol26_/scratch/happi/GNU.DESK/gnome-libs-0.99.5/gnome-data_5 $ ../libgnome/gnome-gen-mimedb mime-magic
refsol26_/scratch/happi/GNU.DESK/gnome-libs-0.99.5/gnome-data_6 $
But I had an infinite loop with DEC UNIX.
I used glib 1.1.14 from tar file and egcs 1.1.1.
Amicalement.
--
************************************************************************
* Philippe Defert: Computing and Networks Division *
* CERN, European Laboratory for Particle Physics *
************************************************************************
* URL: http://wwwcn.cern.ch/~defert | E*mail: Philippe.Defert@cern.ch *
************************************************************************
* Un monde nouveau, tu comprends ////\ *
* Rien ne sera plus jamais comme avant \\\// *
* C'est la fin de l'histoire, le rouge apres le noir | | *
* J.J. Goldman | | *
************************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]