waiting on the write semaphore). The write functions didn't change the buffer address on a partial write which could lead to corruption in the pipe data. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9111 a95241bf-73f2-0310-859d-f6bbb57e9c96