commit bash-20050324 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:45:10 -05:00
parent 3ee6b87dbc
commit a82a04b3a4
43 changed files with 26609 additions and 7716 deletions
+14 -2
View File
@@ -298,8 +298,20 @@ printf_builtin (list)
precision = getint ();
}
else
while (DIGIT (*fmt))
fmt++;
{
/* Negative precisions are allowed but treated as if the
precision were missing; I would like to allow a leading
`+' in the precision number as an extension, but lots
of asprintf/fprintf implementations get this wrong. */
#if 0
if (*fmt == '-' || *fmt == '+')
#else
if (*fmt == '-')
#endif
fmt++;
while (DIGIT (*fmt))
fmt++;
}
}
/* skip possible format modifiers */