diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-05-27 12:37:22 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-05-27 12:37:22 +0000 |
commit | 4c36ddbeecdde407c870109d70527640ca127ace (patch) | |
tree | 40c6f7c9e288d48045d2b2959943cf976a584c22 /match.c | |
parent | 2b6b4d539b0aab98b1cbb9d8c639cb12473aae94 (diff) | |
download | rsync-4c36ddbeecdde407c870109d70527640ca127ace.tar.gz |
heaps of cleanup in the io code.
we no longer use non-blocking IO, instead it uses select a lot more,
being careful to always allow for reading whenever a valid read fd is
available and chcking timeouts.
also split the file io calls into fileio.c
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -103,9 +103,6 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf, send_token(f,i,buf,last_match,n,i<0?0:s->sums[i].len); data_transfer += n; - if (n > 0) - write_flush(f); - if (i >= 0) n += s->sums[i].len; |