[vlc-devel] commit: compilation fix ( Felix Paul Kühne )

git version control git at videolan.org
Thu Aug 27 15:09:55 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Aug 27 15:09:43 2009 +0200| [660d9ff55f3f2584d57a947243ec58b130ce401b] | committer: Felix Paul Kühne 

compilation fix

The actual folders still need to be implemented

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=660d9ff55f3f2584d57a947243ec58b130ce401b
---

 src/config/dirs_macos.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/config/dirs_macos.c b/src/config/dirs_macos.c
index 46d3b5e..0d4a638 100644
--- a/src/config/dirs_macos.c
+++ b/src/config/dirs_macos.c
@@ -43,7 +43,7 @@ const char *config_GetDataDir( void )
 #warning FIXME: thread-safety!
     if( *path == '\0' )
     {
-        snprintf( path, sizeof( path ), "%s" DIR_SEP DIR_SHARE, psz_vlcpath );
+        snprintf( path, sizeof( path ), "%s" DIR_SEP "share", psz_vlcpath );
         path[sizeof( path ) - 1] = '\0';
     }
     return path;
@@ -91,7 +91,7 @@ const char *config_GetConfDir( void )
 #warning FIXME: system config is not the same as shared app data...
     if( *path == '\0' )
     {
-        snprintf( path, sizeof( path ), "%s"DIR_SEP DIR_SHARE, /* FIXME: Duh? */
+        snprintf( path, sizeof( path ), "%s" DIR_SEP "share", /* FIXME: Duh? */
                   psz_vlcpath );
         path[sizeof( path ) - 1] = '\0';
     }
@@ -126,7 +126,7 @@ static char *config_GetHomeDir (void)
 static char *config_GetAppDir (void)
 {
     char *psz_dir;
-    const char *psz_parent = GetDir (false);
+    const char *psz_parent = GetDir ();
 
     if( asprintf( &psz_dir, "%s/Library/Preferences/VLC", psz_parent ) == -1 )
         psz_dir = NULL;




More information about the vlc-devel mailing list