Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
9a634b93
...
9a634b93c85617fe56c4606f3a692a37437c4080
authored
2006-01-20 13:21:58 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(_file_write): Return ENOSPC if fwrite returns 0.
1 parent
070ac168
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
mailbox/file_stream.c
mailbox/file_stream.c
View file @
9a634b9
...
...
@@ -188,6 +188,8 @@ _file_write (mu_stream_t stream, const char *iptr, size_t isize,
{
if
(
feof
(
fs
->
file
)
==
0
)
err
=
EIO
;
else
if
(
n
==
0
)
err
=
ENOSPC
;
clearerr
(
fs
->
file
);
n
=
0
;
}
...
...
Please
register
or
sign in
to post a comment