diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-04-07 13:50:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-04-07 13:50:05 -0400 |
commit | e94d0692864ecf9522fd6a97610a47a2f718d3de (patch) | |
tree | 9270fe106eae71c137ab703d3209ce9c1b466ed8 /src/process/posix_spawn_file_actions_adddup2.c | |
parent | efe07b0f8914eccf5eabce0dbd6ea5da7d7db38c (diff) | |
download | musl-e94d0692864ecf9522fd6a97610a47a2f718d3de.tar.gz musl-e94d0692864ecf9522fd6a97610a47a2f718d3de.tar.bz2 musl-e94d0692864ecf9522fd6a97610a47a2f718d3de.tar.xz musl-e94d0692864ecf9522fd6a97610a47a2f718d3de.zip |
fix printf rounding with %g for some corner case midpoints
the subsequent rounding code assumes the end pointer (z) accurately
reflects the end of significance in the decimal expansion, but for
certain large integers, spurious trailing zero slots were left behind
when applying the binary exponent.
issue reported by Morten Welinder; the analysis of the cause was
performed by nsz, who also proposed this change.
Diffstat (limited to 'src/process/posix_spawn_file_actions_adddup2.c')
0 files changed, 0 insertions, 0 deletions