bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] regex.c includes <alloca.h> without checking for its exisya


From: Sam Steingold
Subject: [bug-gnulib] regex.c includes <alloca.h> without checking for its exisyance
Date: Fri, 18 Mar 2005 09:24:19 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

--- regex.c     15 Mar 2005 10:04:06 -0500      1.5
+++ regex.c     18 Mar 2005 09:17:49 -0500      
@@ -272,7 +272,7 @@
 # else /* not REGEX_MALLOC  */
 
 /* Emacs already defines alloca, sometimes.  */
-#  ifndef alloca
+#  if !defined(alloca) && defined(HAVE_ALLOCA_H)
 
 /* Make alloca work the best possible way.  */
 #   include <alloca.h>



-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.iris.org.il> <http://www.jihadwatch.org/>
<http://www.honestreporting.com> <http://www.memri.org/>
He who laughs last did not get the joke.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]