projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
osx_write: kill superfluous semaphore code
[paraslash.git]
/
stdout.c
diff --git
a/stdout.c
b/stdout.c
index
2e86fe9
..
1656bcc
100644
(file)
--- a/
stdout.c
+++ b/
stdout.c
@@
-82,6
+82,8
@@
void stdout_post_select(struct sched *s, struct task *t)
if (ret <= 0)
return;
*sot->loaded -= ret;
+ if (*sot->loaded)
+ memmove(sot->buf, sot->buf + ret, *sot->loaded);
t->ret = 1;
}