=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.c,v retrieving revision 1.162 retrieving revision 1.163 diff -c -r1.162 -r1.163 *** src/usr.bin/tmux/tmux.c 2015/11/24 23:46:15 1.162 --- src/usr.bin/tmux/tmux.c 2015/12/08 01:10:31 1.163 *************** *** 1,4 **** ! /* $OpenBSD: tmux.c,v 1.162 2015/11/24 23:46:15 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.c,v 1.163 2015/12/08 01:10:31 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 38,43 **** --- 38,44 ---- struct options *global_s_options; /* session options */ struct options *global_w_options; /* window options */ struct environ *global_environ; + struct hooks *global_hooks; struct timeval start_time; const char *socket_path; *************** *** 268,273 **** --- 269,276 ---- strcasestr(s, "UTF8") != NULL) flags |= CLIENT_UTF8; } + + global_hooks = hooks_create(NULL); global_environ = environ_create(); for (var = environ; *var != NULL; var++)