Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: [PATCH] be paranoid about closed stdin/stdout/stderr

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:13

Johannes Sixt [off-list ref] writes:
Paolo Bonzini schrieb:
quoted
+	/*
+	 * Always open file descriptors 0/1/2 to avoid clobbering files
+	 * in die().  It also avoids not messing up when the pipes are
+	 * dup'ed onto stdin/stdout/stderr in the child processes we spawn.
+	 */
I see your point, but I don't have an opinion whether this stretch is
necessary.
This is going too far.  Have you seen any other sane program that do this?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help