We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8486da commit 923ca9eCopy full SHA for 923ca9e
src/os/posix/host-lib.c
@@ -52,11 +52,14 @@
52
53
#include <stdlib.h>
54
#include <stdio.h>
55
+#include <poll.h>
56
+#include <fcntl.h> /* Obtain O_* constant definitions */
57
#include <unistd.h>
58
#include <sys/types.h>
59
#include <sys/wait.h>
60
#include <time.h>
61
#include <string.h>
62
+#include <errno.h>
63
64
#ifndef timeval // for older systems
65
#include <sys/time.h>
@@ -1024,12 +1027,11 @@ static void *Task_Ready;
1024
1027
close(stdin_pipe[W]);
1025
1028
}
1026
1029
stdin_pipe_err:
- printf("ret: %d\n", ret);
1030
+ if(ret != 0) printf("ret: %d\n", ret);
1031
return ret;
1032
1033
1034
-/**********************************************************************/
1035
static int Try_Browser(char *browser, REBCHR *url)
1036
{
1037
pid_t pid;
0 commit comments