[vlc-commits] logger: fixed default log location on OS X
Felix Paul Kühne
git at videolan.org
Wed Mar 14 18:18:08 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Mar 14 18:18:05 2012 +0100| [64637de2753e3ff571a703ab540af181359e9e86] | committer: Felix Paul Kühne
logger: fixed default log location on OS X
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64637de2753e3ff571a703ab540af181359e9e86
---
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 cd3b4fd..d873817 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -269,8 +269,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