Thread (10 messages) 10 messages, 6 authors, 2016-06-15

Re: [PATCH (topgit) 1/2] Implement setup_pager just like in git

flat view

From: Adeodato Simó <hidden>
Date: 2016-06-15 22:45:52

* 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help