1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Fix another issue in argument expansion on Windows for tclsqlite3.c in

interpreter mode.  Problem introduced by check-in [9b87ea219bce5689] and
unfixed by [cd942dce148c9d8f].

FossilOrigin-Name: 0fe1622cec95b7ebecc127ee57a08113d3da1dadbe72c03a13d6751b3043e50f
This commit is contained in:
drh
2024-11-22 17:41:00 +00:00
parent 7398e279a7
commit 8ff67df7ac
3 changed files with 9 additions and 9 deletions

View File

@ -4034,7 +4034,7 @@ static const char *tclsh_main_loop(void){
#ifdef WIN32
"set new [list]\n"
"foreach arg $argv {\n"
"if {[file exists $arg]} {\n"
"if {[string match -* $arg] || [file exists $arg]} {\n"
"lappend new $arg\n"
"} else {\n"
"set once 0\n"