Closed
Description
It seems #40783 broke one of the Sockets tests on FreeBSD 12:
julia/stdlib/Sockets/test/runtests.jl
Line 524 in 0224c42
Following along the steps taken in the tests,
p = Pipe()
Base.link_pipe!(p)
write(p, "hello")
read(p, Char)
read(p, Char)
@async begin
write(p, "w")
while p.out.status != Base.StatusOpen
yield()
end
close(p.in)
end
readuntil(p, 'w')
eof(p)
you'll get true
from the final EOF check on any platform. However, p.out.status
is Base.StatusEOF
on FreeBSD with and Base.StatusClosed
on macOS. Prior to #40783, p.out.status
was Base.StatusClosed
on both platforms.