mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Fix build and apparent logic error
Approved by: portmgr blanket
This commit is contained in:
parent
6043c34602
commit
c783434de3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456987
11
sysutils/mdcp/files/patch-src_mdcp.cc
Normal file
11
sysutils/mdcp/files/patch-src_mdcp.cc
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user