Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
492c5041
Commit
492c5041
authored
Dec 12, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #65 from pianofab/patch-1
Report details about fork() failure in logs.
parents
6db20a8d
6ba48cc9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
portable.cpp
src/portable.cpp
+5
-1
No files found.
src/portable.cpp
View file @
492c5041
...
...
@@ -84,7 +84,11 @@ int portable_system(const char *command,const char *args,bool commandHasConsole)
#else // Other Unices just use fork
pid
=
fork
();
if
(
pid
==-
1
)
return
-
1
;
if
(
pid
==-
1
)
{
perror
(
"fork error"
);
return
-
1
;
}
if
(
pid
==
0
)
{
const
char
*
argv
[
4
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment