diff options
author | Chet Ramey <chet.ramey@case.edu> | 2012-03-13 15:12:26 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2012-03-13 15:12:26 -0400 |
commit | 6c19148d3350504ff170ca6fabc9b120ad3f3378 (patch) | |
tree | e2c2a66e2a5503284d4d4735835a186e1c915b83 /builtins | |
parent | 98043138fc04542cf96d54c778949aa92cd505bd (diff) | |
download | android_external_bash-6c19148d3350504ff170ca6fabc9b120ad3f3378.tar.gz android_external_bash-6c19148d3350504ff170ca6fabc9b120ad3f3378.tar.bz2 android_external_bash-6c19148d3350504ff170ca6fabc9b120ad3f3378.zip |
Bash-4.2 patch 24
Diffstat (limited to 'builtins')
-rw-r--r-- | builtins/printf.def | 2 |
1 files changed, 2 insertions, 0 deletions
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; |