From owner-svn-ports-all@freebsd.org Fri Dec 22 15:39:33 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0603EA07D7; Fri, 22 Dec 2017 15:39:33 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8CC5E7B6B2; Fri, 22 Dec 2017 15:39:33 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBMFdW3Z005050; Fri, 22 Dec 2017 15:39:32 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBMFdWOI005049; Fri, 22 Dec 2017 15:39:32 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712221539.vBMFdWOI005049@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 22 Dec 2017 15:39:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456987 - head/sysutils/mdcp/files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/sysutils/mdcp/files X-SVN-Commit-Revision: 456987 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 15:39:33 -0000 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;