Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
660d9ff5
Commit
660d9ff5
authored
Aug 27, 2009
by
Felix Paul Kühne
Browse files
compilation fix
The actual folders still need to be implemented
parent
26c0d12f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config/dirs_macos.c
View file @
660d9ff5
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
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