From 6c19148d3350504ff170ca6fabc9b120ad3f3378 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Tue, 13 Mar 2012 15:12:26 -0400 Subject: [PATCH] Bash-4.2 patch 24 --- 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