PATCH: Fix bonobo-activation build on FreeBSD



Attached patch fixes bonobo-activation compilation on FreeBSD by replacing use
of alloca by g_alloca.  Can I commit this?

-- 
Theo van Klaveren <t vanklaveren student utwente nl>
http://home.student.utwente.nl/t.vanklaveren
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]