Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
moberg
Commits
740e9557
Commit
740e9557
authored
Mar 29, 2019
by
Anders Blomdell
Browse files
Force HOME to be defined or libxdg-basedir returns no directories
parent
cb0a1d50
Changes
1
Hide whitespace changes
Inline
Side-by-side
moberg.c
View file @
740e9557
...
@@ -260,6 +260,7 @@ struct moberg *moberg_new()
...
@@ -260,6 +260,7 @@ struct moberg *moberg_new()
memset
(
result
,
0
,
sizeof
(
*
result
));
memset
(
result
,
0
,
sizeof
(
*
result
));
/* Parse default configuration(s) */
/* Parse default configuration(s) */
setenv
(
"HOME"
,
"/"
,
0
);
const
char
*
const
*
config_paths
=
xdgSearchableConfigDirectories
(
NULL
);
const
char
*
const
*
config_paths
=
xdgSearchableConfigDirectories
(
NULL
);
const
char
*
const
*
path
;
const
char
*
const
*
path
;
for
(
path
=
config_paths
;
*
path
;
path
++
)
{
for
(
path
=
config_paths
;
*
path
;
path
++
)
{
...
...
Anders Blomdell
@anders_blomdell
mentioned in commit
da5d119e
·
Apr 01, 2019
mentioned in commit
da5d119e
mentioned in commit da5d119e18ff4f29be89d6e44539f2437ac24452
Toggle commit list
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