[BACK]Return to run.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / awk

Diff for /src/usr.bin/awk/run.c between version 1.26 and 1.27

version 1.26, 2004/12/30 02:08:35 version 1.27, 2008/02/27 17:19:34
Line 843 
Line 843 
                         if (isalpha((uschar)*s) && *s != 'l' && *s != 'h' && *s != 'L')                          if (isalpha((uschar)*s) && *s != 'l' && *s != 'h' && *s != 'L')
                                 break;  /* the ansi panoply */                                  break;  /* the ansi panoply */
                         if (*s == '*') {                          if (*s == '*') {
                                   if (a == NULL)
                                           FATAL("not enough args in printf(%s)", os);
                                 x = execute(a);                                  x = execute(a);
                                 a = a->nnext;                                  a = a->nnext;
                                 snprintf(t-1, fmt + fmtsz - (t-1), "%d", fmtwd=(int) getfval(x));                                  snprintf(t-1, fmt + fmtsz - (t-1), "%d", fmtwd=(int) getfval(x));

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27