On 9/2/11 4:51 PM, Łukasz Bolda wrote:
> Hi!
> I'm Using a Mac Os X 10.7
> i686-apple-darwin11-llvm-gcc-4.2
> 
> I found a bug in file readline.h in line:
> extern Function*rl_completion_entry_function;
> 
> It should be:
> extern rl_compentry_func_t *rl_completion_entry_function;
> 
> 
> 
> Because:
> 
> typedef char     *rl_compentry_func_t(const char *, int);
> //and:
> typedef int      Function(const char *, int);
> 
> 
> Can You tell Apple to update includes ?

Apple's /usr/include/readline/readline.h has little to do with GNU
readline.  It's a wrapper for their readline `compatibility' library
based on BSD editline.  Their bugs are their own.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    [email protected]    http://cnswww.cns.cwru.edu/~chet/

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to