1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix for ticket #132: make the working directory the last choice for where

to write temporary files, not the first choice. (CVS 712)

FossilOrigin-Name: 26a4e7e7a3eee62c170ce264cb964a92bc7f52c9
This commit is contained in:
drh
2002-08-14 00:10:44 +00:00
parent fbe4375cae
commit 0c44e2edf3
3 changed files with 8 additions and 8 deletions

View File

@@ -398,10 +398,10 @@ int sqliteOsOpenReadOnly(const char *zFilename, OsFile *id){
int sqliteOsTempFileName(char *zBuf){
#if OS_UNIX
static const char *azDirs[] = {
".",
"/var/tmp",
"/usr/tmp",
"/tmp",
".",
};
static char zChars[] =
"abcdefghijklmnopqrstuvwxyz"