Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b2766703
Commit
b2766703
authored
Jan 11, 2012
by
Karen Langford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes required to build on AIX
parent
ea21b3a5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
cmd-line-utils/libedit/chartype.h
cmd-line-utils/libedit/chartype.h
+3
-3
cmd-line-utils/libedit/eln.c
cmd-line-utils/libedit/eln.c
+1
-1
cmd-line-utils/libedit/readline.c
cmd-line-utils/libedit/readline.c
+1
-1
unittest/mysys/bitmap-t.c
unittest/mysys/bitmap-t.c
+1
-1
No files found.
cmd-line-utils/libedit/chartype.h
View file @
b2766703
...
@@ -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
...
...
cmd-line-utils/libedit/eln.c
View file @
b2766703
...
@@ -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
);
...
...
cmd-line-utils/libedit/readline.c
View file @
b2766703
...
@@ -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);*/
}
}
}
}
...
...
unittest/mysys/bitmap-t.c
View file @
b2766703
...
@@ -429,7 +429,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize)
...
@@ -429,7 +429,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize)
{
{
uint
bitsize2
=
1
+
get_rand_bit
(
MAX_TESTED_BITMAP_SIZE
-
1
);
uint
bitsize2
=
1
+
get_rand_bit
(
MAX_TESTED_BITMAP_SIZE
-
1
);
MY_BITMAP
map2
;
MY_BITMAP
map2
;
uint32
map2buf
[
bitsize2
];
uint32
map2buf
[
MAX_TESTED_BITMAP_SIZE
];
uint
i
,
test_bit1
,
test_bit2
,
test_bit3
;
uint
i
,
test_bit1
,
test_bit2
,
test_bit3
;
if
(
bitmap_init
(
&
map2
,
map2buf
,
bitsize2
,
FALSE
))
if
(
bitmap_init
(
&
map2
,
map2buf
,
bitsize2
,
FALSE
))
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment