Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Compilation fix for AIX (missing consts)



On Fri, 6 May 2011 14:51:42 +0100
Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> So to
> fix it for AIX (an, indeed, to have any remote hope of keeping the
> AIX version in sync with the rest) we need to allow term.h to be
> included in the main shell.
> 
> The issues I can see are with the names columns, lines, move, newline
> and tab (ick!).  After fixing these, this now compiles and runs
> correctly on my machine.  I can't entirely exclude the possibility it
> has subtly redefined some other word.
> 
> Unfortunately, it means we're at the mercy of term.h everywhere it
> exists.  Given that this only happens in the case we are trying to use
> it in at least one part of the shell, it's probably the right thing to
> do to use it everywhere.  However, this could do with some major
> testing.  I'll upload a new test version soon.

I've committed this.  I'll upload a test version when a bit more dust
has settled elsewhere, but it could do with some testing.  I suspect
there are some interesting versions of term.h around.

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom



Messages sorted by: Reverse Date, Date, Thread, Author