mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
commit bash-20120204 snapshot
This commit is contained in:
+2
-4
@@ -256,6 +256,8 @@ printf_builtin (list)
|
||||
#endif
|
||||
{
|
||||
vflag = 1;
|
||||
if (vbsize == 0)
|
||||
vbuf = xmalloc (vbsize = 16);
|
||||
vblen = 0;
|
||||
if (vbuf)
|
||||
vbuf[0] = 0;
|
||||
@@ -687,11 +689,7 @@ printstr (fmt, string, len, fieldwidth, precision)
|
||||
int fw, pr; /* fieldwidth and precision */
|
||||
intmax_t mfw, mpr;
|
||||
|
||||
#if 0
|
||||
if (string == 0 || *string == '\0')
|
||||
#else
|
||||
if (string == 0 || len == 0)
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user