[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.35 and 1.36

version 1.35, 2014/10/11 03:07:29 version 1.36, 2014/12/01 03:18:50
Line 921 
Line 921 
                         break;                          break;
                 case 'c':                  case 'c':
                         if (isnum(x)) {                          if (isnum(x)) {
                                 if (getfval(x))                                  if ((int)getfval(x))
                                         snprintf(p, buf + bufsize - p, fmt, (int) getfval(x));                                          snprintf(p, buf + bufsize - p, fmt, (int) getfval(x));
                                 else {                                  else {
                                         *p++ = '\0'; /* explicit null byte */                                          *p++ = '\0'; /* explicit null byte */

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36