Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
9459dd3a
Commit
9459dd3a
authored
Mar 14, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger: fixed default log location on OS X
(cherry picked from commit 64637de2753e3ff571a703ab540af181359e9e86)
parent
b8723d77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/misc/logger.c
modules/misc/logger.c
+2
-2
No files found.
modules/misc/logger.c
View file @
9459dd3a
...
@@ -277,8 +277,8 @@ static int Open( vlc_object_t *p_this )
...
@@ -277,8 +277,8 @@ static int Open( vlc_object_t *p_this )
if
(
!
psz_file
)
if
(
!
psz_file
)
{
{
#ifdef __APPLE__
#ifdef __APPLE__
# define LOG_DIR "Library/Logs
/
"
# define LOG_DIR "Library/Logs"
char
*
home
=
config_GetUserDir
(
VLC_
DOCUMENTS
_DIR
);
char
*
home
=
config_GetUserDir
(
VLC_
HOME
_DIR
);
if
(
home
==
NULL
if
(
home
==
NULL
||
asprintf
(
&
psz_file
,
"%s/"
LOG_DIR
"/%s"
,
home
,
||
asprintf
(
&
psz_file
,
"%s/"
LOG_DIR
"/%s"
,
home
,
filename
)
==
-
1
)
filename
)
==
-
1
)
...
...
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