author | Michal Rokos <michal.rokos@nextsoft.cz> | |
Tue, 21 Nov 2006 22:19:28 +0000 (23:19 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 22 Nov 2006 00:57:55 +0000 (16:57 -0800) | ||
commit | aa9098611fb53e4e9d33757102f96145946811f4 | |
tree | e041a5861247b51c3e8c83f46bdbe6792fa914eb | tree | snapshot |
parent | 69945602f95710f16ab4a5f8edfee38dc65555fa | commit | diff |
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>
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 | diff | blob | history |