Add flag STREAM_URL_STAT_QUIET when calling urlStat.
commit8b48fb0eb9354a210c6d9c91c3a26a3c34aed3e0
authorKaiwen Xu <kevin@kevxu.net>
Fri, 31 Oct 2014 01:10:06 +0000 (30 18:10 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Fri, 31 Oct 2014 01:30:25 +0000 (30 18:30 -0700)
tree001bd334d5fb948cdbf605f607836d7ec3d11c42
parent517483e0910cee9b5010ccf5d8a7d4cf56c2cfb1
Add flag STREAM_URL_STAT_QUIET when calling urlStat.

Summary: Add flag STREAM_URL_STAT_QUIET when calling UserFile::urlStat from UserFile::stat like what it does in official implementation.

Fix vfsstream's is_file and is_dir test cases.
Closes https://github.com/facebook/hhvm/pull/4094

Reviewed By: @ptarjan

Differential Revision: D1646061

Signature: t1:1646061:1414717749:9f491a9b7bbb36d47ef7ac8c95fc48d0787500c1
hphp/runtime/base/user-file.cpp
hphp/test/frameworks/results/vfsstream.expect
hphp/test/slow/streams/stream_wrapper_register.php.expect