(doprnt): Use a fixed buffer to store the format
specification, but only if we are sure it will fit. Otherwise, use alloca () to get enouhg space. Don't allow negative size specifications to core dump; instead, treat them as positive ("%-20d" == "%20d").
Showing with 23 additions and 5 deletions