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:
> 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.

To try to help, I ran

egrep -w "("${(j.|.)$(perl -ne '/\#define\s+([[:alnum:]_]+)/ &&
print "$1\n"' /usr/include/ncursesw/term.h | uniq)}")" **/*.[ch]

and looked for definitions we were using in the shell.  It's a bit hard
to be sure --- there are lots of matches with words like "TTY" and
"lines" in comments, parameter names etc. --- but I didn't see anything
that looked suspicious.

Grepping the source after comment removal would be a better check but I
don't have the energy.

-- 
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