[dovecot-cvs] dovecot/src/lib-auth auth-client.c,1.9,1.10
cras at dovecot.org
cras at dovecot.org
Sun Jan 22 17:50:09 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-auth
In directory talvi:/tmp/cvs-serv4508
Modified Files:
auth-client.c
Log Message:
UnixWare creates sockets as fifos. Allow that..
Index: auth-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-client.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- auth-client.c 22 Jan 2006 15:48:57 -0000 1.9
+++ auth-client.c 22 Jan 2006 15:50:07 -0000 1.10
@@ -176,7 +176,10 @@
continue;
}
- if (stat(name, &st) == 0 && S_ISSOCK(st.st_mode)) {
+ /* Normally they're sockets, but in UnixWare they're
+ created as fifos. */
+ if (stat(name, &st) == 0 &&
+ (S_ISSOCK(st.st_mode) || S_ISFIFO(st.st_mode))) {
if (auth_server_connection_new(client,
name) == NULL)
client->reconnect = TRUE;
More information about the dovecot-cvs
mailing list