tree-wide: always drop unnecessary dot in path

This commit is contained in:
Yu Watanabe
2021-05-28 13:44:38 +09:00
parent 0195046449
commit 4ff361cc86
41 changed files with 91 additions and 98 deletions
+4 -4
View File
@@ -571,7 +571,7 @@ int get_home_dir(char **_h) {
if (!h)
return -ENOMEM;
*_h = path_simplify(h, true);
*_h = path_simplify(h);
return 0;
}
@@ -609,7 +609,7 @@ int get_home_dir(char **_h) {
if (!h)
return -ENOMEM;
*_h = path_simplify(h, true);
*_h = path_simplify(h);
return 0;
}
@@ -628,7 +628,7 @@ int get_shell(char **_s) {
if (!s)
return -ENOMEM;
*_s = path_simplify(s, true);
*_s = path_simplify(s);
return 0;
}
@@ -666,7 +666,7 @@ int get_shell(char **_s) {
if (!s)
return -ENOMEM;
*_s = path_simplify(s, true);
*_s = path_simplify(s);
return 0;
}