Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
68d84670
Commit
68d84670
authored
Oct 14, 2008
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check for fcntl()
win32 has a fcntl header but no fcntl function
parent
1bd36deb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
configure.ac
configure.ac
+1
-0
modules/access/file.c
modules/access/file.c
+1
-1
No files found.
configure.ac
View file @
68d84670
...
...
@@ -494,6 +494,7 @@ AC_CHECK_FUNCS(strcasecmp,,[AC_CHECK_FUNCS(stricmp)])
AC_CHECK_FUNCS(strncasecmp,,[AC_CHECK_FUNCS(strnicmp)])
AC_CHECK_FUNCS(strcasestr,,[AC_CHECK_FUNCS(stristr)])
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(fcntl)
AH_BOTTOM([#include <vlc_fixups.h>])
...
...
modules/access/file.c
View file @
68d84670
...
...
@@ -350,7 +350,7 @@ static int open_file (access_t *p_access, const char *path)
return
-
1
;
}
#if defined(HAVE_FCNTL
_H
)
#if defined(HAVE_FCNTL)
fcntl
(
fd
,
F_SETFD
,
fcntl
(
fd
,
F_GETFD
)
|
FD_CLOEXEC
);
/* We'd rather use any available memory for reading ahead
...
...
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