changeset 570:db376c5066a7

[xemacs-hg @ 2001-05-25 02:45:57 by martinb] inline functions cannot call alloca
author martinb
date Fri, 25 May 2001 02:45:59 +0000
parents 9cdcb214753f
children 4326eeed6933
files src/ChangeLog src/miscplay.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu May 24 12:20:35 2001 +0000
+++ b/src/ChangeLog	Fri May 25 02:45:59 2001 +0000
@@ -1,3 +1,8 @@
+2001-05-25  Martin Buchholz  <martin@xemacs.org>
+
+	* miscplay.c (waverequire): Don't inline.
+	Gcc can't inline functions that call alloca.
+
 2001-05-24  Yoshiki Hayashi  <yoshiki@xemacs.org>
 
 	* gui.c (gui_error_2): New function.
--- a/src/miscplay.c	Thu May 24 12:20:35 2001 +0000
+++ b/src/miscplay.c	Fri May 25 02:45:59 2001 +0000
@@ -114,7 +114,7 @@
    this might require re-partioning of the data segments if headers cross the
    boundaries between two read operations. This is done in a two-step way:
    first we request a certain amount of bytes... */
-static inline int waverequire(void **data,size_t *sz,size_t rq)
+static int waverequire(void **data,size_t *sz,size_t rq)
 {
   int rc = 1;