projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
125af6f
)
Set permissions to 0777 for unix file socket
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 May 2003 13:49:02 +0000
(13:49 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 May 2003 13:49:02 +0000
(13:49 +0000)
comstack/unix.c
patch
|
blob
|
history
diff --git
a/comstack/unix.c
b/comstack/unix.c
index
e5cd9e5
..
22087ea
100644
(file)
--- a/
comstack/unix.c
+++ b/
comstack/unix.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: unix.c,v 1.11 2003-03-03 19:57:35 adam Exp $
+ * $Id: unix.c,v 1.12 2003-05-14 13:49:02 adam Exp $
* UNIX socket COMSTACK. By Morten Bøgeskov.
*/
#ifndef WIN32
@@
-292,6
+292,7
@@
static int unix_bind(COMSTACK h, void *address, int mode)
h->cerrno = CSYSERR;
return -1;
}
+ chmod(path, 0777);
if (mode == CS_SERVER && listen(h->iofile, 3) < 0)
{
h->cerrno = CSYSERR;