[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] readline bug
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] readline bug |
Date: |
Sat, 03 Sep 2011 14:38:36 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 |
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 address@hidden http://cnswww.cns.cwru.edu/~chet/