~dexter/z88dk-pkg/upstream-z88dk

Viewing all changes in revision 4095.

  • Committer: pauloscustodio
  • Date: 2014-04-19 14:57:37 UTC
  • Revision ID: pauloscustodio-20140419145737-4nuu15moum1bmyh8
BUG_0046: Expressions stored in object file with wrong values in MacOS
Symthom: ZERO+2*[1+2*(1+140709214577656)] stored instead of ZERO+2*[1+2*(1+2)]
Problem caused by non-portable way of repeating a call to vsnprintf without
calling va_start in between. The repeated call is necessary when the
dynamically allocated string needs to grow to fit the value to be stored.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: