Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdfp-pipe
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvdfp-pipe
Commits
86f39c3f
Commit
86f39c3f
authored
Aug 07, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure errno==0 before calling fork().
parent
75b763b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vdfp_pipe.c
src/vdfp_pipe.c
+1
-0
No files found.
src/vdfp_pipe.c
View file @
86f39c3f
...
@@ -222,6 +222,7 @@ vdp_init(struct req *req, void **priv)
...
@@ -222,6 +222,7 @@ vdp_init(struct req *req, void **priv)
if
(
mk_pipe
(
err
,
obj
->
name
,
req
->
vsl
)
!=
0
)
if
(
mk_pipe
(
err
,
obj
->
name
,
req
->
vsl
)
!=
0
)
return
(
-
1
);
return
(
-
1
);
errno
=
0
;
state
->
chldpid
=
fork
();
state
->
chldpid
=
fork
();
if
(
state
->
chldpid
<
0
)
{
if
(
state
->
chldpid
<
0
)
{
VSLb
(
req
->
vsl
,
SLT_Error
,
"vdfp_pipe: vdp %s: fork failed for "
VSLb
(
req
->
vsl
,
SLT_Error
,
"vdfp_pipe: vdp %s: fork failed for "
...
...
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