Commit 125e22e7 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

merge

parents a01c9557 dad13229
...@@ -1300,7 +1300,7 @@ map_bind(EditLine *el, int argc, const Char **argv) ...@@ -1300,7 +1300,7 @@ map_bind(EditLine *el, int argc, const Char **argv)
default: default:
(void) fprintf(el->el_errfile, (void) fprintf(el->el_errfile,
"" FSTR ": Invalid switch `%c'.\n", "" FSTR ": Invalid switch `%c'.\n",
argv[0], p[1]); argv[0], (int) p[1]);
} }
else else
break; break;
......
...@@ -908,17 +908,17 @@ terminal_set(EditLine *el, const char *term) ...@@ -908,17 +908,17 @@ terminal_set(EditLine *el, const char *term)
terminal_alloc(el, t, NULL); terminal_alloc(el, t, NULL);
} else { } else {
/* auto/magic margins */ /* auto/magic margins */
Val(T_am) = tgetflag("am"); Val(T_am) = tgetflag((char*) "am");
Val(T_xn) = tgetflag("xn"); Val(T_xn) = tgetflag((char*) "xn");
/* Can we tab */ /* Can we tab */
Val(T_pt) = tgetflag("pt"); Val(T_pt) = tgetflag((char*) "pt");
Val(T_xt) = tgetflag("xt"); Val(T_xt) = tgetflag((char*) "xt");
/* do we have a meta? */ /* do we have a meta? */
Val(T_km) = tgetflag("km"); Val(T_km) = tgetflag((char*) "km");
Val(T_MT) = tgetflag("MT"); Val(T_MT) = tgetflag((char*) "MT");
/* Get the size */ /* Get the size */
Val(T_co) = tgetnum("co"); Val(T_co) = tgetnum((char*) "co");
Val(T_li) = tgetnum("li"); Val(T_li) = tgetnum((char*) "li");
for (t = tstr; t->name != NULL; t++) { for (t = tstr; t->name != NULL; t++) {
/* XXX: some systems' tgetstr needs non const */ /* XXX: some systems' tgetstr needs non const */
terminal_alloc(el, t, tgetstr(strchr(t->name, *t->name), terminal_alloc(el, t, tgetstr(strchr(t->name, *t->name),
......
...@@ -1215,7 +1215,7 @@ tty_stty(EditLine *el, int argc __attribute__((__unused__)), const Char **argv) ...@@ -1215,7 +1215,7 @@ tty_stty(EditLine *el, int argc __attribute__((__unused__)), const Char **argv)
default: default:
(void) fprintf(el->el_errfile, (void) fprintf(el->el_errfile,
"%s: Unknown switch `%c'.\n", "%s: Unknown switch `%c'.\n",
name, argv[0][1]); name, (int) argv[0][1]);
return -1; return -1;
} }
......
...@@ -2702,7 +2702,7 @@ case $SYSTEM_TYPE in ...@@ -2702,7 +2702,7 @@ case $SYSTEM_TYPE in
echo "Skipping readline" echo "Skipping readline"
;; ;;
*) *)
if [test "$with_libedit" = "yes"] || [test "$with_libedit" = "undefined"] && [test "$with_readline" = "undefined"] if [test "$with_libedit" = "yes"] || ( [test "$with_libedit" = "undefined"] && [test "$with_readline" = "undefined"] )
then then
readline_topdir="cmd-line-utils" readline_topdir="cmd-line-utils"
readline_basedir="libedit" readline_basedir="libedit"
......
-- source include/have_innodb_plugin.inc -- source include/have_innodb_plugin.inc
-- source include/have_utf8.inc let collation=utf8_unicode_ci;
--source include/have_collation.inc
let $MYSQLD_DATADIR= `select @@datadir`; let $MYSQLD_DATADIR= `select @@datadir`;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment