On 19 Aug 2015, at 1:28am, Paolo Bolzoni <paolo.bolzoni.brown at gmail.com> 
wrote:

> Wouldn't be easier to simply add a parameter to sqlite3_initialize()?
> E.g., a char const pointer to the tmp directory? That, if null,
> defaults to something reasonable as James mentioned?

The correct place for temp files varies from computer to computer, depending on 
whether the admin wants them on the boot drive or not, on whether the admin 
feels that every user should have their own temp directory, and other stuff.  
The programmer isn't meant to know this stuff.  So it's best to let the admin 
set an environment variable and get the information from there rather than have 
the programmer try to pick a directory on a computer they've never used.

Simon.

Reply via email to