From ea0c6e9e769df3722127c3a67a8e4894cf2a14ce Mon Sep 17 00:00:00 2001 From: daviehh <25255906+daviehh@users.noreply.github.com> Date: Mon, 25 Mar 2019 18:50:06 -0400 Subject: [PATCH] [doc] dlopen docstring (#31475) Documentation for `dlopen_e`: looks like copy-paste error from https://github.com/JuliaLang/julia/commit/d9d2b9cf808aab8c3a90e95e03ffc32761ce5316#diff-4f669dd4cc416a82508956a377e6a7c9 Correct: `dlopen_e` deprecated in favor of `dlopen(...throw_error=false)`; `dlsym_e` deprecated in favor of `dlsym(...throw_error=false)`; Current documentation lists `dlopen_e` deprecated in favor of `dlsym`. --- stdlib/Libdl/src/Libdl.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/Libdl/src/Libdl.jl b/stdlib/Libdl/src/Libdl.jl index aa55a6a21d96d..912fb74326a7b 100644 --- a/stdlib/Libdl/src/Libdl.jl +++ b/stdlib/Libdl/src/Libdl.jl @@ -117,7 +117,7 @@ end dlopen_e(libfile::AbstractString [, flags::Integer]) Similar to [`dlopen`](@ref), except returns `C_NULL` instead of raising errors. -This method is now deprecated in favor of `dlsym(handle, sym; throw_error=false)`. +This method is now deprecated in favor of `dlopen(libfile::AbstractString [, flags::Integer]; throw_error=false)`. """ dlopen_e(args...) = something(dlopen(args...; throw_error=false), C_NULL)