boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

vsnprintf-int-promo.before (756B)


      1         if (c == 'l')
      2           c = *++p;
      3         if (c == 'l')
      4           c = *++p;
      5         if (c == 'l')
      6           {
      7             eputs ("vsnprintf: skipping second: l\n");
      8             c = *++p;
      9           }
     10         switch (c)
     11           {
     12           case '%':
     13             {
     14               if (count < size)
     15                 *str++ = *p;
     16               count++;
     17               break;
     18             }
     19           case 'c':
     20             {
     21               c = va_arg (ap, long);
     22               if (count < size)
     23                 *str++ = c;
     24               count++;
     25               break;
     26             }
     27           case 'd':
     28           case 'i':
     29           case 'o':
     30           case 'u':
     31           case 'x':
     32           case 'X':
     33             {
     34               long d = va_arg (ap, long);