1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00

Fix read lengths (bugfix in php-uv)

Also prepare tag 0.1.1
This commit is contained in:
Bob Weinand 2016-02-08 01:40:23 +01:00
parent 11d8c79db4
commit cb3b8e536b
2 changed files with 10 additions and 1 deletions

9
CHANGELOG Normal file
View File

@ -0,0 +1,9 @@
### 0.1.1
- UID / GID must be ignored when -1
- A bugfix in php-uv extension regarding lengths read was fixed; removed ugly workaround
0.1.0
-----
- Initial release

View File

@ -41,7 +41,7 @@ class UvHandle implements Handle {
$op->type = self::OP_READ;
$op->position = $this->position;
$op->promisor = $promisor;
$op->readLen = $readLen - 1;
$op->readLen = $readLen;
if ($this->isActive) {
$this->queue[] = $op;
} else {