"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "qio.c" between
calc-2.12.7.2.tar.bz2 and calc-2.12.7.6.tar.bz2

About: Calc is a C-style arbitrary precision calculator.

qio.c  (calc-2.12.7.2.tar.bz2):qio.c  (calc-2.12.7.6.tar.bz2)
skipping to change at line 144 skipping to change at line 144
break; break;
case 'c': case 'c':
PUTCHAR(va_arg(ap, int)); PUTCHAR(va_arg(ap, int));
break; break;
case 0: case 0:
va_end(ap); va_end(ap);
return; return;
case '-': case '-':
sign = -1; sign = -1;
ch = *fmt++; ch = *fmt++;
/*FALLTHRU*/
default: default:
if (('0' <= ch && ch <= '9') || if (('0' <= ch && ch <= '9') ||
ch == '.' || ch == '*') { ch == '.' || ch == '*') {
if (ch == '*') { if (ch == '*') {
q = va_arg(ap, NUMBER *); q = va_arg(ap, NUMBER *);
width = sign * qtoi(q); width = sign * qtoi(q);
ch = *fmt++; ch = *fmt++;
} else if (ch != '.') { } else if (ch != '.') {
width = ch - '0'; width = ch - '0';
while ('0' <= (ch = *fmt++) && while ('0' <= (ch = *fmt++) &&
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)