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
609d7520
Commit
609d7520
authored
Mar 13, 2002
by
jani@hynda.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modifications to MySQL source in order to make it compile on QnX.
parent
39c4a730
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
19 deletions
+54
-19
config.guess
config.guess
+9
-0
config.sub
config.sub
+15
-1
include/m_ctype.h
include/m_ctype.h
+18
-18
include/my_global.h
include/my_global.h
+8
-0
readline/vi_mode.c
readline/vi_mode.c
+4
-0
No files found.
config.guess
View file @
609d7520
...
@@ -563,6 +563,15 @@ EOF
...
@@ -563,6 +563,15 @@ EOF
F301:UNIX_System_V:
*
:
*
)
F301:UNIX_System_V:
*
:
*
)
echo
f301-fujitsu-uxpv
`
echo
$UNAME_RELEASE
|
sed
's/ .*//'
`
echo
f301-fujitsu-uxpv
`
echo
$UNAME_RELEASE
|
sed
's/ .*//'
`
exit
0
;;
exit
0
;;
*
:procnto
*
:
*
:
*
|
*
:QNX:[0123456789]
*
:
*
)
if
test
"
${
UNAME_MACHINE
}
"
=
"c86pc"
;
then
UNAME_MACHINE
=
pc
fi
echo
`
uname
-p
`
-
${
UNAME_MACHINE
}
-nto-qnx
exit
0
;;
*
:QNX:
*
:
*
)
echo
i386-pc-qnx
exit
0
;;
hp3[0-9][05]:NetBSD:
*
:
*
)
hp3[0-9][05]:NetBSD:
*
:
*
)
echo
m68k-hp-netbsd
${
UNAME_RELEASE
}
echo
m68k-hp-netbsd
${
UNAME_RELEASE
}
exit
0
;;
exit
0
;;
...
...
config.sub
View file @
609d7520
...
@@ -111,7 +111,7 @@ esac
...
@@ -111,7 +111,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'
`
maybe_os
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'
`
case
$maybe_os
in
case
$maybe_os
in
linux-gnu
*
)
nto-qnx
*
|
linux-gnu
*
)
os
=
-
$maybe_os
os
=
-
$maybe_os
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
;;
;;
...
@@ -636,6 +636,20 @@ case $basic_machine in
...
@@ -636,6 +636,20 @@ case $basic_machine in
basic_machine
=
i960-intel
basic_machine
=
i960-intel
os
=
-nindy
os
=
-nindy
;;
;;
ntox86
)
basic_machine
=
i386
${
os
:-
-unknown
}
os
=
-nto-qnx
;;
nto
*
le
|
not
*
be
)
basic_machine
=
${
basic_machine
%%be
}
basic_machine
=
${
basic_machine
%%le
}
basic_machine
=
${
basic_machine
##nto
}${
os
:-
-unknown
}
os
=
-nto-qnx
;;
nto
*
)
basic_machine
=
${
basic_machine
##nto
}${
os
:-
-unknown
}
os
=
-nto-qnx
;;
mon960
)
mon960
)
basic_machine
=
i960-intel
basic_machine
=
i960-intel
os
=
-mon960
os
=
-mon960
...
...
include/m_ctype.h
View file @
609d7520
...
@@ -91,10 +91,10 @@ extern const char *compiled_charset_name(uint charset_number);
...
@@ -91,10 +91,10 @@ extern const char *compiled_charset_name(uint charset_number);
#define _U 01
/* Upper case */
#define _U 01
/* Upper case */
#define _L 02
/* Lower case */
#define _L 02
/* Lower case */
#define _N 04
/* Numeral (digit) */
#define _N
MR
04
/* Numeral (digit) */
#define _S 010
/* Spacing character */
#define _S
PC
010
/* Spacing character */
#define _P 020
/* Punctuation */
#define _P
NT
020
/* Punctuation */
#define _C 040
/* Control character */
#define _C
TR
040
/* Control character */
#define _B 0100
/* Blank */
#define _B 0100
/* Blank */
#define _X 0200
/* heXadecimal digit */
#define _X 0200
/* heXadecimal digit */
...
@@ -111,14 +111,14 @@ extern const char *compiled_charset_name(uint charset_number);
...
@@ -111,14 +111,14 @@ extern const char *compiled_charset_name(uint charset_number);
#define isalpha(c) ((my_ctype+1)[(uchar) (c)] & (_U | _L))
#define isalpha(c) ((my_ctype+1)[(uchar) (c)] & (_U | _L))
#define isupper(c) ((my_ctype+1)[(uchar) (c)] & _U)
#define isupper(c) ((my_ctype+1)[(uchar) (c)] & _U)
#define islower(c) ((my_ctype+1)[(uchar) (c)] & _L)
#define islower(c) ((my_ctype+1)[(uchar) (c)] & _L)
#define isdigit(c) ((my_ctype+1)[(uchar) (c)] & _N)
#define isdigit(c) ((my_ctype+1)[(uchar) (c)] & _N
MR
)
#define isxdigit(c) ((my_ctype+1)[(uchar) (c)] & _X)
#define isxdigit(c) ((my_ctype+1)[(uchar) (c)] & _X)
#define isalnum(c) ((my_ctype+1)[(uchar) (c)] & (_U | _L | _N))
#define isalnum(c) ((my_ctype+1)[(uchar) (c)] & (_U | _L | _N
MR
))
#define isspace(c) ((my_ctype+1)[(uchar) (c)] & _S)
#define isspace(c) ((my_ctype+1)[(uchar) (c)] & _S
PC
)
#define ispunct(c) ((my_ctype+1)[(uchar) (c)] & _P)
#define ispunct(c) ((my_ctype+1)[(uchar) (c)] & _P
NT
)
#define isprint(c) ((my_ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
| _B))
#define isprint(c) ((my_ctype+1)[(uchar) (c)] & (_P
NT | _U | _L | _NMR
| _B))
#define isgraph(c) ((my_ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
))
#define isgraph(c) ((my_ctype+1)[(uchar) (c)] & (_P
NT | _U | _L | _NMR
))
#define iscntrl(c) ((my_ctype+1)[(uchar) (c)] & _C)
#define iscntrl(c) ((my_ctype+1)[(uchar) (c)] & _C
TR
)
#define isascii(c) (!((c) & ~0177))
#define isascii(c) (!((c) & ~0177))
#define toascii(c) ((c) & 0177)
#define toascii(c) ((c) & 0177)
...
@@ -129,14 +129,14 @@ extern const char *compiled_charset_name(uint charset_number);
...
@@ -129,14 +129,14 @@ extern const char *compiled_charset_name(uint charset_number);
#define my_isalpha(s, c) (((s)->ctype+1)[(uchar) (c)] & (_U | _L))
#define my_isalpha(s, c) (((s)->ctype+1)[(uchar) (c)] & (_U | _L))
#define my_isupper(s, c) (((s)->ctype+1)[(uchar) (c)] & _U)
#define my_isupper(s, c) (((s)->ctype+1)[(uchar) (c)] & _U)
#define my_islower(s, c) (((s)->ctype+1)[(uchar) (c)] & _L)
#define my_islower(s, c) (((s)->ctype+1)[(uchar) (c)] & _L)
#define my_isdigit(s, c) (((s)->ctype+1)[(uchar) (c)] & _N)
#define my_isdigit(s, c) (((s)->ctype+1)[(uchar) (c)] & _N
MR
)
#define my_isxdigit(s, c) (((s)->ctype+1)[(uchar) (c)] & _X)
#define my_isxdigit(s, c) (((s)->ctype+1)[(uchar) (c)] & _X)
#define my_isalnum(s, c) (((s)->ctype+1)[(uchar) (c)] & (_U | _L | _N))
#define my_isalnum(s, c) (((s)->ctype+1)[(uchar) (c)] & (_U | _L | _N
MR
))
#define my_isspace(s, c) (((s)->ctype+1)[(uchar) (c)] & _S)
#define my_isspace(s, c) (((s)->ctype+1)[(uchar) (c)] & _S
PC
)
#define my_ispunct(s, c) (((s)->ctype+1)[(uchar) (c)] & _P)
#define my_ispunct(s, c) (((s)->ctype+1)[(uchar) (c)] & _P
NT
)
#define my_isprint(s, c) (((s)->ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
| _B))
#define my_isprint(s, c) (((s)->ctype+1)[(uchar) (c)] & (_P
NT | _U | _L | _NMR
| _B))
#define my_isgraph(s, c) (((s)->ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
))
#define my_isgraph(s, c) (((s)->ctype+1)[(uchar) (c)] & (_P
NT | _U | _L | _NMR
))
#define my_iscntrl(s, c) (((s)->ctype+1)[(uchar) (c)] & _C)
#define my_iscntrl(s, c) (((s)->ctype+1)[(uchar) (c)] & _C
TR
)
#define use_strcoll(s) ((s)->strcoll != NULL)
#define use_strcoll(s) ((s)->strcoll != NULL)
#define MY_STRXFRM_MULTIPLY (default_charset_info->strxfrm_multiply)
#define MY_STRXFRM_MULTIPLY (default_charset_info->strxfrm_multiply)
...
...
include/my_global.h
View file @
609d7520
...
@@ -132,6 +132,14 @@
...
@@ -132,6 +132,14 @@
/* #define _AIX32_CURSES */
/* XXX: this breaks AIX 4.3.3 (others?). */
/* #define _AIX32_CURSES */
/* XXX: this breaks AIX 4.3.3 (others?). */
#endif
#endif
#ifdef __QNXNTO__
#define HAVE_ERRNO_AS_DEFINE
#define HAVE_FCNTL_LOCK
#undef HAVE_SYS_UN_H
#undef HAVE_FINITE
#undef HAVE_RINT
#endif
#ifdef HAVE_BROKEN_SNPRINTF
/* HPUX 10.20 don't have this defined */
#ifdef HAVE_BROKEN_SNPRINTF
/* HPUX 10.20 don't have this defined */
#undef HAVE_SNPRINTF
#undef HAVE_SNPRINTF
#endif
#endif
...
...
readline/vi_mode.c
View file @
609d7520
...
@@ -136,7 +136,11 @@ static int rl_digit_loop1 ();
...
@@ -136,7 +136,11 @@ static int rl_digit_loop1 ();
void
void
_rl_vi_initialize_line
()
_rl_vi_initialize_line
()
{
{
#ifndef __QNXNTO__
register
uint
i
;
register
uint
i
;
#else
register
unsigned
int
i
;
#endif
for
(
i
=
0
;
i
<
(
int
)
sizeof
(
vi_mark_chars
)
/
sizeof
(
int
);
i
++
)
for
(
i
=
0
;
i
<
(
int
)
sizeof
(
vi_mark_chars
)
/
sizeof
(
int
);
i
++
)
vi_mark_chars
[
i
]
=
-
1
;
vi_mark_chars
[
i
]
=
-
1
;
...
...
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