search for: thisret

Displaying 2 results from an estimated 2 matches for "thisret".

2003 Jan 03
0
[Fwd: Re: rsync windows -> unix still hanging :(]
...eBufCnt; > } > memcpy(writeBuf + writeBufCnt, buf, copyLen); > writeBufCnt += copyLen; > buf += copyLen; > len -= copyLen; > } > if ( !buf || writeBufCnt == writeBufSize ) { > int thisRet = write(f, writeBuf, writeBufCnt); > if ( thisRet < 0 ) return thisRet; > writeBufCnt = 0; > } > } while ( buf && len > 0 ); > return ret; Index: flist.c ================================================================...
2002 Dec 09
2
Rsync performance increase through buffering
...= len; + if ( copyLen > writeBufSize - writeBufCnt ) { + copyLen = writeBufSize - writeBufCnt; + } + memcpy(writeBuf + writeBufCnt, buf, copyLen); + writeBufCnt += copyLen; + buf += copyLen; + len -= copyLen; + } + if ( !buf || writeBufCnt == writeBufSize ) { + int thisRet = write(f, writeBuf, writeBufCnt); + if ( thisRet < 0 ) return thisRet; + writeBufCnt = 0; + } + } while ( buf && len > 0 ); + return ret; } while (len>0) { diff -bur rsync/flist.c rsync-craig/flist.c --- rsync/flist.c Sat Jul 27 11:01:21 2002 +++ rsync-craig/flist...