From: Zach Beane on 11 Feb 2010 18:33 Stelian Ionescu <sionescu(a)cddr.org> writes: > allowing suffixes is irrelevant, especially if you only want a private > temporary file(one unlinked right after creation) Actually, I don't want it unlinked right after creation, I want to pass it to a subprocess by name. So that means my race condition concerns are not especially valid. Zach
From: Peder O. Klingenberg on 12 Feb 2010 04:23
Zach Beane <xach(a)xach.com> writes: > Stelian Ionescu <sionescu(a)cddr.org> writes: > >> allowing suffixes is irrelevant, especially if you only want a private >> temporary file(one unlinked right after creation) > > Actually, I don't want it unlinked right after creation, I want to pass > it to a subprocess by name. So that means my race condition concerns are > not especially valid. Have you investigated just passing an open file descriptor between the processes? I'm not sure what that would require from the lisp, but it's doable on most unixes, and avoids the filename races. ....Peder... -- Sl�v uten dop. |