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
95da9d5a
Commit
95da9d5a
authored
Jun 25, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: fix compilation
parent
5a7aaf0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/access/file.c
modules/access/file.c
+2
-0
No files found.
modules/access/file.c
View file @
95da9d5a
...
@@ -183,9 +183,11 @@ int FileOpen( vlc_object_t *p_this )
...
@@ -183,9 +183,11 @@ int FileOpen( vlc_object_t *p_this )
goto
error
;
goto
error
;
}
}
#ifdef S_ISSOCK
if
(
!
S_ISFIFO
(
st
.
st_mode
)
&&
!
S_ISSOCK
(
st
.
st_mode
))
if
(
!
S_ISFIFO
(
st
.
st_mode
)
&&
!
S_ISSOCK
(
st
.
st_mode
))
/* Clear non-blocking mode when not useful or not specified */
/* Clear non-blocking mode when not useful or not specified */
fcntl
(
fd
,
F_SETFL
,
fcntl
(
fd
,
F_GETFL
)
&
~
O_NONBLOCK
);
fcntl
(
fd
,
F_SETFL
,
fcntl
(
fd
,
F_GETFL
)
&
~
O_NONBLOCK
);
#endif
/* Directories can be opened and read from, but only readdir() knows
/* Directories can be opened and read from, but only readdir() knows
* how to parse the data. The directory plugin will do it. */
* how to parse the data. The directory plugin will do it. */
...
...
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