[PATCH] Fix bonobo-activation on FreeBSD
- From: Theo van Klaveren <t vanklaveren student utwente nl>
- To: gnome-components-list gnome org
- Subject: [PATCH] Fix bonobo-activation on FreeBSD
- Date: Mon, 20 Aug 2001 23:23:23 +0200
Hi,
Can I commit this patch? It replaces the use of alloca() with glib's
g_alloca(). This fixes compilation of bonobo-activation on FreeBSD.
--
Theo van Klaveren <t vanklaveren student utwente nl>
http://home.student.utwente.nl/t.vanklaveren
Index: 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]