We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e014121 commit a7936c6Copy full SHA for a7936c6
hphp/runtime/base/mem-file.cpp
@@ -189,5 +189,9 @@ void MemFile::unzip() {
189
m_len = len;
190
}
191
192
+bool MemFile::lock(int operation, bool &wouldblock /* = false */) {
193
+ return false;
194
+}
195
+
196
///////////////////////////////////////////////////////////////////////////////
197
hphp/runtime/base/mem-file.h
@@ -51,6 +51,7 @@ struct MemFile : File {
51
bool eof() override;
52
bool rewind() override;
53
bool flush() override;
54
+ bool lock(int operation, bool &wouldblock) override;
55
56
Array getMetaData() override;
57
@@ -65,4 +66,3 @@ struct MemFile : File {
65
66
67
68
-
0 commit comments