projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup comments and bad indent
[lttng-tools.git]
/
ltt-sessiond
/
utils.c
diff --git
a/ltt-sessiond/utils.c
b/ltt-sessiond/utils.c
index 5b8e31b8d0b4e44623360fa68fa67288ba4a923d..6b22d9693c693e59bfd389d273b9d1aee5dc2974 100644
(file)
--- a/
ltt-sessiond/utils.c
+++ b/
ltt-sessiond/utils.c
@@
-30,10
+30,9
@@
#include "utils.h"
/*
#include "utils.h"
/*
- *
get_home_dir
+ *
Return pointer to home directory path using the env variable HOME.
*
*
- * Return pointer to home directory path using the env variable HOME.
- * No home, NULL is returned.
+ * No home, NULL is returned.
*/
const char *get_home_dir(void)
{
*/
const char *get_home_dir(void)
{
@@
-41,9
+40,7
@@
const char *get_home_dir(void)
}
/*
}
/*
- * mkdir_recursive
- *
- * Create recursively directory using the FULL path.
+ * Create recursively directory using the FULL path.
*/
int mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid)
{
*/
int mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid)
{
@@
-76,9
+73,8
@@
int mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid)
}
} else if (ret == 0) {
/*
}
} else if (ret == 0) {
/*
- * We created the directory. Set its
- * ownership to the user/group
- * specified.
+ * We created the directory. Set its ownership to the
+ * user/group specified.
*/
ret = chown(tmp, uid, gid);
if (ret < 0) {
*/
ret = chown(tmp, uid, gid);
if (ret < 0) {
@@
-96,8
+92,8
@@
int mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid)
ret = -errno;
} else if (ret == 0) {
/*
ret = -errno;
} else if (ret == 0) {
/*
- * We created the directory. Set its ownership to the
- *
user/group
specified.
+ * We created the directory. Set its ownership to the
user/group
+ * specified.
*/
ret = chown(tmp, uid, gid);
if (ret < 0) {
*/
ret = chown(tmp, uid, gid);
if (ret < 0) {
This page took
0.024818 seconds
and
4
git commands to generate.