run-program: Don't use /tmp unconditionally.
authorStas Boukarev <stassats@gmail.com>
Tue, 22 May 2012 18:39:07 +0000 (22:39 +0400)
committerStas Boukarev <stassats@gmail.com>
Tue, 22 May 2012 18:39:07 +0000 (22:39 +0400)
commit43c193e2c20ce746c6c4d23d25ceba4d192c7d15
tree3505e6ec6fc01951b2e2a5a7086704fed4911a18
parent0395c15ff8394bfaaed03050c1a7a131f197a732
run-program: Don't use /tmp unconditionally.

* Use TEMP on win32 and TMPDIR on non-win32.
* Don't delete just opened temporary files on windows, because opened
  files cannot be unlinked on windows.

Fixes lp#968837.
NEWS
src/code/run-program.lisp