Fixing #6749 - filesize("") returns size of system root
commit264d56c72f09eb004dcf20fb16bce9a9035514c5
authorjurchiks <jurchiks101@gmail.com>
Mon, 1 Feb 2016 22:39:53 +0000 (1 14:39 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Mon, 1 Feb 2016 23:00:38 +0000 (1 15:00 -0800)
tree1d025aaeeff8b86194c7baf3bfda0432170afd27
parentfa13910bd1f391f6110b1c07cd5a55d265e1b6be
Fixing #6749 - filesize("") returns size of system root

Summary:
I could have tried to fix statSyscall(), but then I'd risk breaking all the other code that uses it.
Closes https://github.com/facebook/hhvm/pull/6760

Reviewed By: sgolemon, JoelMarcey

Differential Revision: D2843997

Pulled By: sgolemon

fb-gh-sync-id: 353ce01f1dc35c875536f0f509081f820a245465
hphp/hack/hhi/stdlib/builtins_file.hhi
hphp/runtime/ext/std/ext_std_file.cpp