Date: Fri, 22 Dec 2017 15:39:32 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456987 - head/sysutils/mdcp/files Message-ID: <201712221539.vBMFdWOI005049@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Dec 22 15:39:32 2017 New Revision: 456987 URL: https://svnweb.freebsd.org/changeset/ports/456987 Log: - Fix build and apparent logic error Approved by: portmgr blanket Added: head/sysutils/mdcp/files/ head/sysutils/mdcp/files/patch-src_mdcp.cc (contents, props changed) Added: head/sysutils/mdcp/files/patch-src_mdcp.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mdcp/files/patch-src_mdcp.cc Fri Dec 22 15:39:32 2017 (r456987) @@ -0,0 +1,11 @@ +--- src/mdcp.cc.orig 2008-04-13 14:51:16 UTC ++++ src/mdcp.cc +@@ -136,7 +136,7 @@ void *readFile( void * ) + pthread_mutex_unlock( &buffer.lock[nb] ); + + buffer.used[nb] = read( arqIn, buffer.buff[nb], buffer.len ); +- if( buffer.used < 0 ) ++ if( buffer.used[nb] < 0 ) + { + buffer.used[nb] = 0; + end = true;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712221539.vBMFdWOI005049>