Scribble at 2024-12-10 07:32:36 Last modified: unmodified

添付画像

** 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.

src/os.h

わざわざこういうコメントを見つけてきた人も大したものだが、DBMS の開発側が、本来は無関係な筈のユーザ企業の事情に配慮してファイル名まで変えてしまうとはね。それにしても、問題の発端はマカフィーがセキュリティソフトの一時ファイルに "sqlite" という名前を使って、しかも C:/tmp なんてフォルダを勝手にシステム・ドライブのルートに作って置いてしまったことにあるのだ。加えて、確かに僕もそういう気分になることはあるのだが、システム・ドライブのルートにフォルダ、しかも Windows が動作するのに関係のないフォルダができるのは、何か整然としていた環境を汚されたような気がして不愉快になったりするものだ。UNIX や GNU/Linux のように、最初から所定のディレクトリとして /tmp があれば問題ないし、そもそも UNIX や GNU/Linux のルートは最初からファイルやディレクトリでごった返しているものだが、Windows の場合は "Documents and Settings," "Program Files," そして "Windows" という3つのフォルダ以外は全てドライバやアプリケーションがインストールされるときに作成した「ゴミ」だと思ってるような人もいて、こういうゴミがルートに作成されるのを憎んですらいるような人がいる。したがって、こういうゴミを削除してもいいのかどうか Yahoo! 知恵袋で尋ねたり検索したりする人がいて、実際に削除しようとして削除できないから、マカフィーではなく SQLite の開発者に文句を言うというわけなのだろう。

  1. もっと新しいノート <<
  2. >> もっと古いノート

冒頭に戻る