aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2025-06-30 15:56:10 +0000
committerstephan <stephan@noemail.net>2025-06-30 15:56:10 +0000
commit1bd6b415e90f5ce85b54046d50abc23dd0f41e03 (patch)
tree74ec20d5d04b68f6898033a3cc05c62b07b57285 /src
parent2752d1331dd76d418ee1df0a79c3c1eca758ac5c (diff)
downloadsqlite-1bd6b415e90f5ce85b54046d50abc23dd0f41e03.tar.gz
sqlite-1bd6b415e90f5ce85b54046d50abc23dd0f41e03.zip
Correct ~/.local/config/... to ~/.config/... when looking for sqliterc when XDG_CONFIG_HOME is not set. Internal doc touchups.
FossilOrigin-Name: ebb346c5aa427b9e84a035278ee245d54810d9954efef12b898f2d7bc0ff630c
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 790106cdb..ccdf89a2f 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -12759,7 +12759,7 @@ static char *find_home_dir(int clearFlag){
}
/*
-** On non-Windows platforms, look for the first file found out of:
+** On non-Windows platforms, look for:
**
** - ${zEnvVar}/${zBaseName}
** - ${HOME}/${zSubdir}/${zBaseName}
@@ -12828,7 +12828,7 @@ static void process_sqliterc(
if( sqliterc == NULL ){
sqliterc = find_xdg_file("XDG_CONFIG_HOME",
- ".local/config",
+ ".config",
"sqlite3/sqliterc");
}
if( sqliterc == NULL ){