CVS:
----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS: 
CVS: Committing in .
CVS: 
CVS: Modified Files:
CVS:    CREDITS.TXT src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp 
CVS:
----------------------------------------------------------------------

Cool. A bug report and a fix together. This is committed and you're in the
credits file :-)

Martin

On Mon, 28 Aug 2000, Peter Haight wrote:

> 
> I was getting a SIGSEGV when I had the font path setup incorrectly. I
> tracked it down and here's a patch to CVS (8/28). g_renew was returning a
> different memory space from the one that was passed in.
> 
> Index: src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp,v
> retrieving revision 1.7
> diff -u -r1.7 ev_UnixGnomeMenu.cpp
> --- src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp   2000/07/19 01:57:56     1.7
> +++ src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp   2000/08/28 22:34:07
> @@ -449,7 +449,7 @@
>                 pos++;
>         }
> 
> -       g_renew(GnomeUIInfo, retval, i + 1);
> +       retval = g_renew(GnomeUIInfo, retval, i + 1);
> 
>         return (retval);
>  }
> 
> 
> 




Reply via email to