Skip to content

Commit

Permalink
Add Sockets.DNSError (#594)
Browse files Browse the repository at this point in the history
It's available in the Sockets stdlib module (and as Base.DNSError in
earlier Julia version) but is not exported. This adds it to the imports
when defining Compat.Sockets but does not export it.
  • Loading branch information
ararslan authored and stevengj committed Aug 10, 2018
1 parent 9a81dcf commit cec0d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Compat
if VERSION < v"0.7.0-DEV.4442"
@eval module Sockets
import Base:
@ip_str, IPAddr, IPv4, IPv6, UDPSocket, TCPSocket,
@ip_str, IPAddr, IPv4, IPv6, UDPSocket, TCPSocket, DNSError,
accept, connect, getaddrinfo, getipaddr, getsockname, listen,
listenany, recv, recvfrom, send, bind

Expand Down

0 comments on commit cec0d8b

Please sign in to comment.