summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authorJaroslaw Swierczynski <swiergot@juvepoland.com>2008-01-13 15:06:25 +0100
committerDan McGee <dan@archlinux.org>2008-01-13 18:42:26 -0600
commit801a26805663b0a79bf619a0fec853293806969b (patch)
tree5aa98bb51eca524bb9914dc9d86f25901b0741ae /lib/libalpm/util.h
parent549c2878f965e5b6cb001ff3c8c5e3122becf8e1 (diff)
downloadpacman-801a26805663b0a79bf619a0fec853293806969b.tar.xz
FS#9183 : force correct permissions on tmp/.
[Xav: removed unneeded makepath_internal function, and fixed the permission value : 1777 -> 01777] Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.h')
-rw-r--r--lib/libalpm/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index 3ffe6328..e9e0af1f 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -50,6 +50,7 @@
#define ASSERT(cond, action) do { if(!(cond)) { action; } } while(0)
int _alpm_makepath(const char *path);
+int _alpm_makepath_mode(const char *path, mode_t mode);
int _alpm_copyfile(const char *src, const char *dest);
char *_alpm_strtrim(char *str);
char *_alpm_strreplace(const char *str, const char *needle, const char *replace);