os-posix: replace goto again with a proper loop
commitccea25f1c7cd3f0b12d878a5294620f5478729f8
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Oct 2014 14:37:16 +0000 (30 17:37 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 2 Nov 2014 07:04:34 +0000 (2 10:04 +0300)
tree1556e08c8704f09a147dedac0e4795483924b8ac
parent0be5e436ff2cd6b8a1ff6782e3cfd09441ff3ec7
os-posix: replace goto again with a proper loop

Eliminiate two fullwrite implementations with goto replacing them with
a proper do..while loop.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
os-posix.c