projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a37d4
)
* once we have an FD we can use it for fchmod
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 16 Aug 2007 21:38:22 +0000
(21:38 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 16 Aug 2007 21:38:22 +0000
(21:38 +0000)
citadel/sysdep.c
patch
|
blob
|
history
diff --git
a/citadel/sysdep.c
b/citadel/sysdep.c
index b819acca7eb459af80bbe63e8a10ece9ed837375..25fcc774322534f1d0f434dcd6c1ac3069358978 100644
(file)
--- a/
citadel/sysdep.c
+++ b/
citadel/sysdep.c
@@
-407,7
+407,7
@@
int ig_uds_server(char *sockpath, int queue_len, char **errormessage)
return(-1);
}
-
chmod(sockpath
, 0777);
+
fchmod(s
, 0777);
return(s);
}