From 40b1d64ce77c532436c6769c65a2b98be56e91ad Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 18 Mar 2012 01:28:10 +0000 Subject: Sync OpenBSD patchset 1043: Use a lock file and flock() to serialize server start, avoids problems when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 4cadafeb..611cf5c3 100644 --- a/tmux.h +++ b/tmux.h @@ -1683,7 +1683,7 @@ const char *key_string_lookup_key(int); extern struct clients clients; extern struct clients dead_clients; extern struct paste_stack global_buffers; -int server_start(void); +int server_start(int, char *); void server_update_socket(void); /* server-client.c */ -- cgit