From f1e841e0eac9af2d3da24e3d2c6cb108bdd5131b Mon Sep 17 00:00:00 2001 From: Sam O'Connor Date: Wed, 13 Jan 2016 09:55:10 +1100 Subject: [PATCH] use Filesystem.File for STDIO --- base/stream.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base/stream.jl b/base/stream.jl index c9f05b19db782..718a50807c0e0 100644 --- a/base/stream.jl +++ b/base/stream.jl @@ -268,9 +268,7 @@ disassociate_julia_struct(handle::Ptr{Void}) = function init_stdio(handle::Ptr{Void}) t = ccall(:jl_uv_handle_type, Int32, (Ptr{Void},), handle) if t == UV_FILE - return fdio(ccall(:jl_uv_file_handle, Int32, (Ptr{Void},), handle)) -# Replace ios.c file with libuv file? -# return File(RawFD(ccall(:jl_uv_file_handle,Int32,(Ptr{Void},),handle))) + return File(RawFD(ccall(:jl_uv_file_handle,Int32,(Ptr{Void},),handle))) else if t == UV_TTY ret = TTY(handle)