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
16ccc192
Commit
16ccc192
authored
Jun 10, 2002
by
bar@gw.udmsearch.izhnet.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strto.c:
Fix for typos in system_charset_info
parent
9e77c6d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
strings/strto.c
strings/strto.c
+2
-2
No files found.
strings/strto.c
View file @
16ccc192
...
...
@@ -124,7 +124,7 @@ function (const char *nptr,char **endptr,int base)
{
if
(
*
s
==
'0'
)
{
if
(
my_toupper
(
system_charset_in
t
o
,
s
[
1
])
==
'X'
)
if
(
my_toupper
(
system_charset_in
f
o
,
s
[
1
])
==
'X'
)
{
s
+=
2
;
base
=
16
;
...
...
@@ -149,7 +149,7 @@ function (const char *nptr,char **endptr,int base)
if
(
my_isdigit
(
system_charset_info
,
c
))
c
-=
'0'
;
else
if
(
my_isalpha
(
system_charset_info
,
c
))
c
=
my_toupper
(
system_charset_in
t
o
,
c
)
-
'A'
+
10
;
c
=
my_toupper
(
system_charset_in
f
o
,
c
)
-
'A'
+
10
;
else
break
;
if
(
c
>=
base
)
...
...
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