git-mktag: be more careful in reading the input.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 29 May 2005 19:06:32 +0000 (12:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 29 May 2005 19:06:32 +0000 (12:06 -0700)
commitb97e3dfa7699776cd4bcc1a712e884992d757f40
treef94a915348a16710f7fe618d224c634f5a5e511a
parent8b7d510fb182ca40bd0f905bb2f5543b0d9549de
git-mktag: be more careful in reading the input.

Instead of always assuming it can be read with a single
read() system call, loop around properly.

Pointed out by Pasky, but I ended up implementing it differently
from his suggested patch.
mktag.c