From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 1 Nov 2006 12:46:58 +0300 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20061101094658.GA21112@localhost.localdomain> Mail-Followup-To: devel@lists.altlinux.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline Subject: [devel] Fwd: [PATCH] Change the default temp file prefix to be "sqlite" spelled backwards. X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 08:46:17 -0000 Archived-At: List-Archive: List-Post: --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ----- Forwarded message from "D. Richard Hipp" ----- Date: Tue, 31 Oct 2006 21:16:49 +0000 From: D. Richard Hipp Subject: [PATCH] Change the default prefix for temporary files so that it n= o 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=3Dmyprefix_ on the compiler command line. */ #ifndef TEMP_FILE_PREFIX -# define TEMP_FILE_PREFIX "sqlite_" +# define TEMP_FILE_PREFIX "tfanswtpf_" #endif =20 /* --=20 1.4.3.GIT ----- End forwarded message ----- ----- Forwarded message from "D. Richard Hipp" ----- Date: Tue, 31 Oct 2006 21:27:33 +0000 From: D. Richard Hipp 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=3Dmyprefix_ 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=20 +** 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"=20 +** 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 =20 /* --=20 1.4.3.GIT ----- End forwarded message ----- --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFSG0SfBKgtDjnu0YRAhFcAKDA9NQmaGZS5py6Yi5+heZCGPVCswCeIGnZ WjSPWkCQ1yGampDkjZZerJU= =sbOY -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--