Re: OS X test please

2017-06-05 Thread Nicholas Marriott
And without the silly typedef: diff --git a/compat/daemon-darwin.c b/compat/daemon-darwin.c new file mode 100644 index ..ccebcc86 --- /dev/null +++ b/compat/daemon-darwin.c @@ -0,0 +1,82 @@ +/* + * Copyright (c) 2017 Nicholas Marriott + * + * Permission to

Re: OS X test please

2017-06-05 Thread Nicholas Marriott
Need a couple of declarations too I think, please try this: diff --git a/compat/daemon-darwin.c b/compat/daemon-darwin.c new file mode 100644 index ..092ab869 --- /dev/null +++ b/compat/daemon-darwin.c @@ -0,0 +1,82 @@ +/* + * Copyright (c) 2017 Nicholas Marriott

OS X test please

2017-06-05 Thread Nicholas Marriott
Someone on OS X 10.5 or above able to build tmux from Git with this and tell me if: a) it compiles without any new warnings; b) tmux still runs; c) it allows them to get rid of reattach-to-user-namespace. diff --git a/compat/daemon.c b/compat/daemon.c index 678d78ef..ddeff02f 100644 ---