# HG changeset patch # User Juanma Barranquero # Date 1039506011 0 # Node ID b02bdb795a5c481b96bc5f6dfd5735ee786fd2b6 # Parent d17f48c1b40fc6302d7545c21ee72ae5e602d193 (Fformat): Use alloca, not _alloca. diff -r d17f48c1b40f -r b02bdb795a5c src/editfns.c --- a/src/editfns.c Tue Dec 10 07:09:41 2002 +0000 +++ b/src/editfns.c Tue Dec 10 07:40:11 2002 +0000 @@ -3212,7 +3212,7 @@ string itself, will not be used. Element NARGS, corresponding to no argument, *will* be assigned to in the case that a `%' and `.' occur after the final format specifier. */ - int * precision = (int *) (_alloca(nargs * sizeof (int))); + int *precision = (int *) (alloca(nargs * sizeof (int))); int longest_format; Lisp_Object val; struct info @@ -3385,10 +3385,8 @@ /* Note that we're using sprintf to print floats, so we have to take into account what that function prints. */ - /* Filter out flag value of -1. This is a conditional with omitted - operand: the value is PRECISION[N] if the conditional is >=0 and - otherwise is 0. */ - thissize = MAX_10_EXP + 100 + ((precision[n] > 0)?precision[n]:0); + /* Filter out flag value of -1. */ + thissize = MAX_10_EXP + 100 + ((precision[n] > 0) ? precision[n] : 0); } else {