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
c56612d3
Commit
c56612d3
authored
Mar 13, 2002
by
jani@hynda.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0/
into hynda.mysql.fi:/home/my/bk/mysql-4.0-quick-fixes
parents
dcbe2415
609d7520
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 @
c56612d3
...
...
@@ -563,6 +563,15 @@ EOF
F301:UNIX_System_V:
*
:
*
)
echo
f301-fujitsu-uxpv
`
echo
$UNAME_RELEASE
|
sed
's/ .*//'
`
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:
*
:
*
)
echo
m68k-hp-netbsd
${
UNAME_RELEASE
}
exit
0
;;
...
...
config.sub
View file @
c56612d3
...
...
@@ -111,7 +111,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'
`
case
$maybe_os
in
linux-gnu
*
)
nto-qnx
*
|
linux-gnu
*
)
os
=
-
$maybe_os
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
;;
...
...
@@ -636,6 +636,20 @@ case $basic_machine in
basic_machine
=
i960-intel
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
)
basic_machine
=
i960-intel
os
=
-mon960
...
...
include/m_ctype.h
View file @
c56612d3
...
...
@@ -91,10 +91,10 @@ extern const char *compiled_charset_name(uint charset_number);
#define _U 01
/* Upper case */
#define _L 02
/* Lower case */
#define _N 04
/* Numeral (digit) */
#define _S 010
/* Spacing character */
#define _P 020
/* Punctuation */
#define _C 040
/* Control character */
#define _N
MR
04
/* Numeral (digit) */
#define _S
PC
010
/* Spacing character */
#define _P
NT
020
/* Punctuation */
#define _C
TR
040
/* Control character */
#define _B 0100
/* Blank */
#define _X 0200
/* heXadecimal digit */
...
...
@@ -111,14 +111,14 @@ extern const char *compiled_charset_name(uint charset_number);
#define isalpha(c) ((my_ctype+1)[(uchar) (c)] & (_U | _L))
#define isupper(c) ((my_ctype+1)[(uchar) (c)] & _U)
#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 isalnum(c) ((my_ctype+1)[(uchar) (c)] & (_U | _L | _N))
#define isspace(c) ((my_ctype+1)[(uchar) (c)] & _S)
#define ispunct(c) ((my_ctype+1)[(uchar) (c)] & _P)
#define isprint(c) ((my_ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
| _B))
#define isgraph(c) ((my_ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
))
#define iscntrl(c) ((my_ctype+1)[(uchar) (c)] & _C)
#define isalnum(c) ((my_ctype+1)[(uchar) (c)] & (_U | _L | _N
MR
))
#define isspace(c) ((my_ctype+1)[(uchar) (c)] & _S
PC
)
#define ispunct(c) ((my_ctype+1)[(uchar) (c)] & _P
NT
)
#define isprint(c) ((my_ctype+1)[(uchar) (c)] & (_P
NT | _U | _L | _NMR
| _B))
#define isgraph(c) ((my_ctype+1)[(uchar) (c)] & (_P
NT | _U | _L | _NMR
))
#define iscntrl(c) ((my_ctype+1)[(uchar) (c)] & _C
TR
)
#define isascii(c) (!((c) & ~0177))
#define toascii(c) ((c) & 0177)
...
...
@@ -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_isupper(s, c) (((s)->ctype+1)[(uchar) (c)] & _U)
#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_isalnum(s, c) (((s)->ctype+1)[(uchar) (c)] & (_U | _L | _N))
#define my_isspace(s, c) (((s)->ctype+1)[(uchar) (c)] & _S)
#define my_ispunct(s, c) (((s)->ctype+1)[(uchar) (c)] & _P)
#define my_isprint(s, c) (((s)->ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
| _B))
#define my_isgraph(s, c) (((s)->ctype+1)[(uchar) (c)] & (_P
| _U | _L | _N
))
#define my_iscntrl(s, c) (((s)->ctype+1)[(uchar) (c)] & _C)
#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
PC
)
#define my_ispunct(s, c) (((s)->ctype+1)[(uchar) (c)] & _P
NT
)
#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
NT | _U | _L | _NMR
))
#define my_iscntrl(s, c) (((s)->ctype+1)[(uchar) (c)] & _C
TR
)
#define use_strcoll(s) ((s)->strcoll != NULL)
#define MY_STRXFRM_MULTIPLY (default_charset_info->strxfrm_multiply)
...
...
include/my_global.h
View file @
c56612d3
...
...
@@ -132,6 +132,14 @@
/* #define _AIX32_CURSES */
/* XXX: this breaks AIX 4.3.3 (others?). */
#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 */
#undef HAVE_SNPRINTF
#endif
...
...
readline/vi_mode.c
View file @
c56612d3
...
...
@@ -136,7 +136,11 @@ static int rl_digit_loop1 ();
void
_rl_vi_initialize_line
()
{
#ifndef __QNXNTO__
register
uint
i
;
#else
register
unsigned
int
i
;
#endif
for
(
i
=
0
;
i
<
(
int
)
sizeof
(
vi_mark_chars
)
/
sizeof
(
int
);
i
++
)
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