Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
257c46c9
Commit
257c46c9
authored
10 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
fileutils: C++11 requires a space between literal and identifier
Change-Id: I04e83a58ac93e6f9bf7470b7e7703fffcc3f7d80
parent
37c587f9
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
daemon/src/fileutils.cpp
+4
-2
4 additions, 2 deletions
daemon/src/fileutils.cpp
with
4 additions
and
2 deletions
daemon/src/fileutils.cpp
+
4
−
2
View file @
257c46c9
...
...
@@ -274,8 +274,10 @@ get_data_dir()
const
std
::
string
data_home
(
XDG_DATA_HOME
);
if
(
not
data_home
.
empty
())
return
data_home
+
DIR_SEPARATOR_STR
+
PACKAGE
;
// "If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used."
return
get_home_dir
()
+
DIR_SEPARATOR_STR
".local"
DIR_SEPARATOR_STR
"share"
DIR_SEPARATOR_STR
+
PACKAGE
;
// "If $XDG_DATA_HOME is either not set or empty, a default equal to
// $HOME/.local/share should be used."
return
get_home_dir
()
+
DIR_SEPARATOR_STR
".local"
DIR_SEPARATOR_STR
"share"
DIR_SEPARATOR_STR
+
PACKAGE
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment