[devel] Fwd: [PATCH] Change the default temp file prefix to be "sqlite" spelled backwards.
Alexey Tourbin
=?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Ср Ноя 1 12:46:58 MSK 2006
----- Forwarded message from "D. Richard Hipp" <drh на hwaci> -----
Date: Tue, 31 Oct 2006 21:16:49 +0000
From: D. Richard Hipp <drh на hwaci>
Subject: [PATCH] Change the default prefix for temporary files so that it no longer
contains the text "sqlite". In this way, perhaps we will not get so
many false bug reports such as ticket #2049, #1989, and #1841.
---
src/os.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/os.h b/src/os.h
index 4433f5d..c431364 100644
--- a/src/os.h
+++ b/src/os.h
@@ -83,7 +83,7 @@
** using -DTEMP_FILE_PREFIX=myprefix_ on the compiler command line.
*/
#ifndef TEMP_FILE_PREFIX
-# define TEMP_FILE_PREFIX "sqlite_"
+# define TEMP_FILE_PREFIX "tfanswtpf_"
#endif
/*
--
1.4.3.GIT
----- End forwarded message -----
----- Forwarded message from "D. Richard Hipp" <drh на hwaci> -----
Date: Tue, 31 Oct 2006 21:27:33 +0000
From: D. Richard Hipp <drh на hwaci>
Subject: [PATCH] Change the default temp file prefix to be "sqlite" spelled backwards.
Tickets #2049 et al.
---
src/os.h | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/os.h b/src/os.h
index c431364..182cf99 100644
--- a/src/os.h
+++ b/src/os.h
@@ -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
/*
--
1.4.3.GIT
----- End forwarded message -----
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип : application/pgp-signature
Размер : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20061101/82312a14/attachment-0001.bin>
Подробная информация о списке рассылки Devel