X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gui.c;h=d080946a0cab608f67269f6371ac69916d0faf16;hp=126b40fe6861b8d61ff6524debcb40ebf7c234b3;hb=89b30ef7b5ee1bb73b8efa3ccbb53c229066439e;hpb=6105cde18ae21b82708a4c98aa2d54820afd47a5 diff --git a/gui.c b/gui.c index 126b40fe..d080946a 100644 --- a/gui.c +++ b/gui.c @@ -986,7 +986,7 @@ static int client_cmd_cmdline(char *cmd) if (ret < 0) return -1; command_pipe = fds[1]; - mark_fd_nonblock(command_pipe); + mark_fd_nonblocking(command_pipe); return send_output(); } @@ -1002,7 +1002,7 @@ static int display_cmd(char *cmd) if (para_exec_cmdline_pid(&cmd_pid, cmd, fds) < 0) return -1; command_pipe = fds[1]; - mark_fd_nonblock(command_pipe); + mark_fd_nonblocking(command_pipe); return send_output(); }