Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f8f9b3f6
Commit
f8f9b3f6
authored
Jun 10, 2015
by
KO Myung-Hun
Committed by
Rémi Denis-Courmont
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os2: filesystem: set pipes to binary mode
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
3b6b39ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/os2/filesystem.c
src/os2/filesystem.c
+4
-0
No files found.
src/os2/filesystem.c
View file @
f8f9b3f6
...
...
@@ -34,6 +34,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <dirent.h>
...
...
@@ -337,6 +338,9 @@ int vlc_pipe (int fds[2])
if
(
pipe
(
fds
))
return
-
1
;
setmode
(
fds
[
0
],
O_BINARY
);
setmode
(
fds
[
1
],
O_BINARY
);
fcntl
(
fds
[
0
],
F_SETFD
,
FD_CLOEXEC
);
fcntl
(
fds
[
1
],
F_SETFD
,
FD_CLOEXEC
);
return
0
;
...
...
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