mariadb/cmd-line-utils/libedit
unknown 7a71303c90 Fix bug#23293 "readline detection broken on NetBSD":
Its root cause is a difference between the "readline" and "libedit" (header files)
definitions of "rl_completion_entry_function", where the "libedit" one is wrong anyway:
This variable is used as a pointer to a function returning "char *",
but "libedit" declares it as returning "int" and then adds casts on usage.

Change it to "CPFunction *" and get rid of the casts.


client/mysql.cc:
  Fix bug#23293 "readline detection broken on NetBSD":
  
  Now that the "libedit" header files declares "rl_completion_entry_function" correctly,
  it need not be cast on usage, and "no_completion()" can be declared to return "char *".
cmd-line-utils/libedit/readline.c:
  Fix bug#23293 "readline detection broken on NetBSD":
  
  Now that the "libedit" header files declares "rl_completion_entry_function" correctly,
  it need not be cast on usage, and "complet_func()" is a "CPFunction *" as well.
cmd-line-utils/libedit/readline/readline.h:
  Fix bug#23293 "readline detection broken on NetBSD":
  
  Declare "rl_completion_entry_function()" to be a "CPFunction *", this avoids casts
  and brings "libedit" in sync with "readline".
2007-01-31 15:25:56 +01:00
..
np Fixed a bug in vis.c 2004-10-22 19:21:54 +03:00
readline Fix bug#23293 "readline detection broken on NetBSD": 2007-01-31 15:25:56 +01:00
TEST changes for readline/libedit configuration 2003-01-18 20:28:48 +04:00
chared.c cmd-line-utils/libedit/chared.c: Fix compile problem caused by use of "uint" which is undefined on QNX. 2005-07-11 15:59:49 +02:00
chared.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
common.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
compat.h Fixed a lot of wrong memory references as reported by valgrind 2003-02-12 21:55:37 +02:00
compat_conf.h libedit need this file too... 2003-01-18 21:05:02 +04:00
config.h terminal.c, sql_bitmap.h, my_sys.h, configure.in, config.h: 2005-05-05 09:15:14 +02:00
editline.3 changes for readline/libedit configuration 2003-01-18 20:28:48 +04:00
editrc.5 changes for readline/libedit configuration 2003-01-18 20:28:48 +04:00
el.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
el.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
el_term.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
emacs.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
fgetln.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
fgetln.h changes for readline/libedit configuration 2003-01-18 20:28:48 +04:00
hist.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
hist.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
histedit.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
history.c many warnings (practically safe but annoying) corrected 2006-01-03 17:54:54 +01:00
key.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
key.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
libedit_term.h Portability fixes 2003-02-27 03:44:44 +02:00
Makefile.am Makefile.am, configure.in: 2005-09-24 15:51:45 +02:00
makelist.sh - don't include sys.h directly in the autogenerated libedit source 2005-05-13 10:04:35 +02:00
map.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
map.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
parse.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
parse.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
prompt.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
prompt.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
read.c QNX does not know "uint", so the cast is rewritten as "unsigned int". 2005-07-18 13:52:18 +02:00
read.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
readline.c Fix bug#23293 "readline detection broken on NetBSD": 2007-01-31 15:25:56 +01:00
refresh.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
refresh.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
search.c readline.c: 2005-05-12 19:02:26 +02:00
search.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
sig.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
sig.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
strlcpy.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
strlcpy.h changes for readline/libedit configuration 2003-01-18 20:28:48 +04:00
sys.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
term.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
tokenizer.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
tokenizer.h upgrade to libedit-2.6.7 2004-08-24 20:41:41 +05:00
tty.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
tty.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
unvis.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
vi.c Eliminate gcc 4.0 warning in libedit code. (Bug #9603) 2005-05-07 08:16:43 -07:00
vis.c Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00
vis.h Upgrade to libedit-2.9 2005-04-21 12:06:46 +02:00