aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Pipe.cpp
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:53 +0100
committerReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:53 +0100
commit477961678194817aaf1aaf3602f1c91d288a539d (patch)
treed66356753053a34f93b4f6059631e0f6c4eb298c /nxcomp/Pipe.cpp
parent799bf672a3588f205bd18ef39d9908069e0cd6d5 (diff)
downloadnx-libs-477961678194817aaf1aaf3602f1c91d288a539d.tar.gz
nx-libs-477961678194817aaf1aaf3602f1c91d288a539d.tar.bz2
nx-libs-477961678194817aaf1aaf3602f1c91d288a539d.zip
Imported nxcomp-3.4.0-6.tar.gznxcomp/3.4.0-6
Summary: Imported nxcomp-3.4.0-6.tar.gz Keywords: Imported nxcomp-3.4.0-6.tar.gz into Git repository
Diffstat (limited to 'nxcomp/Pipe.cpp')
-rw-r--r--nxcomp/Pipe.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/nxcomp/Pipe.cpp b/nxcomp/Pipe.cpp
index 02e0b720c..7238d0c73 100644
--- a/nxcomp/Pipe.cpp
+++ b/nxcomp/Pipe.cpp
@@ -1,6 +1,6 @@
/**************************************************************************/
/* */
-/* Copyright (c) 2001, 2009 NoMachine, http://www.nomachine.com/. */
+/* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/. */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
@@ -22,6 +22,7 @@
#include <sys/types.h>
#include <sys/wait.h>
+#include "Pipe.h"
#include "Misc.h"
#include "Fork.h"
@@ -36,6 +37,8 @@
extern void RegisterChild(int child);
+static int Psplit(const char *command, char *parameters[], int limit);
+
//
// These are slightly modified versions of popen(3) and pclose(3)
// that don't rely on a shell to be available on the system, so