projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d5151
)
-only used on UNIX
author
Christian Grothoff
<christian@grothoff.org>
Mon, 7 May 2012 11:09:17 +0000
(11:09 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 7 May 2012 11:09:17 +0000
(11:09 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index 667e350d97f33b437ffaed561a12ac018d475b45..847dad457ec141101c37a79e035054e2a1edc220 100644
(file)
--- a/
src/util/disk.c
+++ b/
src/util/disk.c
@@
-116,6
+116,14
@@
struct GetFileSizeData
};
+#ifndef MINGW
+/**
+ * Translate GNUnet-internal permission bitmap to UNIX file
+ * access permission bitmap.
+ *
+ * @param perm file permissions, GNUnet style
+ * @return file permissions, UNIX style
+ */
static int
translate_unix_perms (enum GNUNET_DISK_AccessPermissions perm)
{
@@
-143,6
+151,7
@@
translate_unix_perms (enum GNUNET_DISK_AccessPermissions perm)
return mode;
}
+#endif
/**