1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-04 06:05:05 +03:00
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
..
2004-10-22 19:21:54 +03:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2003-01-18 21:05:02 +04:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2003-02-27 03:44:44 +02:00
2005-09-24 15:51:45 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-05-12 19:02:26 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2004-08-24 20:41:41 +05:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00
2005-04-21 12:06:46 +02:00