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
f1b0b2be
Commit
f1b0b2be
authored
Aug 10, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't close stdin prematurely.
parent
7807c7c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vdfp_pipe.c
src/vdfp_pipe.c
+1
-2
No files found.
src/vdfp_pipe.c
View file @
f1b0b2be
...
...
@@ -462,12 +462,11 @@ vdp_bytes(struct req *req, enum vdp_action act, void **priv, const void *ptr,
}
}
if
(
act
==
VDP_END
)
{
if
(
fds
[
STDIN_FILENO
].
fd
!=
-
1
)
if
(
fds
[
STDIN_FILENO
].
fd
!=
-
1
&&
len
==
0
)
closefd
(
&
fds
[
STDIN_FILENO
].
fd
);
if
(
fds
[
STDOUT_FILENO
].
fd
!=
-
1
||
fds
[
STDERR_FILENO
].
fd
!=
-
1
)
continue
;
break
;
}
if
(
len
==
0
)
break
;
...
...
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