Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
7b5c3eb0
Commit
7b5c3eb0
authored
Jan 25, 2002
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
io_end_buffering doesn't need (or use) it's fd parameter: there's only
one multiplexed stream.
parent
0feec72e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
io.c
io.c
+2
-3
No files found.
io.c
View file @
7b5c3eb0
...
...
@@ -527,8 +527,7 @@ void io_flush(void)
}
/* XXX: fd is ignored, which seems a little strange. */
void
io_end_buffering
(
int
fd
)
void
io_end_buffering
(
void
)
{
io_flush
();
if
(
!
io_multiplexing_out
)
{
...
...
@@ -549,7 +548,7 @@ static void writefd(int fd,char *buf,size_t len)
}
while
(
len
)
{
int
n
=
MIN
(
len
,
IO_BUFFER_SIZE
-
io_buffer_count
);
int
n
=
MIN
(
(
int
)
len
,
IO_BUFFER_SIZE
-
io_buffer_count
);
if
(
n
>
0
)
{
memcpy
(
io_buffer
+
io_buffer_count
,
buf
,
n
);
buf
+=
n
;
...
...
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