Commit 529b0f64 authored by Georgi Kodinov's avatar Georgi Kodinov

weave merge of mysql-5.1->mysql-5.5

merge of Nirbhay's AIX compilation fix for 5.1.61
parents 15229239 7c7506cc
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
* seems to actually advertise this properly, despite Unicode 3.1 having * seems to actually advertise this properly, despite Unicode 3.1 having
* been around since 2001... */ * been around since 2001... */
/* XXXMYSQL : Added FreeBSD to bypass this check. /* XXXMYSQL : Added FreeBSD & AIX to bypass this check.
TODO : Verify if FreeBSD stores ISO 10646 in wchar_t. */ TODO : Verify if FreeBSD & AIX stores ISO 10646 in wchar_t. */
#if !defined(__NetBSD__) && !defined(__sun) \ #if !defined(__NetBSD__) && !defined(__sun) \
&& !(defined(__APPLE__) && defined(__MACH__)) \ && !(defined(__APPLE__) && defined(__MACH__)) \
&& !defined(__FreeBSD__) && !defined(__FreeBSD__) && !defined(_AIX)
#ifndef __STDC_ISO_10646__ #ifndef __STDC_ISO_10646__
/* In many places it is assumed that the first 127 code points are ASCII /* In many places it is assumed that the first 127 code points are ASCII
* compatible, so ensure wchar_t indeed does ISO 10646 and not some other * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
......
...@@ -200,7 +200,7 @@ el_set(EditLine *el, int op, ...) ...@@ -200,7 +200,7 @@ el_set(EditLine *el, int op, ...)
ret = -1; ret = -1;
goto out; goto out;
} }
// XXX: The two strdup's leak /* XXX: The two strdups leak. */
ret = map_addfunc(el, Strdup(wargv[0]), Strdup(wargv[1]), ret = map_addfunc(el, Strdup(wargv[0]), Strdup(wargv[1]),
func); func);
ct_free_argv(wargv); ct_free_argv(wargv);
......
...@@ -1978,7 +1978,7 @@ rl_callback_read_char() ...@@ -1978,7 +1978,7 @@ rl_callback_read_char()
} else } else
wbuf = NULL; wbuf = NULL;
(*(void (*)(const char *))rl_linefunc)(wbuf); (*(void (*)(const char *))rl_linefunc)(wbuf);
//el_set(e, EL_UNBUFFERED, 1); /*el_set(e, EL_UNBUFFERED, 1);*/
} }
} }
......
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