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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
af075e22
Commit
af075e22
authored
May 02, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667
parents
853f5413
28d799f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
strings/my_vsnprintf.c
strings/my_vsnprintf.c
+5
-1
No files found.
strings/my_vsnprintf.c
View file @
af075e22
...
...
@@ -99,7 +99,11 @@ int my_vsnprintf(char *to, size_t n, const char* fmt, va_list ap)
else
if
(
*
fmt
==
'b'
)
/* Buffer parameter */
{
char
*
par
=
va_arg
(
ap
,
char
*
);
to
=
memmove
(
to
,
par
,
abs
(
width
));
DBUG_ASSERT
(
to
<=
end
);
if
(
to
+
abs
(
width
)
+
1
>
end
)
width
=
end
-
to
-
1
;
/* sign doesn't matter */
memmove
(
to
,
par
,
abs
(
width
));
to
+=
width
;
continue
;
}
else
if
(
*
fmt
==
'd'
||
*
fmt
==
'u'
||
*
fmt
==
'x'
)
/* Integer parameter */
...
...
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