Displaying 1 result from an estimated 1 matches for "5d64c70".
Did you mean:
5d64350
2009 Sep 11
1
[PATCH] guestfish: Redirect stdout when executing remote commands
...DOUT to the caller's STDOUT
for the duration of the command, then closes it again.
---
fish/rc.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
guestfish.pod | 7 ---
2 files changed, 126 insertions(+), 15 deletions(-)
diff --git a/fish/rc.c b/fish/rc.c
index 5423c22..5d64c70 100644
--- a/fish/rc.c
+++ b/fish/rc.c
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/un.h>
#include <signal.h>
+#include <sys/socket.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
@@ -49,6 +50,124 @@ create_sockpath (pid_t pid, char *sockpath, int...