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
5daddce0
...
5daddce086859e863161ab4c411117e1cedeaabd
authored
2006-10-25 18:01:14 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use fseeko instead of fseek
1 parent
0534bc3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
mailbox/file_stream.c
mailbox/file_stream.c
View file @
5daddce
...
...
@@ -82,7 +82,7 @@ _file_read (mu_stream_t stream, char *optr, size_t osize,
if
(
fs
->
offset
!=
offset
)
{
if
(
fseek
(
fs
->
file
,
offset
,
SEEK_SET
)
!=
0
)
if
(
fseek
o
(
fs
->
file
,
offset
,
SEEK_SET
)
!=
0
)
return
errno
;
fs
->
offset
=
offset
;
}
...
...
@@ -126,7 +126,7 @@ _file_readline (mu_stream_t stream, char *optr, size_t osize,
if
(
fs
->
offset
!=
offset
)
{
if
(
fseek
(
fs
->
file
,
offset
,
SEEK_SET
)
!=
0
)
if
(
fseek
o
(
fs
->
file
,
offset
,
SEEK_SET
)
!=
0
)
return
errno
;
fs
->
offset
=
offset
;
}
...
...
@@ -178,7 +178,7 @@ _file_write (mu_stream_t stream, const char *iptr, size_t isize,
if
(
fs
->
offset
!=
offset
)
{
if
(
fseek
(
fs
->
file
,
offset
,
SEEK_SET
)
!=
0
)
if
(
fseek
o
(
fs
->
file
,
offset
,
SEEK_SET
)
!=
0
)
return
errno
;
fs
->
offset
=
offset
;
}
...
...
Please
register
or
sign in
to post a comment