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
ae69a901
Commit
ae69a901
authored
Oct 24, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge
ssh://bk-internal.mysql.com//home/bk/mysql-5.0-maint
into polly.(none):/home/kaa/src/maint/mysql-5.0-maint
parents
4de3fdd7
c58cebf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mysys/my_write.c
mysys/my_write.c
+4
-0
No files found.
mysys/my_write.c
View file @
ae69a901
...
@@ -29,6 +29,10 @@ uint my_write(int Filedes, const byte *Buffer, uint Count, myf MyFlags)
...
@@ -29,6 +29,10 @@ uint my_write(int Filedes, const byte *Buffer, uint Count, myf MyFlags)
Filedes
,
(
long
)
Buffer
,
Count
,
MyFlags
));
Filedes
,
(
long
)
Buffer
,
Count
,
MyFlags
));
errors
=
0
;
written
=
0L
;
errors
=
0
;
written
=
0L
;
/* The behavior of write(fd, buf, 0) is not portable */
if
(
unlikely
(
!
Count
))
return
0
;
for
(;;)
for
(;;)
{
{
if
((
writenbytes
=
(
uint
)
write
(
Filedes
,
Buffer
,
Count
))
==
Count
)
if
((
writenbytes
=
(
uint
)
write
(
Filedes
,
Buffer
,
Count
))
==
Count
)
...
...
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