I was meaning the bug is in current CVS while a month ago CVS doesn't have it.
And that doesn't change the bug is here.
/ David
Martin Nilsson (DivX Networks) @ Pike (-) developers forum wrote:
What is 7.6.13 official? There is no dist after 7.6.6.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-16 18:39: Subject: Bug in FileStat
With Pike 7.6 CVS:
object file = Stdio.File("/tmp/toto"); file->stat()->size; (2) Result: 17592186044416
file->stat()->size;
(3) Result: 17592186044416
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(4) Result: 17592186044416
With Pike 7.6.13 "official":
object file = Stdio.File("/tmp/toto"); file->stat();
(1) Result: Stat(drwxr-xr-x 1024b)
file->stat()->size;
(2) Result: 1024
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(3) Result: 980004
OS is Linux.
/ David
/ Brevbäraren