From 8eabe530984827c37bc583848b40e5185ba9fad9 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 8 Dec 2012 00:34:12 -0800 Subject: [PATCH] applying bash42-024 --- builtins/printf.def | 2 ++ patchlevel.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/builtins/printf.def b/builtins/printf.def index 9eca215..71a7c00 100644 --- a/builtins/printf.def +++ b/builtins/printf.def @@ -255,6 +255,8 @@ printf_builtin (list) #endif { vflag = 1; + if (vbsize == 0) + vbuf = xmalloc (vbsize = 16); vblen = 0; if (vbuf) vbuf[0] = 0; diff --git a/patchlevel.h b/patchlevel.h index 3ef48b5..4f92246 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 23 +#define PATCHLEVEL 24 #endif /* _PATCHLEVEL_H_ */ -- 2.7.4