regenerate darwin/arm64

This commit is contained in:
Dan Peterson
2021-03-13 09:13:36 -04:00
parent f2abd009c3
commit 39d4e071e1
108 changed files with 50063 additions and 37725 deletions

View File

@@ -174,8 +174,14 @@ proc get_pwd {} {
# case of the result to what Tcl considers canonical, which would
# defeat the purpose of this procedure.
#
if {[info exists ::env(ComSpec)]} {
set comSpec $::env(ComSpec)
} else {
# NOTE: Hard-code the typical default value.
set comSpec {C:\Windows\system32\cmd.exe}
}
return [string map [list \\ /] \
[string trim [exec -- $::env(ComSpec) /c cd ]]]
[string trim [exec -- $comSpec /c echo %CD%]]]
} else {
return [pwd]
}
@@ -902,8 +908,8 @@ proc catchcmdex {db {cmd ""}} {
proc filepath_normalize {p} {
# test cases should be written to assume "unix"-like file paths
if {$::tcl_platform(platform)!="unix"} {
# lreverse*2 as a hack to remove any unneeded {} after the string map
lreverse [lreverse [string map {\\ /} [regsub -nocase -all {[a-z]:[/\\]+} $p {/}]]]
string map [list \\ / \{/ / .db\} .db] \
[regsub -nocase -all {[a-z]:[/\\]+} $p {/}]
} {
set p
}
@@ -1734,6 +1740,9 @@ proc crashsql {args} {
set msg "child process exited abnormally"
}
}
if {$r && [string match {*ERROR: LeakSanitizer*} $msg]} {
set msg "child process exited abnormally"
}
lappend r $msg
}