File tree 1 file changed +1
-2
lines changed 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1225,7 +1225,6 @@ pub fn make_module(vm: &VirtualMachine) -> PyObjectRef {
1225
1225
#[ cfg( unix) ]
1226
1226
fn extend_module_platform_specific ( vm : & VirtualMachine , module : PyObjectRef ) -> PyObjectRef {
1227
1227
let ctx = & vm. ctx ;
1228
-
1229
1228
extend_module ! ( vm, module, {
1230
1229
"getppid" => ctx. new_rustfunc( os_getppid) ,
1231
1230
"getgid" => ctx. new_rustfunc( os_getgid) ,
@@ -1238,7 +1237,7 @@ fn extend_module_platform_specific(vm: &VirtualMachine, module: PyObjectRef) ->
1238
1237
"setuid" => ctx. new_rustfunc( os_setuid) ,
1239
1238
"access" => ctx. new_rustfunc( os_access) ,
1240
1239
"O_DSYNC" => ctx. new_int( libc:: O_DSYNC ) ,
1241
- "O_RSYNC" => ctx. new_int( libc :: O_RSYNC ) ,
1240
+ "O_RSYNC" => ctx. new_int( 1052672 ) ,
1242
1241
"O_NDELAY" => ctx. new_int( libc:: O_NDELAY ) ,
1243
1242
"O_NOCTTY" => ctx. new_int( libc:: O_NOCTTY ) ,
1244
1243
"O_CLOEXEC" => ctx. new_int( libc:: O_CLOEXEC ) ,
You can’t perform that action at this time.
0 commit comments