Fix the regexp used to recognize libdl errors on OS-X.

FossilOrigin-Name: 1740025307531a52e4f0641e2e74dc14715130858f2e9236be13b66924f00220
This commit is contained in:
drh
2018-11-17 14:59:35 +00:00
parent 92cd307c1c
commit 2d588b8c08
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -61,9 +61,9 @@ set dlerror_notadll {%s: file too short}
set dlerror_nosymbol {%s: undefined symbol: %s}
if {$::tcl_platform(os) eq "Darwin"} {
set dlerror_nosuchfile {dlopen(%s, 10): image not found}
set dlerror_notadll {dlopen(%1$s, 10): no suitable image found.*}
set dlerror_nosymbol {dlsym(XXX, %2$s): symbol not found}
set dlerror_nosuchfile {dlopen.%s, 10.: .*image.*found.*}
set dlerror_notadll {dlopen.%1$s, 10.: .*image.*found.*}
set dlerror_nosymbol {dlsym.XXX, %2$s.: symbol not found}
}
if {$::tcl_platform(platform) eq "windows"} {