Re: PATCH: Fix bonobo-activation build on FreeBSD
- From: Maciej Stachowiak <mjs noisehavoc org>
- To: Theo van Klaveren <t vanklaveren student utwente nl>
- Cc: gnome-components-list gnome org
- Subject: Re: PATCH: Fix bonobo-activation build on FreeBSD
- Date: Tue, 21 Aug 2001 12:48:58 -0700
On 21Aug2001 09:48PM (+0200), Theo van Klaveren wrote:
>
> Attached patch fixes bonobo-activation compilation on FreeBSD by replacing use
> of alloca by g_alloca. Can I commit this?
>
Theo,
Looks great, go right ahead.
- Maciej
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/gnome/bonobo-activation/ChangeLog,v
> retrieving revision 1.211
> diff -r1.211 ChangeLog
> 0a1,5
> > 2001-08-21 Theo van Klaveren <t vanklaveren student utwente nl>
> >
> > * server/qsort_ex.c: Replace use of alloca() with g_alloca(),
> > and include <galloca.h> instead of <alloca.h>.
> >
> Index: server/qsort_ex.c
> ===================================================================
> RCS file: /cvs/gnome/bonobo-activation/server/qsort_ex.c,v
> retrieving revision 1.3
> diff -r1.3 qsort_ex.c
> 27c27
> < #include "qsort_ex.h"
> ---
> > #include <glib/galloca.h>
> 29,31c29
> < #if HAVE_ALLOCA
> < #include <alloca.h>
> < #endif
> ---
> > #include "qsort_ex.h"
> 98c96
> < char *pivot_buffer = (char *) alloca (size);
> ---
> > char *pivot_buffer = (char *) g_alloca (size);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]