]> Zhao Yanbai Git Server - minix.git/commit
LOG: fix bugs in userland write handler 36/3036/2
authorDavid van Moolenbroek <david@minix3.org>
Fri, 24 Jul 2015 20:54:27 +0000 (20:54 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 26 Jul 2015 11:56:36 +0000 (11:56 +0000)
commit818c405ae139c2477c949f24c5ba13747095f5bb
tree8537bf2099fabdb1be61a9811ce2522104c811ab
parent0184c635355385ecfd2c2f0b8233e074dea593e3
LOG: fix bugs in userland write handler

- report correct number of bytes written;
- correctly return partial writes on failure;
- do not overwrite result if there is a pending read.

Change-Id: I92aeeaee1eccb47c2aa2b6666a2f560c3cb17f42
minix/drivers/system/log/log.c