Control: tags -1 - unreproducible moreinfo

On Sun, 2020-01-26 at 20:25:46 +0100, Andreas Henriksson wrote:
> Control: tags -1 + unreproducible moreinfo

> I did a quick attempt at reproducing this but failed to do so with
> the current version in unstable.
> 
> $ find ~/Downloads/ -ls -type f | awk 'BEGIN{ ttl=0 }{ ttl+=$7 }END{
> print ttl }'
> 18945235595
> $ du -sh ~/Downloads/
> 18G   /home/ah/Downloads/
> 
> Possibly the bug has been fixed since the original bug report, but
> it seems unlikely as it's the same upstream version still.
> Probably a better testcase to easily be able to reproduce this issue
> is needed, so tagging accordingly...

Are you sure you were testing mawk instead of say gawk? It reproduces
for me here:

  $ mawk -- 'BEGIN{ttl=2^48;printf("%i\n",ttl)}' </dev/null
  2147483647
  $ gawk -- 'BEGIN{ttl=2^48;printf("%i\n",ttl)}' </dev/null
  281474976710656

Thanks,
Guillem

Reply via email to