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
c58cebf6
Commit
c58cebf6
authored
Oct 24, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge polly.(none):/home/kaa/src/maint/bug31566/my50-bug31566
into polly.(none):/home/kaa/src/maint/mysql-5.0-maint
parents
57d74b5c
b260e144
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 @
c58cebf6
...
@@ -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