* martin f krafft [Tue, 06 Jan 2009 21:32:03 +0100]:
quoted
+ _pager_fifo="$(mktemp -t tg-pager-fifo.XXXXXX)"
+ rm "$_pager_fifo" && mkfifo -m 600 "$_pager_fifo"
There's a race condition here. I can't see a real problem with it,
though, nor do I know of a better way.
mktemp -d, and create the fifo inside the directory created by mktemp.
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
A hacker does for love what other would not do for money.