From b03820da96770f7cc6478c746601252ce1984ce6 Mon Sep 17 00:00:00 2001 From: Sabine Odersky Date: Thu, 4 Jul 2013 21:26:29 +0200 Subject: linking works, testing needed --- flow-native/unix/src/flow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'flow-native') diff --git a/flow-native/unix/src/flow.c b/flow-native/unix/src/flow.c index 8aae2b7..aa1b213 100644 --- a/flow-native/unix/src/flow.c +++ b/flow-native/unix/src/flow.c @@ -134,7 +134,8 @@ int serial_open(const char* port_name, int baud, struct serial_config** serial) } int pipe_fd[2]; - if (pipe2(pipe_fd, O_NONBLOCK) < 0) { +//TODO make pipe non-blocking + if (pipe(pipe_fd) < 0) { DEBUG(perror("open pipe");); close(fd); return E_IO; -- cgit v1.2.3