Avoid the creation of a conflicting "pipe" symbol which is defined
by unistd.h while using posix.
This has been hidden by the current test framework, testrunner.sh,
because that script adds a namespace around each test.
public abstract string test (UnixOutputStream output_stream) throws IOError;
}
-void pipe (out UnixInputStream input, out UnixOutputStream output) throws IOError {
+void create_streams (out UnixInputStream input, out UnixOutputStream output) throws IOError {
int pipefd[2];
if (Posix.pipe (pipefd) < 0) {
throw new IOError.FAILED ("Pipe creation failed");
UnixInputStream i;
UnixOutputStream o;
- pipe (out i, out o);
+ create_streams (out i, out o);
try {
test.test (o);