hoist out handle_nonblock function for xread and xwrite
authorEric Wong <redacted>
Sun, 10 Jul 2016 08:20:46 +0000 (08:20 +0000)
committerJunio C Hamano <redacted>
Mon, 11 Jul 2016 16:51:45 +0000 (09:51 -0700)
commitd751dd11ae16fd4e2410d3a32c8e2d951fafc923
treed8733fde6f5074a46dc991fd6f4357f6ea6ec013
parentef1cf0167a362cd504afdcc0eef4c3200ea6dfbb
hoist out handle_nonblock function for xread and xwrite

At least for me, this improves the readability of xread and
xwrite; hopefully allowing missing "continue" statements to
be spotted more easily.

Signed-off-by: Eric Wong <redacted>
Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
wrapper.c
git clone https://git.99rst.org/PROJECT