> On 15 Aug 2015, at 12:53am, James K. Lowden <jklowden at schemamania.org> > wrote: > > Simon Slavin <slavins at bigfraud.org> wrote: > ... >> If it's going to be documented, it would also be nice to see it on >> >> <https://www.sqlite.org/tempfiles.html> >> >> which, according to my browser, doesn't mention the word >> 'environment'. > > I would be nice to have clearly documented the means by which the > location of temporary files is controlled. I assumed some flavor of > tmpfile(3) was used, but evidently SQLite doesn't rely on that > function. > > BTW, Posix is almost silent on the question. It says TMPDIR will > define the location of a temporary store, but not how.
I'm okay if the documentation simply says something like ... For Darwin (Mac), it's always /tmp/ For Linux, see the TMPDIR environment variable For Windows see [whatever it is] However I suspect things may be more complicated than that. For instance, does .NET respect the OS's choice of temporary directory no matter which OS it's running under ? I have no idea. Simon.