Re: Problems building tmux on Solaris

2011-09-22 Thread Peter Jeremy
On 2011-Sep-21 01:04:28 +0530, Nicholas Marriott wrote: >Can you do the inline change with an ifdef #define __inline inline? That seems to work and would be more portable. >Not sure about asprintf, there used to be another version too but I took >it out. Passing a non-zero buffer length to vsn

Re: Problems building tmux on Solaris

2011-09-20 Thread Nicholas Marriott
Hi Try this to fix the dirfd thing. I'll have to look at ssh's vsnprintf. tmux will require a C99 compiler (or at least, some of the C99 features) so if you want it to work on Tru64 you'll have to dig out one. mdocml has the start of a man output mode now so when that is finished we can use tha

Re: Problems building tmux on Solaris

2011-09-20 Thread Nicholas Marriott
Can you do the inline change with an ifdef #define __inline inline? Not sure about asprintf, there used to be another version too but I took it out. closefrom() came from OpenSSH, how does it deal with the dirfd() thing? INFINITY has gone in tmux SVN already. Cheers On Mon, Sep 19, 2011 at 03

Problems building tmux on Solaris

2011-09-20 Thread Peter Jeremy
I have been trying to build tmux-1.5 on Solaris 8, Solaris 9 and Solaris 10 using SunStudio 11 and SunStudio 12 and have run into a number of issues: 1) Neither SunStudio 11 nor SunStudio 12 support __inline The following patch changes them back to "inline": --- compat/tree.h~ 2011-07-09 1