This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[patch] fix typo in extend_alloca() macro in alloca.h
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Thu, 5 Jan 2006 18:12:47 -0500
- Subject: [patch] fix typo in extend_alloca() macro in alloca.h
the fall back case (when neither stack grows up or stack grows down macros are
defined) has a typo in the name ... it reads 'extern_alloca()' instead of
'extend_alloca()'
-mike
2005-01-05 Mike Frysinger <vapier@gentoo.org>
* include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
--- include/alloca.h
+++ include/alloca.h
@@ -42,7 +42,7 @@ extern int __libc_alloca_cutoff (size_t
len = __newlen; \
__newbuf; })
#else
-# define extern_alloca(buf, len, newlen) \
+# define extend_alloca(buf, len, newlen) \
__alloca (((len) = (newlen)))
#endif