Bug 1277427 - DOM: Fix constants missing for splice. r=Yoric
☠☠ backed out by 4a84c4e71f09 ☠ ☠
authorhuangwenjun <huangwenjun-hf@loongson.cn>
Thu, 02 Jun 2016 15:37:31 +0800
changeset 339116 cd31d578be5865d5646f59a123b0b9056d9d93c9
parent 339115 3cb234c21f033552ac9de149592498ec25643cc6
child 339117 2313feadbdaf1e2a6a92ef5f6c0d0e6bd34121b2
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1277427
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1277427 - DOM: Fix constants missing for splice. r=Yoric --- dom/system/OSFileConstants.cpp | 6 ++++++ 1 file changed, 6 insertions(+)
dom/system/OSFileConstants.cpp
--- a/dom/system/OSFileConstants.cpp
+++ b/dom/system/OSFileConstants.cpp
@@ -510,16 +510,22 @@ static const dom::ConstantSpec gLibcProp
   INT_CONSTANT(F_SETFL),
   INT_CONSTANT(F_SETLK),
   INT_CONSTANT(F_SETLKW),
 
   // flock type values
   INT_CONSTANT(F_RDLCK),
   INT_CONSTANT(F_WRLCK),
   INT_CONSTANT(F_UNLCK),
+
+  // splice
+  INT_CONSTANT(SPLICE_F_MOVE),
+  INT_CONSTANT(SPLICE_F_NONBLOCK),
+  INT_CONSTANT(SPLICE_F_MORE),
+  INT_CONSTANT(SPLICE_F_GIFT),
 #endif // defined(XP_UNIX)
   // copyfile
 #if defined(COPYFILE_DATA)
   INT_CONSTANT(COPYFILE_DATA),
   INT_CONSTANT(COPYFILE_EXCL),
   INT_CONSTANT(COPYFILE_XATTR),
   INT_CONSTANT(COPYFILE_STAT),
   INT_CONSTANT(COPYFILE_ACL),