File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/standalone/childprocess_extrapipe Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4843,9 +4843,9 @@ pub fn lseek_CUR_get(fd: fd_t) SeekError!u64 {
48434843 }
48444844}
48454845
4846- const UnsetFileInheritanceError = FcntlError || windows .SetHandleInformationError ;
4846+ const DisableFileInheritanceError = FcntlError || windows .SetHandleInformationError ;
48474847
4848- pub inline fn disableFileInheritance (file_handle : fd_t ) UnsetFileInheritanceError ! void {
4848+ pub inline fn disableFileInheritance (file_handle : fd_t ) DisableFileInheritanceError ! void {
48494849 if (builtin .os .tag == .windows ) {
48504850 try windows .SetHandleInformation (file_handle , windows .HANDLE_FLAG_INHERIT , 0 );
48514851 } else {
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ pub fn main() !void {
8989 if (builtin .target .os .tag == .windows ) {
9090 var handle_flags : windows.DWORD = undefined ;
9191 try windows .GetHandleInformation (pipe [1 ].? , & handle_flags );
92- std .debug .assert (handle_flags & windows .HANDLE_FLAG_INHERIT ! = 0 );
92+ std .debug .assert (handle_flags & windows .HANDLE_FLAG_INHERIT = = 0 );
9393 } else {
9494 const fcntl_flags = try os .fcntl (pipe [1 ], os .F .GETFD , 0 );
9595 try std .testing .expect ((fcntl_flags & os .FD_CLOEXEC ) != 0 );
You can’t perform that action at this time.
0 commit comments