I just pushed a branch which makes Stdio.File()->read able to read more than 2GB at once. This in turn fixes Stdio.read_file() on large files.
The new code also does not re-acquire the interpreter lock after every read in blocking mode, but instead only when it has been interrupted by a signal. I would like to add this to Pike 8.1, does anyone see any problems with this commit? Do we care about compat and can you imagine code which relies on the previous behavior?
Arne
pike-devel@lists.lysator.liu.se