Skip to content

Commit

Permalink
Change the default temp file prefix to be "sqlite" spelled backwards.
Browse files Browse the repository at this point in the history
Tickets #2049 et al. (CVS 3499)

FossilOrigin-Name: a19ce5c1c4e86d141f7e04af6babeb2ecb75b523
  • Loading branch information
drh committed Oct 31, 2006
1 parent 79de864 commit fd288f3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
12 changes: 6 additions & 6 deletions manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
C Change\sthe\sdefault\sprefix\sfor\stemporary\sfiles\sso\sthat\sit\sno\slonger\ncontains\sthe\stext\s"sqlite".\s\sIn\sthis\sway,\sperhaps\swe\swill\snot\sget\sso\nmany\sfalse\sbug\sreports\ssuch\sas\sticket\s#2049,\s#1989,\sand\s#1841.\s(CVS\s3498)
D 2006-10-31T21:16:49
C Change\sthe\sdefault\stemp\sfile\sprefix\sto\sbe\s"sqlite"\sspelled\sbackwards.\nTickets\s#2049\set\sal.\s(CVS\s3499)
D 2006-10-31T21:27:33
F Makefile.in 4379c909d46b38b8c5db3533084601621d4f14b2
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
Expand Down Expand Up @@ -75,7 +75,7 @@ F src/loadext.c ab9b7fc502078a93f97161d28b4aac6ae2aad793
F src/main.c 646deaa19e367fa8f3ace8b2e4577a53b1461d85
F src/md5.c c5fdfa5c2593eaee2e32a5ce6c6927c986eaf217
F src/os.c 59f05de8c5777c34876607114a2fbe55ae578235
F src/os.h b33ce697b30cdced1bfb86983f9dd34e49476239
F src/os.h fa6fcf5e4614a20ca2c90cddda0b40199360f27e
F src/os_common.h 545426356f0868a6765e70cb59e319d3acad0ed6
F src/os_os2.c 361964755f361b5ba879549c201284ce61ee9431
F src/os_os2.h e5f17dd69333632bbc3112881ea407c37d245eb3
Expand Down Expand Up @@ -419,7 +419,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
P 3cd9b64b96018f69163ad0be0b5c07dd1be6abc6
R 018a6674ba4f5b695adaf479843a0bf7
P 7ce48000bb0dafda8a171bfc040dfe2300f84ed2
R b5f51730eea9e8a049400d6243353814
U drh
Z 54bdd0a68745edb86a0754794009ee02
Z 17ffcdf12d5669a938d6a3b8728ee88d
2 changes: 1 addition & 1 deletion manifest.uuid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7ce48000bb0dafda8a171bfc040dfe2300f84ed2
a19ce5c1c4e86d141f7e04af6babeb2ecb75b523
14 changes: 13 additions & 1 deletion src/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,21 @@
** prefix to reflect your program's name, so that if your program exits
** prematurely, old temporary files can be easily identified. This can be done
** using -DTEMP_FILE_PREFIX=myprefix_ on the compiler command line.
**
** 2006-10-31: The default prefix used to be "sqlite_". But then
** Mcafee started using SQLite in their anti-virus product and it
** started putting files with the "sqlite" name in the c:/temp folder.
** This annoyed many windows users. Those users would then do a
** Google search for "sqlite", find the telephone numbers of the
** developers and call to wake them up at night and complain.
** For this reason, the default name prefix is changed to be "sqlite"
** spelled backwards. So the temp files are still identified, but
** anybody smart enough to figure out the code is also likely smart
** enough to know that calling the developer will not help get rid
** of the file.
*/
#ifndef TEMP_FILE_PREFIX
# define TEMP_FILE_PREFIX "tfanswtpf_"
# define TEMP_FILE_PREFIX "etilqs_"
#endif

/*
Expand Down

0 comments on commit fd288f3

Please sign in to comment.