Well, I don't have any Solaris boxes but it probably isn't too big a change - try this:
diff --git a/compat.h b/compat.h index bf6e536..2e433a0 100644 --- a/compat.h +++ b/compat.h @@ -176,6 +176,13 @@ typedef uint64_t u_int64_t; #define TTY_NAME_MAX 32 #endif +#ifndef HAVE_FLOCK +#define LOCK_SH 0 +#define LOCK_EX 0 +#define LOCK_NB 0 +#define flock(fd, op) (0) +#endif + #ifndef HAVE_BZERO #undef bzero #define bzero(buf, len) memset(buf, 0, len); diff --git a/configure.ac b/configure.ac index b524ff8..fc71f02 100644 --- a/configure.ac +++ b/configure.ac @@ -386,6 +386,7 @@ AC_CHECK_FUNCS( [ \ bzero \ dirfd \ + flock \ setproctitle \ sysconf \ cfmakeraw \ On Mon, Sep 22, 2014 at 03:50:48PM +0200, Dagobert Michelsen wrote: > Hi Nicholas, > Am 11.08.2014 um 10:23 schrieb Nicholas Marriott > <[1]nicholas.marri...@gmail.com>: > > From: Nicholas Marriott <[2]nicholas.marri...@gmail.com> > > Yes it will have to be a stub, fcntl is useless too. > > I'd add a configure.ac test though and use it on any platform w/o flock > not just Solaris. > > As this hasn*t been done yet: are you waiting for a patch from me or did > you just haven*t gotten around doing it? > Best regards > * Dago > -- > "You don't become great by trying to be great, you become great by wanting > to do something, > and then doing it so hard that you become great in the process." - xkcd > #896 > > References > > Visible links > 1. mailto:nicholas.marri...@gmail.com > 2. mailto:nicholas.marri...@gmail.com ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users