mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 02:02:42 +02:00
commit bash-20061130 snapshot
This commit is contained in:
@@ -674,6 +674,8 @@ number(p, d, base)
|
||||
|
||||
sd = d; /* signed for ' ' padding in base 10 */
|
||||
flags = (*p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
|
||||
if (*p->pf == 'x' || *p->pf == 'X')
|
||||
flags |= FL_UNSIGNED; /* %x, %X treated as unsigned */
|
||||
if (*p->pf == 'X')
|
||||
flags |= FL_HEXUPPER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user