Blame SOURCES/0066-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch
|
|
a4b143 |
From 56c6d3913e4cd7160b14f9f8a9c7b232444a5235 Mon Sep 17 00:00:00 2001
|
|
|
a4b143 |
From: Lennart Poettering <lennart@poettering.net>
|
|
|
a4b143 |
Date: Wed, 2 Oct 2013 19:38:52 +0200
|
|
|
a4b143 |
Subject: [PATCH] mkdir: pass a proper function pointer to mkdir_safe_internal
|
|
|
a4b143 |
|
|
|
a4b143 |
---
|
|
|
a4b143 |
src/shared/mkdir.c | 2 +-
|
|
|
a4b143 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
a4b143 |
|
|
|
a4b143 |
diff --git a/src/shared/mkdir.c b/src/shared/mkdir.c
|
|
|
a4b143 |
index b7e5c6e..43c6ea6 100644
|
|
|
a4b143 |
--- a/src/shared/mkdir.c
|
|
|
a4b143 |
+++ b/src/shared/mkdir.c
|
|
|
a4b143 |
@@ -53,7 +53,7 @@ int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkd
|
|
|
a4b143 |
}
|
|
|
a4b143 |
|
|
|
a4b143 |
int mkdir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid) {
|
|
|
a4b143 |
- return mkdir_safe_internal(path, mode, uid, gid, false);
|
|
|
a4b143 |
+ return mkdir_safe_internal(path, mode, uid, gid, mkdir);
|
|
|
a4b143 |
}
|
|
|
a4b143 |
|
|
|
a4b143 |
static int is_dir(const char* path) {
|