Sync OpenBSD patchset 527:

Only need to chmod +x or -x the socket when a client is created, lost or
attached, rather than every event loop.
This commit is contained in:
Tiago Cunha
2009-11-13 16:51:49 +00:00
parent 7230fe1648
commit 1b4a76d58f
5 changed files with 12 additions and 11 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.512 2009-11-10 23:31:21 tcunha Exp $ */
/* $Id: tmux.h,v 1.513 2009-11-13 16:51:49 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1556,6 +1556,7 @@ extern struct clients dead_clients;
int server_start(char *);
void server_signal_set(void);
void server_signal_clear(void);
void server_update_socket(void);
/* server-client.c */
void server_client_create(int);