Bugzilla – Bug 7712
Stdio.Buffer()->add_int32(0xffffffff) does not work on 32-bit systems
Last modified: 2016-06-09 18:12:45 CET
The add_int32() method of Stdio.Buffer is supposed to accept any
32-bit number, in the range 0-0xffffffff. When Pike is compiled
on a 64-bit system this works. But on a 32-bit i686 Debian 8 it fails:
Bad argument 1 to add_int32(). Expected int.
Unknown program: add_int32(4294967295)
_static_modules._Stdio()->Buffer(0 bytes, read=[..-1] data=[0..-1] free=[0
Stdio.Buffer buffer = Stdio.Buffer();
Tested with the current head of the 8.0 branch from the Git
Fixed the most common case.
You need to
before you can comment on or make changes to this bug.