Skip to content

Commit 9d85f7f

Browse files
JeffBezansonKeno
authored andcommitted
remove vestigial uppercase standard stream names
1 parent ed0bf05 commit 9d85f7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

base/stream.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,17 +911,16 @@ for (x, writable, unix_fd, c_symbol) in
911911
(:stderr, true, 2, :jl_uv_stderr))
912912
f = Symbol("redirect_", lowercase(string(x)))
913913
_f = Symbol("_", f)
914-
Ux = Symbol(uppercase(string(x)))
915914
@eval begin
916915
function ($_f)(stream)
917-
global $x, $Ux
916+
global $x
918917
posix_fd = _fd(stream)
919918
@static if Sys.iswindows()
920919
ccall(:SetStdHandle, stdcall, Int32, (Int32, OS_HANDLE),
921920
$(-10 - unix_fd), Libc._get_osfhandle(posix_fd))
922921
end
923922
dup(posix_fd, RawFD($unix_fd))
924-
$Ux = $x = stream
923+
$x = stream
925924
nothing
926925
end
927926
function ($f)(handle::Union{LibuvStream, IOStream})

0 commit comments

Comments
 (0)