Code

archive: use setvbuf() instead of setlinebuf()
authorMichal Rokos <michal.rokos@nextsoft.cz>
Tue, 21 Nov 2006 22:19:28 +0000 (23:19 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 22 Nov 2006 00:57:55 +0000 (16:57 -0800)
commitaa9098611fb53e4e9d33757102f96145946811f4
treee041a5861247b51c3e8c83f46bdbe6792fa914eb
parent69945602f95710f16ab4a5f8edfee38dc65555fa
archive: use setvbuf() instead of setlinebuf()

This tiny patch makes GIT compile again on HP-UX 11i.

[jc: The setlinebuf() is described as unportable to BSD before
 4.2; it's not even in POSIX, while setvbuf() is in ISO C.]

Signed-off-by: Michal Rokos <michal.rokos@nextsoft.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-archive.c