[vlc-commits] logger: fixed default log location on OS X
Felix Paul Kühne
git at videolan.org
Wed Mar 14 18:19:21 CET 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Mar 14 18:18:05 2012 +0100| [9459dd3a4179bbf6a2046e69790c35f90b7b9bdb] | committer: Felix Paul Kühne
logger: fixed default log location on OS X
(cherry picked from commit 64637de2753e3ff571a703ab540af181359e9e86)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=9459dd3a4179bbf6a2046e69790c35f90b7b9bdb
---
modules/misc/logger.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index 9ee7cde..81ab268 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -277,8 +277,8 @@ static int Open( vlc_object_t *p_this )
if( !psz_file )
{
#ifdef __APPLE__
-# define LOG_DIR "Library/Logs/"
- char *home = config_GetUserDir(VLC_DOCUMENTS_DIR);
+# define LOG_DIR "Library/Logs"
+ char *home = config_GetUserDir(VLC_HOME_DIR);
if( home == NULL
|| asprintf( &psz_file, "%s/"LOG_DIR"/%s", home,
filename ) == -1 )
More information about the vlc-commits
mailing list