(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
Please register or sign in to comment