Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libdvdcss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
libdvdcss
Commits
98c66a5b
Commit
98c66a5b
authored
Mar 11, 2016
by
Petri Hintukainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix using DVDCSS_CACHE environment variable
parent
b0385d98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/libdvdcss.c
src/libdvdcss.c
+5
-0
No files found.
src/libdvdcss.c
View file @
98c66a5b
...
...
@@ -274,6 +274,11 @@ static int set_cache_directory( dvdcss_t dvdcss )
}
#endif
/* ! defined( _WIN32 ) */
}
else
{
strncpy
(
dvdcss
->
psz_cachefile
,
psz_cache
,
PATH_MAX
);
dvdcss
->
psz_cachefile
[
PATH_MAX
-
1
]
=
'\0'
;
}
/* Check that there is enough space for the cache directory path and the
* block filename. The +1s are path separators. */
...
...
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