update comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6212 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -63,12 +63,12 @@ size_t cookie_len = sizeof(cookie);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate a unix domain socket.
|
* Allocate a unix domain socket in `s' for display `dpy' and with
|
||||||
|
* filename `pattern'
|
||||||
*
|
*
|
||||||
* 0 if all is OK
|
* 0 if all is OK
|
||||||
* -1 if bind failed badly
|
* -1 if bind failed badly
|
||||||
* 1 if dpy is already used
|
* 1 if dpy is already used */
|
||||||
*/
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
try_socket (struct x_socket *s, int dpy, const char *pattern)
|
try_socket (struct x_socket *s, int dpy, const char *pattern)
|
||||||
@@ -202,8 +202,7 @@ try_tcp (struct x_socket *s, int dpy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate and listen on a number of local X server sockets, pipes,
|
* The potential places to create unix sockets.
|
||||||
* and a TCP socket. Return the display number.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static char *x_sockets[] = {
|
static char *x_sockets[] = {
|
||||||
@@ -213,6 +212,10 @@ X_UNIX_PATH "%u",
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Dito for stream pipes.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef MAY_HAVE_X11_PIPES
|
#ifdef MAY_HAVE_X11_PIPES
|
||||||
static char *x_pipes[] = {
|
static char *x_pipes[] = {
|
||||||
X_PIPE_PATH "%u",
|
X_PIPE_PATH "%u",
|
||||||
@@ -222,7 +225,7 @@ NULL
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create the directory corresponding to `path' or fail.
|
* Create the directory corresponding to dirname of `path' or fail.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user